Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsumerStream ¶
type NATSPubSub ¶ added in v1.0.6
type NATSPubSub interface { pubsub.PubSub AddStream(name string, raw json.RawMessage) error AddConsumer(name string, stream string, raw json.RawMessage) error PullSubscribe(consumer string, stream string, callback pubsub.MessageHandler) error }
func NewNATSPubSub ¶ added in v1.0.6
func NewNATSPubSub(cfg conf.Instance) (NATSPubSub, error)
Click to show internal directories.
Click to hide internal directories.