Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSubClient ¶
type PubSubClient struct { Notifications chan []string // contains filtered or unexported fields }
func New ¶
func New(confCtx *config.Context) *PubSubClient
func (*PubSubClient) Close ¶
func (p *PubSubClient) Close()
func (*PubSubClient) Publish ¶
func (p *PubSubClient) Publish(topic string, message string)
guaranteed to never block, but can lose all but the latest message per topic
func (*PubSubClient) Subscribe ¶
func (p *PubSubClient) Subscribe(topic string)
Click to show internal directories.
Click to hide internal directories.