mock_wsclient

package
v1.14.3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2017 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 4 more Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientServer

type MockClientServer struct {
	// contains filtered or unexported fields
}

Mock of ClientServer interface

func NewMockClientServer

func NewMockClientServer(ctrl *gomock.Controller) *MockClientServer

func (*MockClientServer) AddRequestHandler

func (_m *MockClientServer) AddRequestHandler(_param0 wsclient.RequestHandler)

func (*MockClientServer) Close

func (_m *MockClientServer) Close() error

func (*MockClientServer) Connect

func (_m *MockClientServer) Connect() error

func (*MockClientServer) Disconnect added in v1.11.1

func (_m *MockClientServer) Disconnect(_param0 ...interface{}) error

func (*MockClientServer) EXPECT

func (_m *MockClientServer) EXPECT() *_MockClientServerRecorder

func (*MockClientServer) IsConnected added in v1.14.1

func (_m *MockClientServer) IsConnected() bool

func (*MockClientServer) MakeRequest

func (_m *MockClientServer) MakeRequest(_param0 interface{}) error

func (*MockClientServer) Serve

func (_m *MockClientServer) Serve() error

func (*MockClientServer) SetAnyRequestHandler added in v1.3.1

func (_m *MockClientServer) SetAnyRequestHandler(_param0 wsclient.RequestHandler)

func (*MockClientServer) SetConnection added in v1.14.1

func (_m *MockClientServer) SetConnection(_param0 wsclient.WebsocketConn)

func (*MockClientServer) WriteMessage added in v1.14.1

func (_m *MockClientServer) WriteMessage(_param0 []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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