Documentation ¶
Index ¶
- func MockConsumer(setup func(m *msgmocks.Consumer)) *msgmocks.Consumer
- func MockMessageReceiver(setup func(m *msgmocks.MessageReceiver)) *msgmocks.MessageReceiver
- func MockProducer(setup func(m *msgmocks.Producer)) *msgmocks.Producer
- func MockReplyMessagePublisher(setup func(m *msgmocks.ReplyMessagePublisher)) *msgmocks.ReplyMessagePublisher
- type Command
- type Entity
- type Event
- type Reply
- type UnregisteredCommand
- type UnregisteredEvent
- type UnregisteredReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MockConsumer ¶ added in v1.2.19
func MockMessageReceiver ¶ added in v1.2.19
func MockMessageReceiver(setup func(m *msgmocks.MessageReceiver)) *msgmocks.MessageReceiver
func MockProducer ¶ added in v1.2.19
func MockReplyMessagePublisher ¶
func MockReplyMessagePublisher(setup func(m *msgmocks.ReplyMessagePublisher)) *msgmocks.ReplyMessagePublisher
Types ¶
type Command ¶ added in v1.2.19
type Command struct{ Value string }
func (Command) CommandName ¶ added in v1.2.19
func (Command) DestinationChannel ¶ added in v1.2.19
type Entity ¶ added in v1.2.19
func (Entity) DestinationChannel ¶ added in v1.2.19
type Event ¶ added in v1.2.19
type Event struct{ Value string }
func (Event) DestinationChannel ¶ added in v1.2.19
type Reply ¶ added in v1.2.19
type Reply struct{ Value string }
func (Reply) DestinationChannel ¶ added in v1.2.19
type UnregisteredCommand ¶ added in v1.2.19
type UnregisteredCommand struct{ Value string }
func (UnregisteredCommand) CommandName ¶ added in v1.2.19
func (UnregisteredCommand) CommandName() string
func (UnregisteredCommand) DestinationChannel ¶ added in v1.2.19
func (UnregisteredCommand) DestinationChannel() string
type UnregisteredEvent ¶ added in v1.2.19
type UnregisteredEvent struct{ Value string }
func (UnregisteredEvent) DestinationChannel ¶ added in v1.2.19
func (UnregisteredEvent) DestinationChannel() string
func (UnregisteredEvent) EventName ¶ added in v1.2.19
func (UnregisteredEvent) EventName() string
type UnregisteredReply ¶ added in v1.2.19
type UnregisteredReply struct{ Value string }
func (UnregisteredReply) DestinationChannel ¶ added in v1.2.19
func (UnregisteredReply) DestinationChannel() string
func (UnregisteredReply) ReplyName ¶ added in v1.2.19
func (UnregisteredReply) ReplyName() string
Click to show internal directories.
Click to hide internal directories.