Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config = config.BrokerConfig
type MemoryBroker ¶
func NewMemoryBroker ¶
func NewMemoryBroker() (*MemoryBroker, error)
func (*MemoryBroker) SendEvent ¶
func (mb *MemoryBroker) SendEvent(event Event) error
type NoneBroker ¶
type NoneBroker struct{}
func NewNoneBroker ¶
func NewNoneBroker() *NoneBroker
func (*NoneBroker) Close ¶
func (n *NoneBroker) Close()
func (*NoneBroker) SendEvent ¶
func (n *NoneBroker) SendEvent(event Event) error
type RabbitMQClient ¶
type RabbitMQClient struct {
// contains filtered or unexported fields
}
func NewRabbitMqClient ¶
func NewRabbitMqClient(cfg Config) (*RabbitMQClient, error)
func (*RabbitMQClient) Close ¶
func (mq *RabbitMQClient) Close()
func (*RabbitMQClient) SendEvent ¶
func (mq *RabbitMQClient) SendEvent(event Event) error
Click to show internal directories.
Click to hide internal directories.