Documentation ¶
Overview ¶
Package mock_wsclient is a generated GoMock package.
Index ¶
- type MockClientServer
- func (m *MockClientServer) AddRequestHandler(arg0 wsclient.RequestHandler)
- func (m *MockClientServer) Close() error
- func (m *MockClientServer) Connect() error
- func (m *MockClientServer) Disconnect(arg0 ...interface{}) error
- func (m *MockClientServer) EXPECT() *MockClientServerMockRecorder
- func (m *MockClientServer) IsConnected() bool
- func (m *MockClientServer) MakeRequest(arg0 interface{}) error
- func (m *MockClientServer) Serve() error
- func (m *MockClientServer) SetAnyRequestHandler(arg0 wsclient.RequestHandler)
- func (m *MockClientServer) SetConnection(arg0 wsconn.WebsocketConn)
- func (m *MockClientServer) SetReadDeadline(arg0 time.Time) error
- func (m *MockClientServer) WriteMessage(arg0 []byte) error
- type MockClientServerMockRecorder
- func (mr *MockClientServerMockRecorder) AddRequestHandler(arg0 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) Close() *gomock.Call
- func (mr *MockClientServerMockRecorder) Connect() *gomock.Call
- func (mr *MockClientServerMockRecorder) Disconnect(arg0 ...interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) IsConnected() *gomock.Call
- func (mr *MockClientServerMockRecorder) MakeRequest(arg0 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) Serve() *gomock.Call
- func (mr *MockClientServerMockRecorder) SetAnyRequestHandler(arg0 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) SetConnection(arg0 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call
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) 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 ¶
func (m *MockClientServer) EXPECT() *MockClientServerMockRecorder
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) 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
func (mr *MockClientServerMockRecorder) Close() *gomock.Call
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
func (mr *MockClientServerMockRecorder) Serve() *gomock.Call
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