An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

proxy.golang.org : github.com/johnsiilver/broadcaster

Package broadcaster provides a way to broadcast messages to receivers that can then wake up and take some action based on the contents of the message. Sending and receiving is done via paths. Paths are unix filesystem like paths where each entry in the path represents a directory and the end of the path represents a file or directory. Receivers can subscribe to a path and all messages sent to that path or a path with a wildcard ending where the wildcard matches the path will be sent to the receiver. If the receiver has a full queue, the oldest message will be dropped from the queue to make room. Queue size can be adjusted for all receivers. It is safe for concurrent use. Example, all receivers will receive a message: Example, all receivers for directory foo/bar and any direct child of foo/bar will receive the message: Example, only the exact path will receive the message:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/johnsiilver/broadcaster
License: MIT
Latest release: over 1 year ago
First release: over 1 year ago
Namespace: github.com/johnsiilver
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 2 months ago

    Loading...
    Readme
    Loading...