mocks

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PureNatsConnI

type PureNatsConnI struct {
	mock.Mock
}

PureNatsConnI is an autogenerated mock type for the PureNatsConnI type

func (*PureNatsConnI) Close

func (_m *PureNatsConnI) Close()

Close provides a mock function with given fields:

func (*PureNatsConnI) Drain

func (_m *PureNatsConnI) Drain() error

Drain provides a mock function with given fields:

func (*PureNatsConnI) QueueSubscribe

func (_m *PureNatsConnI) QueueSubscribe(_a0 string, _a1 string, _a2 nats.MsgHandler) (*nats.Subscription, error)

QueueSubscribe provides a mock function with given fields: _a0, _a1, _a2

func (*PureNatsConnI) RequestWithContext

func (_m *PureNatsConnI) RequestWithContext(_a0 context.Context, _a1 string, _a2 []byte) (*nats.Msg, error)

RequestWithContext provides a mock function with given fields: _a0, _a1, _a2

func (*PureNatsConnI) Subscribe

func (_m *PureNatsConnI) Subscribe(_a0 string, _a1 nats.MsgHandler) (*nats.Subscription, error)

Subscribe provides a mock function with given fields: _a0, _a1

Jump to

Keyboard shortcuts

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