mock_interfaces

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Package mock_interfaces is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCounter

type MockCounter struct {
	// contains filtered or unexported fields
}

MockCounter is a mock of Counter interface.

func NewMockCounter

func NewMockCounter(ctrl *gomock.Controller) *MockCounter

NewMockCounter creates a new mock instance.

func (*MockCounter) Count

func (m *MockCounter) Count() interfaces.QueryBuilder

Count mocks base method.

func (*MockCounter) EXPECT

func (m *MockCounter) EXPECT() *MockCounterMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockCounterMockRecorder

type MockCounterMockRecorder struct {
	// contains filtered or unexported fields
}

MockCounterMockRecorder is the mock recorder for MockCounter.

func (*MockCounterMockRecorder) Count

func (mr *MockCounterMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

type MockDialer

type MockDialer struct {
	// contains filtered or unexported fields
}

MockDialer is a mock of Dialer interface.

func NewMockDialer

func NewMockDialer(ctrl *gomock.Controller) *MockDialer

NewMockDialer creates a new mock instance.

func (*MockDialer) Close

func (m *MockDialer) Close() error

Close mocks base method.

func (*MockDialer) Connect

func (m *MockDialer) Connect() error

Connect mocks base method.

func (*MockDialer) EXPECT

func (m *MockDialer) EXPECT() *MockDialerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockDialer) IsConnected

func (m *MockDialer) IsConnected() bool

IsConnected mocks base method.

func (*MockDialer) Ping

func (m *MockDialer) Ping() error

Ping mocks base method.

func (*MockDialer) Read

func (m *MockDialer) Read() (int, []byte, error)

Read mocks base method.

func (*MockDialer) Write

func (m *MockDialer) Write(arg0 []byte) error

Write mocks base method.

type MockDialerMockRecorder

type MockDialerMockRecorder struct {
	// contains filtered or unexported fields
}

MockDialerMockRecorder is the mock recorder for MockDialer.

func (*MockDialerMockRecorder) Close

func (mr *MockDialerMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close.

func (*MockDialerMockRecorder) Connect

func (mr *MockDialerMockRecorder) Connect() *gomock.Call

Connect indicates an expected call of Connect.

func (*MockDialerMockRecorder) IsConnected

func (mr *MockDialerMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockDialerMockRecorder) Ping

func (mr *MockDialerMockRecorder) Ping() *gomock.Call

Ping indicates an expected call of Ping.

func (*MockDialerMockRecorder) Read

func (mr *MockDialerMockRecorder) Read() *gomock.Call

Read indicates an expected call of Read.

func (*MockDialerMockRecorder) Write

func (mr *MockDialerMockRecorder) Write(arg0 interface{}) *gomock.Call

Write indicates an expected call of Write.

type MockDropper

type MockDropper struct {
	// contains filtered or unexported fields
}

MockDropper is a mock of Dropper interface.

func NewMockDropper

func NewMockDropper(ctrl *gomock.Controller) *MockDropper

NewMockDropper creates a new mock instance.

func (*MockDropper) Drop

Drop mocks base method.

func (*MockDropper) EXPECT

func (m *MockDropper) EXPECT() *MockDropperMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

type MockDropperMockRecorder

type MockDropperMockRecorder struct {
	// contains filtered or unexported fields
}

MockDropperMockRecorder is the mock recorder for MockDropper.

func (*MockDropperMockRecorder) Drop

func (mr *MockDropperMockRecorder) Drop() *gomock.Call

Drop indicates an expected call of Drop.

type MockEdge

type MockEdge struct {
	// contains filtered or unexported fields
}

MockEdge is a mock of Edge interface.

func NewMockEdge

func NewMockEdge(ctrl *gomock.Controller) *MockEdge

NewMockEdge creates a new mock instance.

func (*MockEdge) Add

Add mocks base method.

func (*MockEdge) Count

func (m *MockEdge) Count() interfaces.QueryBuilder

Count mocks base method.

func (*MockEdge) Drop

func (m *MockEdge) Drop() interfaces.QueryBuilder

Drop mocks base method.

func (*MockEdge) EXPECT

func (m *MockEdge) EXPECT() *MockEdgeMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockEdge) From

From mocks base method.

func (*MockEdge) HasId

func (m *MockEdge) HasId(id string) interfaces.Edge

HasId mocks base method.

