Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type EventHandler ¶
type EventHandler struct {
// contains filtered or unexported fields
}
func NewEventHandler ¶
func NewEventHandler() *EventHandler
func (*EventHandler) CloseConsumer ¶
func (e *EventHandler) CloseConsumer()
func (*EventHandler) CloseProducer ¶
func (e *EventHandler) CloseProducer()
func (*EventHandler) Consume ¶
func (e *EventHandler) Consume(topics []string, callback func(kafka.Message))
func (*EventHandler) Flush ¶
func (e *EventHandler) Flush(timeoutMs int)
type OrderListener ¶
type OrderListener struct {
// contains filtered or unexported fields
}
func NewOrderListener ¶
func NewOrderListener() *OrderListener
func (*OrderListener) Listen ¶
func (l *OrderListener) Listen()
func (*OrderListener) NotifyVendor ¶
func (l *OrderListener) NotifyVendor(o domain.OrderModel)
Click to show internal directories.
Click to hide internal directories.