Documentation ¶
Index ¶
Constants ¶
View Source
const ( SubscribeBuffer = 1 SubscriptionName = "events" )
Variables ¶
This section is empty.
Functions ¶
func NewNATSConnection ¶
func NewNATSConnection() (*nats.EncodedConn, error)
Types ¶
type NATSBus ¶
type NATSBus struct {
// contains filtered or unexported fields
}
func NewNATSBus ¶
func NewNATSBus(nc *nats.EncodedConn) *NATSBus
func (*NATSBus) Unsubscribe ¶
Click to show internal directories.
Click to hide internal directories.