func (*MockEdge) HasLabel

func (m *MockEdge) HasLabel(label ...string) interfaces.Edge

HasLabel mocks base method.

func (*MockEdge) Id

Id mocks base method.

func (*MockEdge) InV

func (m *MockEdge) InV() interfaces.Vertex

InV mocks base method.

func (*MockEdge) Limit

func (m *MockEdge) Limit(maxElements int) interfaces.Edge

Limit mocks base method.

func (*MockEdge) OutV

func (m *MockEdge) OutV() interfaces.Vertex

OutV mocks base method.

func (*MockEdge) Profile

func (m *MockEdge) Profile() interfaces.QueryBuilder

Profile mocks base method.

func (*MockEdge) String

func (m *MockEdge) String() string

String mocks base method.

func (*MockEdge) To

To mocks base method.

type MockEdgeMockRecorder

type MockEdgeMockRecorder struct {
	// contains filtered or unexported fields
}

MockEdgeMockRecorder is the mock recorder for MockEdge.

func (*MockEdgeMockRecorder) Add

func (mr *MockEdgeMockRecorder) Add(builder interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockEdgeMockRecorder) Count

func (mr *MockEdgeMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

func (*MockEdgeMockRecorder) Drop

func (mr *MockEdgeMockRecorder) Drop() *gomock.Call

Drop indicates an expected call of Drop.

func (*MockEdgeMockRecorder) From

func (mr *MockEdgeMockRecorder) From(v interface{}) *gomock.Call

From indicates an expected call of From.

func (*MockEdgeMockRecorder) HasId

func (mr *MockEdgeMockRecorder) HasId(id interface{}) *gomock.Call

HasId indicates an expected call of HasId.

func (*MockEdgeMockRecorder) HasLabel

func (mr *MockEdgeMockRecorder) HasLabel(label ...interface{}) *gomock.Call

HasLabel indicates an expected call of HasLabel.

func (*MockEdgeMockRecorder) Id

func (mr *MockEdgeMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id.

func (*MockEdgeMockRecorder) InV

func (mr *MockEdgeMockRecorder) InV() *gomock.Call

InV indicates an expected call of InV.

func (*MockEdgeMockRecorder) Limit

func (mr *MockEdgeMockRecorder) Limit(maxElements interface{}) *gomock.Call

Limit indicates an expected call of Limit.

func (*MockEdgeMockRecorder) OutV

func (mr *MockEdgeMockRecorder) OutV() *gomock.Call

OutV indicates an expected call of OutV.

func (*MockEdgeMockRecorder) Profile

func (mr *MockEdgeMockRecorder) Profile() *gomock.Call

Profile indicates an expected call of Profile.

func (*MockEdgeMockRecorder) String

func (mr *MockEdgeMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockEdgeMockRecorder) To

func (mr *MockEdgeMockRecorder) To(v interface{}) *gomock.Call

To indicates an expected call of To.

type MockGraph

type MockGraph struct {
	// contains filtered or unexported fields
}

MockGraph is a mock of Graph interface.

func NewMockGraph

func NewMockGraph(ctrl *gomock.Controller) *MockGraph

NewMockGraph creates a new mock instance.

func (*MockGraph) AddV

func (m *MockGraph) AddV(label string) interfaces.Vertex

AddV mocks base method.

func (*MockGraph) E

func (m *MockGraph) E() interfaces.Edge

E mocks base method.

func (*MockGraph) EXPECT

func (m *MockGraph) EXPECT() *MockGraphMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGraph) String

func (m *MockGraph) String() string

String mocks base method.

func (*MockGraph) V

func (m *MockGraph) V() interfaces.Vertex

V mocks base method.

func (*MockGraph) VBy

func (m *MockGraph) VBy(id int) interfaces.Vertex

VBy mocks base method.

func (*MockGraph) VByStr

func (m *MockGraph) VByStr(id string) interfaces.Vertex

VByStr mocks base method.

func (*MockGraph) VByUUID

func (m *MockGraph) VByUUID(id uuid.UUID) interfaces.Vertex

VByUUID mocks base method.

type MockGraphMockRecorder

type MockGraphMockRecorder struct {
	// contains filtered or unexported fields
}

MockGraphMockRecorder is the mock recorder for MockGraph.

func (*MockGraphMockRecorder) AddV

func (mr *MockGraphMockRecorder) AddV(label interface{}) *gomock.Call

AddV indicates an expected call of AddV.

func (*MockGraphMockRecorder) E

E indicates an expected call of E.

func (*MockGraphMockRecorder) String

func (mr *MockGraphMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockGraphMockRecorder) V

V indicates an expected call of V.

func (*MockGraphMockRecorder) VBy

func (mr *MockGraphMockRecorder) VBy(id interface{}) *gomock.Call

VBy indicates an expected call of VBy.

func (*MockGraphMockRecorder) VByStr

func (mr *MockGraphMockRecorder) VByStr(id interface{}) *gomock.Call

VByStr indicates an expected call of VByStr.

func (*MockGraphMockRecorder) VByUUID

func (mr *MockGraphMockRecorder) VByUUID(id interface{}) *gomock.Call

VByUUID indicates an expected call of VByUUID.

type MockProfiler

type MockProfiler struct {
	// contains filtered or unexported fields
}

MockProfiler is a mock of Profiler interface.

func NewMockProfiler

func NewMockProfiler(ctrl *gomock.Controller) *MockProfiler

NewMockProfiler creates a new mock instance.

func (*MockProfiler) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProfiler) Profile

func (m *MockProfiler) Profile() interfaces.QueryBuilder

Profile mocks base method.

type MockProfilerMockRecorder

type MockProfilerMockRecorder struct {
	// contains filtered or unexported fields
}

MockProfilerMockRecorder is the mock recorder for MockProfiler.

func (*MockProfilerMockRecorder) Profile

func (mr *MockProfilerMockRecorder) Profile() *gomock.Call

Profile indicates an expected call of Profile.

type MockProperty

type MockProperty struct {
	// contains filtered or unexported fields
}

MockProperty is a mock of Property interface.

func NewMockProperty

func NewMockProperty(ctrl *gomock.Controller) *MockProperty

NewMockProperty creates a new mock instance.

func (*MockProperty) Add

Add mocks base method.

func (*MockProperty) Count

Count mocks base method.

func (*MockProperty) Drop

Drop mocks base method.

func (*MockProperty) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockProperty) Limit

func (m *MockProperty) Limit(maxElements int) interfaces.Property

Limit mocks base method.

func (*MockProperty) Profile

func (m *MockProperty) Profile() interfaces.QueryBuilder

Profile mocks base method.

func (*MockProperty) String

func (m *MockProperty) String() string

String mocks base method.

type MockPropertyMockRecorder

type MockPropertyMockRecorder struct {
	// contains filtered or unexported fields
}

MockPropertyMockRecorder is the mock recorder for MockProperty.

func (*MockPropertyMockRecorder) Add

func (mr *MockPropertyMockRecorder) Add(builder interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockPropertyMockRecorder) Count

func (mr *MockPropertyMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

func (*MockPropertyMockRecorder) Drop

func (mr *MockPropertyMockRecorder) Drop() *gomock.Call

Drop indicates an expected call of Drop.

func (*MockPropertyMockRecorder) Limit

func (mr *MockPropertyMockRecorder) Limit(maxElements interface{}) *gomock.Call

Limit indicates an expected call of Limit.

func (*MockPropertyMockRecorder) Profile

func (mr *MockPropertyMockRecorder) Profile() *gomock.Call

Profile indicates an expected call of Profile.

func (*MockPropertyMockRecorder) String

func (mr *MockPropertyMockRecorder) String() *gomock.Call

String indicates an expected call of String.

type MockQueryBuilder

type MockQueryBuilder struct {
	// contains filtered or unexported fields
}

MockQueryBuilder is a mock of QueryBuilder interface.

func NewMockQueryBuilder

func NewMockQueryBuilder(ctrl *gomock.Controller) *MockQueryBuilder

NewMockQueryBuilder creates a new mock instance.

func (*MockQueryBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryBuilder) String

func (m *MockQueryBuilder) String() string

String mocks base method.

type MockQueryBuilderMockRecorder

type MockQueryBuilderMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryBuilderMockRecorder is the mock recorder for MockQueryBuilder.

func (*MockQueryBuilderMockRecorder) String

String indicates an expected call of String.

type MockQueryExecutor

type MockQueryExecutor struct {
	// contains filtered or unexported fields
}

MockQueryExecutor is a mock of QueryExecutor interface.

func NewMockQueryExecutor

func NewMockQueryExecutor(ctrl *gomock.Controller) *MockQueryExecutor

NewMockQueryExecutor creates a new mock instance.

func (*MockQueryExecutor) Close

func (m *MockQueryExecutor) Close() error

Close mocks base method.

func (*MockQueryExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockQueryExecutor) Execute

func (m *MockQueryExecutor) Execute(query string) ([]interfaces.Response, error)

Execute mocks base method.

func (*MockQueryExecutor) ExecuteAsync

func (m *MockQueryExecutor) ExecuteAsync(query string, responseChannel chan interfaces.AsyncResponse) error

ExecuteAsync mocks base method.

func (*MockQueryExecutor) ExecuteFile

func (m *MockQueryExecutor) ExecuteFile(path string) ([]interfaces.Response, error)

ExecuteFile mocks base method.

func (*MockQueryExecutor) ExecuteFileWithBindings

func (m *MockQueryExecutor) ExecuteFileWithBindings(path string, bindings, rebindings map[string]string) ([]interfaces.Response, error)

ExecuteFileWithBindings mocks base method.

func (*MockQueryExecutor) ExecuteWithBindings

func (m *MockQueryExecutor) ExecuteWithBindings(query string, bindings, rebindings map[string]string) ([]interfaces.Response, error)

ExecuteWithBindings mocks base method.

func (*MockQueryExecutor) IsConnected

func (m *MockQueryExecutor) IsConnected() bool

IsConnected mocks base method.

func (*MockQueryExecutor) LastError

func (m *MockQueryExecutor) LastError() error

LastError mocks base method.

func (*MockQueryExecutor) Ping

func (m *MockQueryExecutor) Ping() error

Ping mocks base method.

type MockQueryExecutorMockRecorder

type MockQueryExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockQueryExecutorMockRecorder is the mock recorder for MockQueryExecutor.

func (*MockQueryExecutorMockRecorder) Close

Close indicates an expected call of Close.

func (*MockQueryExecutorMockRecorder) Execute

func (mr *MockQueryExecutorMockRecorder) Execute(query interface{}) *gomock.Call

Execute indicates an expected call of Execute.

func (*MockQueryExecutorMockRecorder) ExecuteAsync

func (mr *MockQueryExecutorMockRecorder) ExecuteAsync(query, responseChannel interface{}) *gomock.Call

ExecuteAsync indicates an expected call of ExecuteAsync.

func (*MockQueryExecutorMockRecorder) ExecuteFile

func (mr *MockQueryExecutorMockRecorder) ExecuteFile(path interface{}) *gomock.Call

ExecuteFile indicates an expected call of ExecuteFile.

func (*MockQueryExecutorMockRecorder) ExecuteFileWithBindings

func (mr *MockQueryExecutorMockRecorder) ExecuteFileWithBindings(path, bindings, rebindings interface{}) *gomock.Call

ExecuteFileWithBindings indicates an expected call of ExecuteFileWithBindings.

func (*MockQueryExecutorMockRecorder) ExecuteWithBindings

func (mr *MockQueryExecutorMockRecorder) ExecuteWithBindings(query, bindings, rebindings interface{}) *gomock.Call

ExecuteWithBindings indicates an expected call of ExecuteWithBindings.

func (*MockQueryExecutorMockRecorder) IsConnected

func (mr *MockQueryExecutorMockRecorder) IsConnected() *gomock.Call

IsConnected indicates an expected call of IsConnected.

func (*MockQueryExecutorMockRecorder) LastError

func (mr *MockQueryExecutorMockRecorder) LastError() *gomock.Call

LastError indicates an expected call of LastError.

func (*MockQueryExecutorMockRecorder) Ping

Ping indicates an expected call of Ping.

type MockVertex

type MockVertex struct {
	// contains filtered or unexported fields
}

MockVertex is a mock of Vertex interface.

func NewMockVertex

func NewMockVertex(ctrl *gomock.Controller) *MockVertex

NewMockVertex creates a new mock instance.

func (*MockVertex) Add

Add mocks base method.

func (*MockVertex) AddE

func (m *MockVertex) AddE(label string) interfaces.Edge

AddE mocks base method.

func (*MockVertex) Count

func (m *MockVertex) Count() interfaces.QueryBuilder

Count mocks base method.

func (*MockVertex) Drop

Drop mocks base method.

func (*MockVertex) EXPECT

func (m *MockVertex) EXPECT() *MockVertexMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVertex) Has

func (m *MockVertex) Has(key string, value ...interface{}) interfaces.Vertex

Has mocks base method.

func (*MockVertex) HasId

func (m *MockVertex) HasId(id string) interfaces.Vertex

HasId mocks base method.

func (*MockVertex) HasLabel

func (m *MockVertex) HasLabel(vertexLabel ...string) interfaces.Vertex

HasLabel mocks base method.

func (*MockVertex) Id

Id mocks base method.

func (*MockVertex) InE

func (m *MockVertex) InE(labels ...string) interfaces.Edge

InE mocks base method.

func (*MockVertex) Limit

func (m *MockVertex) Limit(maxElements int) interfaces.Vertex

Limit mocks base method.

func (*MockVertex) OutE

func (m *MockVertex) OutE(labels ...string) interfaces.Edge

OutE mocks base method.

func (*MockVertex) Profile

func (m *MockVertex) Profile() interfaces.QueryBuilder

Profile mocks base method.

func (*MockVertex) Properties

func (m *MockVertex) Properties(key ...string) interfaces.Property

Properties mocks base method.

func (*MockVertex) Property

func (m *MockVertex) Property(key, value interface{}) interfaces.Vertex

Property mocks base method.

func (*MockVertex) PropertyList

func (m *MockVertex) PropertyList(key, value string) interfaces.Vertex

PropertyList mocks base method.

func (*MockVertex) String

func (m *MockVertex) String() string

String mocks base method.

func (*MockVertex) ValueMap

func (m *MockVertex) ValueMap() interfaces.QueryBuilder

ValueMap mocks base method.

func (*MockVertex) Values

func (m *MockVertex) Values() interfaces.QueryBuilder

Values mocks base method.

func (*MockVertex) ValuesBy

func (m *MockVertex) ValuesBy(label string) interfaces.QueryBuilder

ValuesBy mocks base method.

type MockVertexMockRecorder

type MockVertexMockRecorder struct {
	// contains filtered or unexported fields
}

MockVertexMockRecorder is the mock recorder for MockVertex.

func (*MockVertexMockRecorder) Add

func (mr *MockVertexMockRecorder) Add(builder interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockVertexMockRecorder) AddE

func (mr *MockVertexMockRecorder) AddE(label interface{}) *gomock.Call

AddE indicates an expected call of AddE.

func (*MockVertexMockRecorder) Count

func (mr *MockVertexMockRecorder) Count() *gomock.Call

Count indicates an expected call of Count.

func (*MockVertexMockRecorder) Drop

func (mr *MockVertexMockRecorder) Drop() *gomock.Call

Drop indicates an expected call of Drop.

func (*MockVertexMockRecorder) Has

func (mr *MockVertexMockRecorder) Has(key interface{}, value ...interface{}) *gomock.Call

Has indicates an expected call of Has.

func (*MockVertexMockRecorder) HasId

func (mr *MockVertexMockRecorder) HasId(id interface{}) *gomock.Call

HasId indicates an expected call of HasId.

func (*MockVertexMockRecorder) HasLabel

func (mr *MockVertexMockRecorder) HasLabel(vertexLabel ...interface{}) *gomock.Call

HasLabel indicates an expected call of HasLabel.

func (*MockVertexMockRecorder) Id

Id indicates an expected call of Id.

func (*MockVertexMockRecorder) InE

func (mr *MockVertexMockRecorder) InE(labels ...interface{}) *gomock.Call

InE indicates an expected call of InE.

func (*MockVertexMockRecorder) Limit

func (mr *MockVertexMockRecorder) Limit(maxElements interface{}) *gomock.Call

Limit indicates an expected call of Limit.

func (*MockVertexMockRecorder) OutE

func (mr *MockVertexMockRecorder) OutE(labels ...interface{}) *gomock.Call

OutE indicates an expected call of OutE.

func (*MockVertexMockRecorder) Profile

func (mr *MockVertexMockRecorder) Profile() *gomock.Call

Profile indicates an expected call of Profile.

func (*MockVertexMockRecorder) Properties

func (mr *MockVertexMockRecorder) Properties(key ...interface{}) *gomock.Call

Properties indicates an expected call of Properties.

