Documentation ¶
Index ¶
- type MockClientServer
- func (_m *MockClientServer) AddRequestHandler(_param0 wsclient.RequestHandler)
- func (_m *MockClientServer) Close() error
- func (_m *MockClientServer) Connect() error
- func (_m *MockClientServer) Disconnect(_param0 ...interface{}) error
- func (_m *MockClientServer) EXPECT() *_MockClientServerRecorder
- func (_m *MockClientServer) MakeRequest(_param0 interface{}) error
- func (_m *MockClientServer) Serve() error
- func (_m *MockClientServer) SetAnyRequestHandler(_param0 wsclient.RequestHandler)
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) 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)
Click to show internal directories.
Click to hide internal directories.