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: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IChannel

type IChannel struct {
	mock.Mock
}

IChannel is an autogenerated mock type for the IChannel type

func (*IChannel) Close

func (_m *IChannel) Close() error

Close provides a mock function with given fields:

func (*IChannel) Dial

func (_m *IChannel) Dial(addr string) error

Dial provides a mock function with given fields: addr

func (*IChannel) Initialize

func (_m *IChannel) Initialize(socketType utils.SocketType) error

Initialize provides a mock function with given fields: socketType

func (*IChannel) IsChannelInitialized

func (_m *IChannel) IsChannelInitialized() bool

IsChannelInitialized provides a mock function with given fields:

func (*IChannel) IsDialSuccessful

func (_m *IChannel) IsDialSuccessful() bool

IsDialSuccessful provides a mock function with given fields:

func (*IChannel) IsListenSuccessful

func (_m *IChannel) IsListenSuccessful() bool

IsListenSuccessful provides a mock function with given fields:

func (*IChannel) Listen

func (_m *IChannel) Listen(addr string) error

Listen provides a mock function with given fields: addr

func (*IChannel) Recv

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

Recv provides a mock function with given fields:

func (*IChannel) Send

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

Send provides a mock function with given fields: _a0

func (*IChannel) SetOption

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

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

type Socket

type Socket struct {
	mock.Mock
}

Socket is an autogenerated mock type for the Socket type

func (*Socket) Close

func (_m *Socket) Close() error

Close provides a mock function with given fields:

func (*Socket) Dial

func (_m *Socket) Dial(addr string) error

Dial provides a mock function with given fields: addr

func (*Socket) DialOptions

func (_m *Socket) DialOptions(addr string, options map[string]interface{}) error

DialOptions provides a mock function with given fields: addr, options

func (*Socket) GetOption

func (_m *Socket) GetOption(name string) (interface{}, error)

GetOption provides a mock function with given fields: name

func (*Socket) Info

func (_m *Socket) Info() mangos.ProtocolInfo

Info provides a mock function with given fields:

func (*Socket) Listen

func (_m *Socket) Listen(addr string) error

Listen provides a mock function with given fields: addr

func (*Socket) ListenOptions

func (_m *Socket) ListenOptions(addr string, options map[string]interface{}) error

ListenOptions provides a mock function with given fields: addr, options

func (*Socket) NewDialer

func (_m *Socket) NewDialer(addr string, options map[string]interface{}) (mangos.Dialer, error)

NewDialer provides a mock function with given fields: addr, options

func (*Socket) NewListener

func (_m *Socket) NewListener(addr string, options map[string]interface{}) (mangos.Listener, error)

NewListener provides a mock function with given fields: addr, options

func (*Socket) OpenContext

func (_m *Socket) OpenContext() (mangos.Context, error)

OpenContext provides a mock function with given fields:

func (*Socket) Recv

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

Recv provides a mock function with given fields:

func (*Socket) RecvMsg

func (_m *Socket) RecvMsg() (*mangos.Message, error)

RecvMsg provides a mock function with given fields:

func (*Socket) Send

func (_m *Socket) Send(_a0 []byte) error

Send provides a mock function with given fields: _a0

func (*Socket) SendMsg

func (_m *Socket) SendMsg(_a0 *mangos.Message) error

SendMsg provides a mock function with given fields: _a0

func (*Socket) SetOption

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

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

func (*Socket) SetPipeEventHook

func (_m *Socket) SetPipeEventHook(_a0 mangos.PipeEventHook) mangos.PipeEventHook

SetPipeEventHook provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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