mocks

package
v1.66.4 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: BSD-3-Clause Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) CloseQueue

func (_m *Client) CloseQueue() (*types.Reply, error)

CloseQueue provides a mock function with given fields:

func (*Client) FreeMessage added in v1.65.0

func (_m *Client) FreeMessage(msg ...*queue.Message)

FreeMessage provides a mock function with given fields: msg

func (*Client) GetConfig

func (_m *Client) GetConfig() *types.Chain33Config

GetConfig provides a mock function with given fields:

func (*Client) NewMessage

func (_m *Client) NewMessage(topic string, ty int64, data interface{}) *queue.Message

NewMessage provides a mock function with given fields: topic, ty, data

func (*Client) Recv

func (_m *Client) Recv() chan *queue.Message

Recv provides a mock function with given fields:

func (*Client) Reply

func (_m *Client) Reply(msg *queue.Message)

Reply provides a mock function with given fields: msg

func (*Client) Send

func (_m *Client) Send(msg *queue.Message, waitReply bool) error

Send provides a mock function with given fields: msg, waitReply

func (*Client) SendTimeout

func (_m *Client) SendTimeout(msg *queue.Message, waitReply bool, timeout time.Duration) error

SendTimeout provides a mock function with given fields: msg, waitReply, timeout

func (*Client) Sub

func (_m *Client) Sub(topic string)

Sub provides a mock function with given fields: topic

func (*Client) Wait

func (_m *Client) Wait(msg *queue.Message) (*queue.Message, error)

Wait provides a mock function with given fields: msg

func (*Client) WaitTimeout

func (_m *Client) WaitTimeout(msg *queue.Message, timeout time.Duration) (*queue.Message, error)

WaitTimeout provides a mock function with given fields: msg, timeout

Jump to

Keyboard shortcuts

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