Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
Consumer is an autogenerated mock type for the Consumer type
func NewConsumer ¶
NewConsumer creates a new instance of Consumer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type InboundMessageHandler ¶
InboundMessageHandler is an autogenerated mock type for the InboundMessageHandler type
func NewInboundMessageHandler ¶
func NewInboundMessageHandler(t interface {
mock.TestingT
Cleanup(func())
}) *InboundMessageHandler
NewInboundMessageHandler creates a new instance of InboundMessageHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*InboundMessageHandler) HandleMessage ¶
func (_m *InboundMessageHandler) HandleMessage(ctx context.Context, m goqueue.InboundMessage) error
HandleMessage provides a mock function with given fields: ctx, m
type Publisher ¶
Publisher is an autogenerated mock type for the Publisher type
func NewPublisher ¶
NewPublisher creates a new instance of Publisher. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
type PublisherHandler ¶
PublisherHandler is an autogenerated mock type for the PublisherHandler type
func NewPublisherHandler ¶
func NewPublisherHandler(t interface {
mock.TestingT
Cleanup(func())
}) *PublisherHandler
NewPublisherHandler creates a new instance of PublisherHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.