mocks

package
v0.0.0-...-b77cb3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) Close

func (_m *Client) Close()

Close provides a mock function with given fields:

func (*Client) CreateConsumer

func (_m *Client) CreateConsumer(topic string, subscriptionName string) (messaging.Consumer, error)

CreateConsumer provides a mock function with given fields: topic, subscriptionName

func (*Client) CreateProducer

func (_m *Client) CreateProducer(topic string) (messaging.Producer, error)

CreateProducer provides a mock function with given fields: topic

type Consumer

type Consumer struct {
	mock.Mock
}

Consumer is an autogenerated mock type for the Consumer type

func (*Consumer) Close

func (_m *Consumer) Close()

Close provides a mock function with given fields:

func (*Consumer) Receive

func (_m *Consumer) Receive() ([]byte, error)

Receive provides a mock function with given fields:

type Producer

type Producer struct {
	mock.Mock
}

Producer is an autogenerated mock type for the Producer type

func (*Producer) Close

func (_m *Producer) Close()

Close provides a mock function with given fields:

func (*Producer) Send

func (_m *Producer) Send(payload []byte) error

Send provides a mock function with given fields: payload

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL