Documentation ¶
Overview ¶
Package mock_wsconn is a generated GoMock package.
Index ¶
- type MockWebsocketConn
- func (m *MockWebsocketConn) Close() error
- func (m *MockWebsocketConn) EXPECT() *MockWebsocketConnMockRecorder
- func (m *MockWebsocketConn) ReadMessage() (int, []byte, error)
- func (m *MockWebsocketConn) SetReadDeadline(arg0 time.Time) error
- func (m *MockWebsocketConn) SetWriteDeadline(arg0 time.Time) error
- func (m *MockWebsocketConn) WriteMessage(arg0 int, arg1 []byte) error
- type MockWebsocketConnMockRecorder
- func (mr *MockWebsocketConnMockRecorder) Close() *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) ReadMessage() *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
- func (mr *MockWebsocketConnMockRecorder) WriteMessage(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockWebsocketConn ¶
type MockWebsocketConn struct {
// contains filtered or unexported fields
}
MockWebsocketConn is a mock of WebsocketConn interface
func NewMockWebsocketConn ¶
func NewMockWebsocketConn(ctrl *gomock.Controller) *MockWebsocketConn
NewMockWebsocketConn creates a new mock instance
func (*MockWebsocketConn) EXPECT ¶
func (m *MockWebsocketConn) EXPECT() *MockWebsocketConnMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockWebsocketConn) ReadMessage ¶
func (m *MockWebsocketConn) ReadMessage() (int, []byte, error)
ReadMessage mocks base method
func (*MockWebsocketConn) SetReadDeadline ¶
func (m *MockWebsocketConn) SetReadDeadline(arg0 time.Time) error
SetReadDeadline mocks base method
func (*MockWebsocketConn) SetWriteDeadline ¶
func (m *MockWebsocketConn) SetWriteDeadline(arg0 time.Time) error
SetWriteDeadline mocks base method
func (*MockWebsocketConn) WriteMessage ¶
func (m *MockWebsocketConn) WriteMessage(arg0 int, arg1 []byte) error
WriteMessage mocks base method
type MockWebsocketConnMockRecorder ¶
type MockWebsocketConnMockRecorder struct {
// contains filtered or unexported fields
}
MockWebsocketConnMockRecorder is the mock recorder for MockWebsocketConn
func (*MockWebsocketConnMockRecorder) Close ¶
func (mr *MockWebsocketConnMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockWebsocketConnMockRecorder) ReadMessage ¶
func (mr *MockWebsocketConnMockRecorder) ReadMessage() *gomock.Call
ReadMessage indicates an expected call of ReadMessage
func (*MockWebsocketConnMockRecorder) SetReadDeadline ¶
func (mr *MockWebsocketConnMockRecorder) SetReadDeadline(arg0 interface{}) *gomock.Call
SetReadDeadline indicates an expected call of SetReadDeadline
func (*MockWebsocketConnMockRecorder) SetWriteDeadline ¶
func (mr *MockWebsocketConnMockRecorder) SetWriteDeadline(arg0 interface{}) *gomock.Call
SetWriteDeadline indicates an expected call of SetWriteDeadline
func (*MockWebsocketConnMockRecorder) WriteMessage ¶
func (mr *MockWebsocketConnMockRecorder) WriteMessage(arg0, arg1 interface{}) *gomock.Call
WriteMessage indicates an expected call of WriteMessage