func (*MockVertexMockRecorder) Property

func (mr *MockVertexMockRecorder) Property(key, value interface{}) *gomock.Call

Property indicates an expected call of Property.

func (*MockVertexMockRecorder) PropertyList

func (mr *MockVertexMockRecorder) PropertyList(key, value interface{}) *gomock.Call

PropertyList indicates an expected call of PropertyList.

func (*MockVertexMockRecorder) String

func (mr *MockVertexMockRecorder) String() *gomock.Call

String indicates an expected call of String.

func (*MockVertexMockRecorder) ValueMap

func (mr *MockVertexMockRecorder) ValueMap() *gomock.Call

ValueMap indicates an expected call of ValueMap.

func (*MockVertexMockRecorder) Values

func (mr *MockVertexMockRecorder) Values() *gomock.Call

Values indicates an expected call of Values.

func (*MockVertexMockRecorder) ValuesBy

func (mr *MockVertexMockRecorder) ValuesBy(label interface{}) *gomock.Call

ValuesBy indicates an expected call of ValuesBy.

type MockWebsocketConnection

type MockWebsocketConnection struct {
	// contains filtered or unexported fields
}

MockWebsocketConnection is a mock of WebsocketConnection interface.

func NewMockWebsocketConnection

func NewMockWebsocketConnection(ctrl *gomock.Controller) *MockWebsocketConnection

NewMockWebsocketConnection creates a new mock instance.

func (*MockWebsocketConnection) Close

func (m *MockWebsocketConnection) Close() error

Close mocks base method.

func (*MockWebsocketConnection) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockWebsocketConnection) ReadMessage

func (m *MockWebsocketConnection) ReadMessage() (int, []byte, error)

ReadMessage mocks base method.

func (*MockWebsocketConnection) SetPongHandler

func (m *MockWebsocketConnection) SetPongHandler(handler func(string) error)

SetPongHandler mocks base method.

func (*MockWebsocketConnection) SetReadDeadline

func (m *MockWebsocketConnection) SetReadDeadline(t time.Time) error

SetReadDeadline mocks base method.

func (*MockWebsocketConnection) SetWriteDeadline

func (m *MockWebsocketConnection) SetWriteDeadline(t time.Time) error

SetWriteDeadline mocks base method.

func (*MockWebsocketConnection) WriteControl

func (m *MockWebsocketConnection) WriteControl(messageType int, data []byte, deadline time.Time) error

WriteControl mocks base method.

func (*MockWebsocketConnection) WriteMessage

func (m *MockWebsocketConnection) WriteMessage(messageType int, data []byte) error

WriteMessage mocks base method.

type MockWebsocketConnectionMockRecorder

type MockWebsocketConnectionMockRecorder struct {
	// contains filtered or unexported fields
}

MockWebsocketConnectionMockRecorder is the mock recorder for MockWebsocketConnection.

func (*MockWebsocketConnectionMockRecorder) Close

Close indicates an expected call of Close.

func (*MockWebsocketConnectionMockRecorder) ReadMessage

func (mr *MockWebsocketConnectionMockRecorder) ReadMessage() *gomock.Call

ReadMessage indicates an expected call of ReadMessage.

func (*MockWebsocketConnectionMockRecorder) SetPongHandler

func (mr *MockWebsocketConnectionMockRecorder) SetPongHandler(handler interface{}) *gomock.Call

SetPongHandler indicates an expected call of SetPongHandler.

func (*MockWebsocketConnectionMockRecorder) SetReadDeadline

func (mr *MockWebsocketConnectionMockRecorder) SetReadDeadline(t interface{}) *gomock.Call

SetReadDeadline indicates an expected call of SetReadDeadline.

func (*MockWebsocketConnectionMockRecorder) SetWriteDeadline

func (mr *MockWebsocketConnectionMockRecorder) SetWriteDeadline(t interface{}) *gomock.Call

SetWriteDeadline indicates an expected call of SetWriteDeadline.

func (*MockWebsocketConnectionMockRecorder) WriteControl

func (mr *MockWebsocketConnectionMockRecorder) WriteControl(messageType, data, deadline interface{}) *gomock.Call

WriteControl indicates an expected call of WriteControl.

func (*MockWebsocketConnectionMockRecorder) WriteMessage

func (mr *MockWebsocketConnectionMockRecorder) WriteMessage(messageType, data 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