mocks

package
v0.0.0-...-955c50f Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.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 IRespondent

type IRespondent struct {
	mock.Mock
}

IRespondent is an autogenerated mock type for the IRespondent type

func (*IRespondent) Close

func (_m *IRespondent) Close() error

Close provides a mock function with given fields:

func (*IRespondent) Dial

func (_m *IRespondent) Dial(path string) error

Dial provides a mock function with given fields: path

func (*IRespondent) GetCommProtocolInfo

func (_m *IRespondent) GetCommProtocolInfo() utils.SocketType

GetCommProtocolInfo provides a mock function with given fields:

func (*IRespondent) Initialize

func (_m *IRespondent) Initialize()

Initialize provides a mock function with given fields:

func (*IRespondent) Listen

func (_m *IRespondent) Listen(address string) error

Listen provides a mock function with given fields: address

func (*IRespondent) Recv

func (_m *IRespondent) Recv() ([]byte, error)

Recv provides a mock function with given fields:

func (*IRespondent) Send

func (_m *IRespondent) Send(_a0 *message.Message) error

Send provides a mock function with given fields: _a0

func (*IRespondent) SetOption

func (_m *IRespondent) SetOption(name string, value interface{}) error

SetOption provides a mock function with given fields: name, value

type ISurvey

type ISurvey struct {
	mock.Mock
}

ISurvey is an autogenerated mock type for the ISurvey type

func (*ISurvey) Close

func (_m *ISurvey) Close() error

Close provides a mock function with given fields:

func (*ISurvey) Dial

func (_m *ISurvey) Dial(path string) error

Dial provides a mock function with given fields: path

func (*ISurvey) GetCommProtocolInfo

func (_m *ISurvey) GetCommProtocolInfo() utils.SocketType

GetCommProtocolInfo provides a mock function with given fields:

func (*ISurvey) Initialize

func (_m *ISurvey) Initialize()

Initialize provides a mock function with given fields:

func (*ISurvey) Listen

func (_m *ISurvey) Listen(address string) error

Listen provides a mock function with given fields: address

func (*ISurvey) Recv

func (_m *ISurvey) Recv() ([]byte, error)

Recv provides a mock function with given fields:

func (*ISurvey) Send

func (_m *ISurvey) Send(_a0 *message.Message) error

Send provides a mock function with given fields: _a0

func (*ISurvey) SetOption

func (_m *ISurvey) SetOption(name string, value interface{}) error

SetOption provides a mock function with given fields: name, value

Jump to

Keyboard shortcuts

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