Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientFactory ¶
ClientFactory is an autogenerated mock type for the ClientFactory type
func (*ClientFactory) GetConsumer ¶
func (_m *ClientFactory) GetConsumer(client cherami.Client, config internal.ConsumerConfig) (cherami.Consumer, chan cherami.Delivery, error)
GetConsumer provides a mock function with given fields: client, config
func (*ClientFactory) GetPublisher ¶
func (_m *ClientFactory) GetPublisher(client cherami.Client, destination string) (cherami.Publisher, error)
GetPublisher provides a mock function with given fields: client, destination
type Consumer ¶
Consumer is an autogenerated mock type for the Consumer type
func (*Consumer) AckDelivery ¶
AckDelivery provides a mock function with given fields: deliveryToken
func (*Consumer) Close ¶
func (_m *Consumer) Close()
Close provides a mock function with given fields:
func (*Consumer) NackDelivery ¶
NackDelivery provides a mock function with given fields: deliveryToken
type Publisher ¶
Publisher is an autogenerated mock type for the Publisher type
func (*Publisher) Close ¶
func (_m *Publisher) Close()
Close provides a mock function with given fields:
func (*Publisher) Publish ¶
func (_m *Publisher) Publish(message *cherami.PublisherMessage) *cherami.PublisherReceipt
Publish provides a mock function with given fields: message
func (*Publisher) PublishAsync ¶
func (_m *Publisher) PublishAsync(message *cherami.PublisherMessage, done chan<- *cherami.PublisherReceipt) (string, error)
PublishAsync provides a mock function with given fields: message, done