proxy.golang.org : github.com/automattic/pinghub : v0.1.1
Package pinghub serves as a simple message bus (pubsub) over websockets. Everything is as ephemeral as can be. A message is sent to connected subscribers (if any) and then forgotten. A channel is forgotten when its last subscriber disconnects. Subscribe to a channel by opening a websocket to a valid path. Publish by sending a plain text websocket message (valid UTF-8). Publish by POSTing to the same path with a plain text body. Messages are sent to all subscribers connected to the path, regardless of whether they were also the sender. Paths and messages must be valid UTF-8. Paths can be 1-256 characters. Message length should be limited but it is not. Non-websocket GET requests are served HTML with a websocket client that connects to the requested path.
Registry -
Documentation -
Download -
JSON -
codemeta.json
purl: pkg:golang/github.com/automattic/pinghub@v0.1.1
Published:
Indexed: