mock_wsconn

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_wsconn is a generated GoMock package.

Index

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) Close

func (m *MockWebsocketConn) Close() error

Close mocks base method

func (*MockWebsocketConn) EXPECT

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL