Documentation ¶
Overview ¶
Package broker provider kafka or other mq interface
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BrokerProvider = wire.NewSet(NewConfiguration, NewBroker)
BrokerProvider
Functions ¶
Types ¶
type Broker ¶
type Broker struct {
// contains filtered or unexported fields
}
Broker broker for message queue.
type Handler ¶
type Handler func(Publication) error
Handler is used to process messages via a subscription of a topic.
type Publication ¶
Publication is given to a subscription handler for processing.
Click to show internal directories.
Click to hide internal directories.