Documentation ¶
Index ¶
- type ClientFactory
- type Consumer
- type Publisher
- func (_m *Publisher) Close()
- func (_m *Publisher) Open() error
- func (_m *Publisher) Pause()
- func (_m *Publisher) Publish(message *cherami.PublisherMessage) *cherami.PublisherReceipt
- func (_m *Publisher) PublishAsync(message *cherami.PublisherMessage, done chan<- *cherami.PublisherReceipt) (string, error)
- func (_m *Publisher) Resume()
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) Pause ¶ added in v1.9.0
func (_m *Publisher) Pause()
Pause 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