mock_wsclient

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_wsclient is a generated GoMock package.

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
}

MockClientServer is a mock of ClientServer interface

func NewMockClientServer

func NewMockClientServer(ctrl *gomock.Controller) *MockClientServer

NewMockClientServer creates a new mock instance

func (*MockClientServer) AddRequestHandler

func (m *MockClientServer) AddRequestHandler(arg0 wsclient.RequestHandler)

AddRequestHandler mocks base method

func (*MockClientServer) Close

func (m *MockClientServer) Close() error

Close mocks base method

func (*MockClientServer) Connect

func (m *MockClientServer) Connect() error

Connect mocks base method

func (*MockClientServer) Disconnect added in v1.11.1

func (m *MockClientServer) Disconnect(arg0 ...interface{}) error

Disconnect mocks base method

func (*MockClientServer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockClientServer) IsConnected added in v1.14.1

func (m *MockClientServer) IsConnected() bool

IsConnected mocks base method

func (*MockClientServer) MakeRequest

func (m *MockClientServer) MakeRequest(arg0 interface{}) error

MakeRequest mocks base method

func (*MockClientServer) Serve

func (m *MockClientServer) Serve() error

Serve mocks base method

func (*MockClientServer) SetAnyRequestHandler added in v1.3.1

func (m *MockClientServer) SetAnyRequestHandler(arg0 wsclient.RequestHandler)

SetAnyRequestHandler mocks base method

func (*MockClientServer) SetConnection added in v1.14.1

func (m *MockClientServer) SetConnection(arg0 wsconn.WebsocketConn)

SetConnection mocks base method

func (*MockClientServer) SetReadDeadline added in v1.14.5

func (m *MockClientServer) SetReadDeadline(arg0 time.Time) error

SetReadDeadline mocks base method

func (*MockClientServer) WriteMessage added in v1.14.1

func (m *MockClientServer) WriteMessage(arg0 []byte) error

WriteMessage mocks base method

type MockClientServerMockRecorder added in v1.17.3

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

MockClientServerMockRecorder is the mock recorder for MockClientServer

func (*MockClientServerMockRecorder) AddRequestHandler added in v1.17.3

func (mr *MockClientServerMockRecorder) AddRequestHandler(arg0 interface{}) *gomock.Call

AddRequestHandler indicates an expected call of AddRequestHandler

func (*MockClientServerMockRecorder) Close added in v1.17.3

Close indicates an expected call of Close

func (*MockClientServerMockRecorder) Connect added in v1.17.3

func (mr *MockClientServerMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect

func (*MockClientServerMockRecorder) Disconnect added in v1.17.3

func (mr *MockClientServerMockRecorder) Disconnect(arg0 ...interface{}) *gomock.Call

Disconnect indicates an expected call of Disconnect

func (*MockClientServerMockRecorder) IsConnected added in v1.17.3

func (mr *MockClientServerMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected

func (*MockClientServerMockRecorder) MakeRequest added in v1.17.3

func (mr *MockClientServerMockRecorder) MakeRequest(arg0 interface{}) *gomock.Call

MakeRequest indicates an expected call of MakeRequest

func (*MockClientServerMockRecorder) Serve added in v1.17.3

Serve indicates an expected call of Serve

func (*MockClientServerMockRecorder) SetAnyRequestHandler added in v1.17.3

func (mr *MockClientServerMockRecorder) SetAnyRequestHandler(arg0 interface{}) *gomock.Call

SetAnyRequestHandler indicates an expected call of SetAnyRequestHandler

func (*MockClientServerMockRecorder) SetConnection added in v1.17.3

func (mr *MockClientServerMockRecorder) SetConnection(arg0 interface{}) *gomock.Call

SetConnection indicates an expected call of SetConnection

func (*MockClientServerMockRecorder) SetReadDeadline added in v1.17.3

func (mr *MockClientServerMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline

func (*MockClientServerMockRecorder) WriteMessage added in v1.17.3

func (mr *MockClientServerMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call

WriteMessage indicates an expected call of WriteMessage

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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