mock_wsclient

package
v1.21.0-coveo.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2018 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

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

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

MockClientServerMockRecorder is the mock recorder for MockClientServer

func (*MockClientServerMockRecorder) AddRequestHandler

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

AddRequestHandler indicates an expected call of AddRequestHandler

func (*MockClientServerMockRecorder) Close

Close indicates an expected call of Close

func (*MockClientServerMockRecorder) Connect

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

Connect indicates an expected call of Connect

func (*MockClientServerMockRecorder) Disconnect

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

Disconnect indicates an expected call of Disconnect

func (*MockClientServerMockRecorder) IsConnected

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

IsConnected indicates an expected call of IsConnected

func (*MockClientServerMockRecorder) MakeRequest

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

MakeRequest indicates an expected call of MakeRequest

func (*MockClientServerMockRecorder) Serve

Serve indicates an expected call of Serve

func (*MockClientServerMockRecorder) SetAnyRequestHandler

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

SetAnyRequestHandler indicates an expected call of SetAnyRequestHandler

func (*MockClientServerMockRecorder) SetConnection

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

SetConnection indicates an expected call of SetConnection

func (*MockClientServerMockRecorder) SetReadDeadline

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

SetReadDeadline indicates an expected call of SetReadDeadline

func (*MockClientServerMockRecorder) WriteMessage

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