Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewProducer, NewConsumerServer)
ProviderSet is kafka providers.
Functions ¶
This section is empty.
Types ¶
type ConsumerServer ¶
type ConsumerServer struct {
// contains filtered or unexported fields
}
func NewConsumerServer ¶
func NewConsumerServer(conf *conf.Kafka, obs observer.ChatsObserver, logger log.Logger) *ConsumerServer
type MessagesProducer ¶
func NewProducer ¶
func NewProducer(conf *conf.Kafka, logger log.Logger) (MessagesProducer, func())
Click to show internal directories.
Click to hide internal directories.