mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	mock.Mock
}

Channel is an autogenerated mock type for the Channel type

func (*Channel) Close

func (_m *Channel) Close() error

Close provides a mock function with given fields:

func (*Channel) Consume

func (_m *Channel) Consume(queue string, name string, autoAck bool, exclusive bool, noLocal bool, noWait bool, args amqp.Table) (<-chan amqp.Delivery, error)

Consume provides a mock function with given fields: queue, name, autoAck, exclusive, noLocal, noWait, args

func (*Channel) Qos

func (_m *Channel) Qos(prefetchCount int, prefetchSize int, global bool) error

Qos provides a mock function with given fields: prefetchCount, prefetchSize, global

type Closer

type Closer struct {
	mock.Mock
}

Closer is an autogenerated mock type for the Closer type

func (*Closer) Close

func (_m *Closer) Close(_a0 context.Context) error

Close provides a mock function with given fields: _a0

func (*Closer) Closed

func (_m *Closer) Closed() <-chan error

Closed provides a mock function with given fields:

type Connection

type Connection struct {
	mock.Mock
}

Connection is an autogenerated mock type for the Connection type

func (*Connection) Channel

func (_m *Connection) Channel() (*amqp.Channel, error)

Channel provides a mock function with given fields:

func (*Connection) Close

func (_m *Connection) Close() error

Close provides a mock function with given fields:

Jump to

Keyboard shortcuts

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