Documentation ¶
Index ¶
- type BrokerMock
- func (broker *BrokerMock) AddQueue(queue *messages.Queue) error
- func (broker *BrokerMock) AddQueueConsumer(consumer messages.Consumer) error
- func (broker *BrokerMock) AddQueueMessageBind(queue *messages.Queue, bindingKeys []string) error
- func (broker *BrokerMock) AddRouter(router *messages.Router) error
- func (broker *BrokerMock) PublishMessages(messages []*messages.Message) error
- type ConsumerMock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrokerMock ¶
func (*BrokerMock) AddQueueConsumer ¶
func (broker *BrokerMock) AddQueueConsumer(consumer messages.Consumer) error
func (*BrokerMock) AddQueueMessageBind ¶
func (broker *BrokerMock) AddQueueMessageBind(queue *messages.Queue, bindingKeys []string) error
func (*BrokerMock) PublishMessages ¶
func (broker *BrokerMock) PublishMessages(messages []*messages.Message) error
type ConsumerMock ¶
func (*ConsumerMock) SubscribedTo ¶
func (consumer *ConsumerMock) SubscribedTo() []*messages.Queue
Click to show internal directories.
Click to hide internal directories.