Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Publisher ¶
type Publisher struct {
Producer sarama.SyncProducer
}
func NewPublisher ¶
func NewPublisher(producer sarama.SyncProducer) *Publisher
type Subscriber ¶
type Subscriber struct {
// contains filtered or unexported fields
}
func NewSubscriber ¶
func NewSubscriber(consumerGroup sarama.ConsumerGroup) *Subscriber
func (*Subscriber) AddHandler ¶
func (s *Subscriber) AddHandler(eventTypes []string, handler go_events.SubscriberHandlerFunc) error
Click to show internal directories.
Click to hide internal directories.