communications

package
v4.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerMock

type BrokerMock struct {
	mock.Mock
}

func (*BrokerMock) AddQueue

func (broker *BrokerMock) AddQueue(queue *messages.Queue) error

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) AddRouter

func (broker *BrokerMock) AddRouter(router *messages.Router) error

func (*BrokerMock) PublishMessages

func (broker *BrokerMock) PublishMessages(messages []*messages.Message) error

type ConsumerMock

type ConsumerMock struct {
	mock.Mock
}

func (*ConsumerMock) On

func (consumer *ConsumerMock) On(message *messages.Message) error

func (*ConsumerMock) SubscribedTo

func (consumer *ConsumerMock) SubscribedTo() []*messages.Queue

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL