proxy.golang.org : github.com/Automattic/pinghub
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
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/%21automattic/pinghub
License: GPL-2.0
Latest release: over 9 years ago
First release: over 9 years ago
Namespace: github.com/Automattic
Stars: 17 on GitHub
Forks: 4 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 2 days ago