Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubChannel ¶
type PubChannel struct { Ch chan interface{} // contains filtered or unexported fields }
PubChannel abstracts zmqpubsub.Publisher using Go's channels. Unlike zmqpubsub, senders can be any goroutine.
func New ¶
func New(key string, stopCh chan bool) *PubChannel
Click to show internal directories.
Click to hide internal directories.