Documentation
¶
Index ¶
- type Command
- type CommandDispatcherOption
- type CommandHandlerFunc
- type CommandMessagePublisher
- type Consumer
- type DomainCommand
- type DomainEvent
- type EntityEvent
- type EntityEventDispatcherOption
- type EntityEventHandlerFunc
- type EntityEventMessagePublisher
- type Event
- type EventDispatcherOption
- type EventHandlerFunc
- type EventMessagePublisher
- type Message
- type MessagePublisher
- type MessageReceiver
- type MessageSubscriber
- type Producer
- type PublisherOption
- type ReceiveMessageFunc
- type Reply
- type ReplyMessagePublisher
- type SubscriberOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command is an autogenerated mock type for the Command type
type CommandDispatcherOption ¶
CommandDispatcherOption is an autogenerated mock type for the CommandDispatcherOption type
func (*CommandDispatcherOption) Execute ¶
func (_m *CommandDispatcherOption) Execute(consumer *msg.CommandDispatcher)
Execute provides a mock function with given fields: consumer
type CommandHandlerFunc ¶
CommandHandlerFunc is an autogenerated mock type for the CommandHandlerFunc type
type CommandMessagePublisher ¶
CommandMessagePublisher is an autogenerated mock type for the CommandMessagePublisher type
func (*CommandMessagePublisher) PublishCommand ¶
func (_m *CommandMessagePublisher) PublishCommand(ctx context.Context, replyChannel string, command core.Command, options ...msg.MessageOption) error
PublishCommand provides a mock function with given fields: ctx, replyChannel, command, options
type Consumer ¶
Consumer is an autogenerated mock type for the Consumer type
type DomainCommand ¶
DomainCommand is an autogenerated mock type for the DomainCommand type
func (*DomainCommand) CommandName ¶
func (_m *DomainCommand) CommandName() string
CommandName provides a mock function with given fields:
func (*DomainCommand) DestinationChannel ¶
func (_m *DomainCommand) DestinationChannel() string
DestinationChannel provides a mock function with given fields:
type DomainEvent ¶
DomainEvent is an autogenerated mock type for the DomainEvent type
func (*DomainEvent) DestinationChannel ¶
func (_m *DomainEvent) DestinationChannel() string
DestinationChannel provides a mock function with given fields:
func (*DomainEvent) EventName ¶
func (_m *DomainEvent) EventName() string
EventName provides a mock function with given fields:
type EntityEvent ¶
EntityEvent is an autogenerated mock type for the EntityEvent type
func (*EntityEvent) EntityID ¶
func (_m *EntityEvent) EntityID() string
EntityID provides a mock function with given fields:
func (*EntityEvent) EntityName ¶
func (_m *EntityEvent) EntityName() string
EntityName provides a mock function with given fields:
func (*EntityEvent) Event ¶
func (_m *EntityEvent) Event() core.Event
Event provides a mock function with given fields:
func (*EntityEvent) Headers ¶
func (_m *EntityEvent) Headers() msg.Headers
Headers provides a mock function with given fields:
type EntityEventDispatcherOption ¶
EntityEventDispatcherOption is an autogenerated mock type for the EntityEventDispatcherOption type
func (*EntityEventDispatcherOption) Execute ¶
func (_m *EntityEventDispatcherOption) Execute(consumer *msg.EntityEventDispatcher)
Execute provides a mock function with given fields: consumer
type EntityEventHandlerFunc ¶
EntityEventHandlerFunc is an autogenerated mock type for the EntityEventHandlerFunc type
func (*EntityEventHandlerFunc) Execute ¶
func (_m *EntityEventHandlerFunc) Execute(_a0 context.Context, _a1 msg.EntityEvent) error
Execute provides a mock function with given fields: _a0, _a1
type EntityEventMessagePublisher ¶
EntityEventMessagePublisher is an autogenerated mock type for the EntityEventMessagePublisher type
func (*EntityEventMessagePublisher) PublishEntityEvents ¶
func (_m *EntityEventMessagePublisher) PublishEntityEvents(ctx context.Context, entity core.Entity, options ...msg.MessageOption) error
PublishEntityEvents provides a mock function with given fields: ctx, entity, options
type Event ¶
Event is an autogenerated mock type for the Event type
type EventDispatcherOption ¶
EventDispatcherOption is an autogenerated mock type for the EventDispatcherOption type
func (*EventDispatcherOption) Execute ¶
func (_m *EventDispatcherOption) Execute(consumer *msg.EventDispatcher)
Execute provides a mock function with given fields: consumer
type EventHandlerFunc ¶
EventHandlerFunc is an autogenerated mock type for the EventHandlerFunc type
type EventMessagePublisher ¶
EventMessagePublisher is an autogenerated mock type for the EventMessagePublisher type
func (*EventMessagePublisher) PublishEvent ¶
func (_m *EventMessagePublisher) PublishEvent(ctx context.Context, event core.Event, options ...msg.MessageOption) error
PublishEvent provides a mock function with given fields: ctx, event, options
type Message ¶
Message is an autogenerated mock type for the Message type
type MessagePublisher ¶
MessagePublisher is an autogenerated mock type for the MessagePublisher type
type MessageReceiver ¶
MessageReceiver is an autogenerated mock type for the MessageReceiver type
func (*MessageReceiver) ReceiveMessage ¶
ReceiveMessage provides a mock function with given fields: _a0, _a1
type MessageSubscriber ¶
MessageSubscriber is an autogenerated mock type for the MessageSubscriber type
func (*MessageSubscriber) Subscribe ¶
func (_m *MessageSubscriber) Subscribe(channel string, receiver msg.MessageReceiver)
Subscribe provides a mock function with given fields: channel, receiver
type Producer ¶
Producer is an autogenerated mock type for the Producer type
type PublisherOption ¶
PublisherOption is an autogenerated mock type for the PublisherOption type
func (*PublisherOption) Execute ¶
func (_m *PublisherOption) Execute(_a0 *msg.Publisher)
Execute provides a mock function with given fields: _a0
type ReceiveMessageFunc ¶
ReceiveMessageFunc is an autogenerated mock type for the ReceiveMessageFunc type
type Reply ¶
Reply is an autogenerated mock type for the Reply type
type ReplyMessagePublisher ¶
ReplyMessagePublisher is an autogenerated mock type for the ReplyMessagePublisher type
func (*ReplyMessagePublisher) PublishReply ¶
func (_m *ReplyMessagePublisher) PublishReply(ctx context.Context, reply core.Reply, options ...msg.MessageOption) error
PublishReply provides a mock function with given fields: ctx, reply, options
type SubscriberOption ¶
SubscriberOption is an autogenerated mock type for the SubscriberOption type
func (*SubscriberOption) Execute ¶
func (_m *SubscriberOption) Execute(_a0 *msg.Subscriber)
Execute provides a mock function with given fields: _a0
Source Files
¶
- command.go
- command_dispatcher_option.go
- command_handler_func.go
- command_message_publisher.go
- consumer.go
- domain_command.go
- domain_event.go
- entity_event.go
- entity_event_dispatcher_option.go
- entity_event_handler_func.go
- entity_event_message_publisher.go
- event.go
- event_dispatcher_option.go
- event_handler_func.go
- event_message_publisher.go
- message.go
- message_publisher.go
- message_receiver.go
- message_subscriber.go
- producer.go
- publisher_option.go
- receive_message_func.go
- reply.go
- reply_message_publisher.go
- subscriber_option.go