Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Broker ¶
type Broker interface { Publish(ctx context.Context, topic string, message []byte) error Subscribe(topic string, handler EventHandler) error }
func NewApmBroker ¶
func NewKafkaBroker ¶
func NewNatsBroker ¶
type EventHandler ¶
type EventHandler func([]byte)
Click to show internal directories.
Click to hide internal directories.