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: 2 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) ExchangeBind

func (_m *Channel) ExchangeBind(destination string, key string, source string, noWait bool, args amqp.Table) error

ExchangeBind provides a mock function with given fields: destination, key, source, noWait, args

func (*Channel) ExchangeDeclare

func (_m *Channel) ExchangeDeclare(name string, kind string, durable bool, autoDelete bool, internal bool, noWait bool, args amqp.Table) error

ExchangeDeclare provides a mock function with given fields: name, kind, durable, autoDelete, internal, noWait, args

func (*Channel) QueueBind

func (_m *Channel) QueueBind(name string, key string, exchange string, noWait bool, args amqp.Table) error

QueueBind provides a mock function with given fields: name, key, exchange, noWait, args

func (*Channel) QueueDeclare

func (_m *Channel) QueueDeclare(name string, durable bool, autoDelete bool, exclusive bool, noWait bool, args amqp.Table) (amqp.Queue, error)

QueueDeclare provides a mock function with given fields: name, durable, autoDelete, exclusive, noWait, args

func (*Channel) Tx

func (_m *Channel) Tx() error

Tx provides a mock function with given fields:

func (*Channel) TxCommit

func (_m *Channel) TxCommit() error

TxCommit provides a mock function with given fields:

func (*Channel) TxRollback

func (_m *Channel) TxRollback() error

TxRollback 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