Documentation ¶
Overview ¶
Package pub implements the PUB protocol. This protocol publishes messages to subscribers (SUB peers). The subscribers will filter incoming messages from the publisher based on their subscription.
Index ¶
Constants ¶
View Source
const ( Self = protocol.ProtoPub Peer = protocol.ProtoSub SelfName = "pub" PeerName = "sub" )
Protocol identity information.
Variables ¶
This section is empty.
Functions ¶
func NewProtocol ¶
NewProtocol returns a new protocol implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.