Documentation ¶
Overview ¶
Package mock_wsclient is a generated GoMock package.
Index ¶
- type MockClientFactory
- type MockClientFactoryMockRecorder
- type MockClientServer
- func (m *MockClientServer) AddRequestHandler(arg0 wsclient.RequestHandler)
- func (m *MockClientServer) Close() error
- func (m *MockClientServer) CloseClient(arg0 time.Time, arg1 time.Duration) error
- func (m *MockClientServer) Connect(arg0 string, arg1, arg2 time.Duration) (*time.Timer, 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(arg0 context.Context) 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) WriteCloseMessage() 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) CloseClient(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockClientServerMockRecorder) Connect(arg0, arg1, arg2 interface{}) *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(arg0 interface{}) *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) WriteCloseMessage() *gomock.Call
- func (mr *MockClientServerMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call
- type MockRequestResponder
- type MockRequestResponderMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientFactory ¶
type MockClientFactory struct {
// contains filtered or unexported fields
}
MockClientFactory is a mock of ClientFactory interface.
func NewMockClientFactory ¶
func NewMockClientFactory(ctrl *gomock.Controller) *MockClientFactory
NewMockClientFactory creates a new mock instance.
func (*MockClientFactory) EXPECT ¶
func (m *MockClientFactory) EXPECT() *MockClientFactoryMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientFactory) New ¶
func (m *MockClientFactory) New(arg0 string, arg1 *credentials.Credentials, arg2 time.Duration, arg3 *wsclient.WSClientMinAgentConfig, arg4 metrics.EntryFactory) wsclient.ClientServer
New mocks base method.
type MockClientFactoryMockRecorder ¶
type MockClientFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockClientFactoryMockRecorder is the mock recorder for MockClientFactory.
func (*MockClientFactoryMockRecorder) New ¶
func (mr *MockClientFactoryMockRecorder) New(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call
New indicates an expected call of New.
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) CloseClient ¶
CloseClient mocks base method.
func (*MockClientServer) Disconnect ¶
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 ¶
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(arg0 context.Context) error
Serve mocks base method.
func (*MockClientServer) SetAnyRequestHandler ¶
func (m *MockClientServer) SetAnyRequestHandler(arg0 wsclient.RequestHandler)
SetAnyRequestHandler mocks base method.
func (*MockClientServer) SetConnection ¶
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) WriteCloseMessage ¶
func (m *MockClientServer) WriteCloseMessage() error
WriteCloseMessage mocks base method.
func (*MockClientServer) WriteMessage ¶
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 ¶
func (mr *MockClientServerMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockClientServerMockRecorder) CloseClient ¶
func (mr *MockClientServerMockRecorder) CloseClient(arg0, arg1 interface{}) *gomock.Call
CloseClient indicates an expected call of CloseClient.
func (*MockClientServerMockRecorder) Connect ¶
func (mr *MockClientServerMockRecorder) Connect(arg0, arg1, arg2 interface{}) *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 ¶
func (mr *MockClientServerMockRecorder) Serve(arg0 interface{}) *gomock.Call
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) WriteCloseMessage ¶
func (mr *MockClientServerMockRecorder) WriteCloseMessage() *gomock.Call
WriteCloseMessage indicates an expected call of WriteCloseMessage.
func (*MockClientServerMockRecorder) WriteMessage ¶
func (mr *MockClientServerMockRecorder) WriteMessage(arg0 interface{}) *gomock.Call
WriteMessage indicates an expected call of WriteMessage.
type MockRequestResponder ¶
type MockRequestResponder struct {
// contains filtered or unexported fields
}
MockRequestResponder is a mock of RequestResponder interface.
func NewMockRequestResponder ¶
func NewMockRequestResponder(ctrl *gomock.Controller) *MockRequestResponder
NewMockRequestResponder creates a new mock instance.
func (*MockRequestResponder) EXPECT ¶
func (m *MockRequestResponder) EXPECT() *MockRequestResponderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRequestResponder) HandlerFunc ¶
func (m *MockRequestResponder) HandlerFunc() wsclient.RequestHandler
HandlerFunc mocks base method.
func (*MockRequestResponder) Name ¶
func (m *MockRequestResponder) Name() string
Name mocks base method.
type MockRequestResponderMockRecorder ¶
type MockRequestResponderMockRecorder struct {
// contains filtered or unexported fields
}
MockRequestResponderMockRecorder is the mock recorder for MockRequestResponder.
func (*MockRequestResponderMockRecorder) HandlerFunc ¶
func (mr *MockRequestResponderMockRecorder) HandlerFunc() *gomock.Call
HandlerFunc indicates an expected call of HandlerFunc.
func (*MockRequestResponderMockRecorder) Name ¶
func (mr *MockRequestResponderMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.