mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 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 Listener

type Listener struct {
	mock.Mock
}

Listener is an autogenerated mock type for the Listener type

func (*Listener) Listen

func (_m *Listener) Listen() (<-chan amqp.Delivery, error)

Listen provides a mock function with given fields:

type Publisher

type Publisher struct {
	mock.Mock
}

Publisher is an autogenerated mock type for the Publisher type

func (*Publisher) Close

func (_m *Publisher) Close() error

Close provides a mock function with given fields:

func (*Publisher) Publish

func (_m *Publisher) Publish(body []byte, contentType string) error

Publish provides a mock function with given fields: body, contentType

Jump to

Keyboard shortcuts

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