Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pubsub ¶
type Pubsub interface { Subscribe(queueid string, worker func(msgdata []byte)) (Subscription, error) SubscribeGroup(queueid, queuegroup string, worker func(msgdata []byte)) (Subscription, error) Publish(queueid string, msgdata []byte) error }
Pubsub is a service wrapper around a nats pub sub client
type Subscription ¶
type Subscription interface {
Close() error
}
Click to show internal directories.
Click to hide internal directories.