Documentation ¶
Index ¶
- type IChannel
- func (_m *IChannel) Close() error
- func (_m *IChannel) Dial(addr string) error
- func (_m *IChannel) Initialize(socketType utils.SocketType) error
- func (_m *IChannel) IsChannelInitialized() bool
- func (_m *IChannel) IsDialSuccessful() bool
- func (_m *IChannel) IsListenSuccessful() bool
- func (_m *IChannel) Listen(addr string) error
- func (_m *IChannel) Recv() ([]byte, error)
- func (_m *IChannel) Send(_a0 *message.Message) error
- func (_m *IChannel) SetOption(name string, value interface{}) error
- type Socket
- func (_m *Socket) Close() error
- func (_m *Socket) Dial(addr string) error
- func (_m *Socket) DialOptions(addr string, options map[string]interface{}) error
- func (_m *Socket) GetOption(name string) (interface{}, error)
- func (_m *Socket) Info() mangos.ProtocolInfo
- func (_m *Socket) Listen(addr string) error
- func (_m *Socket) ListenOptions(addr string, options map[string]interface{}) error
- func (_m *Socket) NewDialer(addr string, options map[string]interface{}) (mangos.Dialer, error)
- func (_m *Socket) NewListener(addr string, options map[string]interface{}) (mangos.Listener, error)
- func (_m *Socket) OpenContext() (mangos.Context, error)
- func (_m *Socket) Recv() ([]byte, error)
- func (_m *Socket) RecvMsg() (*mangos.Message, error)
- func (_m *Socket) Send(_a0 []byte) error
- func (_m *Socket) SendMsg(_a0 *mangos.Message) error
- func (_m *Socket) SetOption(name string, value interface{}) error
- func (_m *Socket) SetPipeEventHook(_a0 mangos.PipeEventHook) mangos.PipeEventHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IChannel ¶
IChannel is an autogenerated mock type for the IChannel type
func (*IChannel) Initialize ¶
func (_m *IChannel) Initialize(socketType utils.SocketType) error
Initialize provides a mock function with given fields: socketType
func (*IChannel) IsChannelInitialized ¶
IsChannelInitialized provides a mock function with given fields:
func (*IChannel) IsDialSuccessful ¶
IsDialSuccessful provides a mock function with given fields:
func (*IChannel) IsListenSuccessful ¶
IsListenSuccessful provides a mock function with given fields:
type Socket ¶
Socket is an autogenerated mock type for the Socket type
func (*Socket) DialOptions ¶
DialOptions provides a mock function with given fields: addr, options
func (*Socket) Info ¶
func (_m *Socket) Info() mangos.ProtocolInfo
Info provides a mock function with given fields:
func (*Socket) ListenOptions ¶
ListenOptions provides a mock function with given fields: addr, options
func (*Socket) NewListener ¶
NewListener provides a mock function with given fields: addr, options
func (*Socket) OpenContext ¶
OpenContext provides a mock function with given fields:
func (*Socket) SetPipeEventHook ¶
func (_m *Socket) SetPipeEventHook(_a0 mangos.PipeEventHook) mangos.PipeEventHook
SetPipeEventHook provides a mock function with given fields: _a0