mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockDIDComm

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

MockDIDComm is a mock of DIDComm interface.

func NewMockDIDComm

func NewMockDIDComm(ctrl *gomock.Controller) *MockDIDComm

NewMockDIDComm creates a new mock instance.

func (*MockDIDComm) CheckSendMsg

func (m *MockDIDComm) CheckSendMsg(arg0 *comm.DIDCommMsg, arg1 int64, arg2 []id.Service, arg3 *comm.MessageSettings) (bool, error)

CheckSendMsg mocks base method.

func (*MockDIDComm) CheckWebsocketConnections added in v1.1.0

func (m *MockDIDComm) CheckWebsocketConnections() ([]string, error)

CheckWebsocketConnections mocks base method.

func (*MockDIDComm) EXPECT

func (m *MockDIDComm) EXPECT() *MockDIDCommMockRecorder

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

func (*MockDIDComm) SendMsg

func (m *MockDIDComm) SendMsg(arg0 *comm.DIDCommMsg, arg1 int64, arg2 []id.Service, arg3 *comm.MessageSettings) (string, error)

SendMsg mocks base method.

func (*MockDIDComm) Stop

func (m *MockDIDComm) Stop() error

Stop mocks base method.

type MockDIDCommMockRecorder

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

MockDIDCommMockRecorder is the mock recorder for MockDIDComm.

func (*MockDIDCommMockRecorder) CheckSendMsg

func (mr *MockDIDCommMockRecorder) CheckSendMsg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

CheckSendMsg indicates an expected call of CheckSendMsg.

func (*MockDIDCommMockRecorder) CheckWebsocketConnections added in v1.1.0

func (mr *MockDIDCommMockRecorder) CheckWebsocketConnections() *gomock.Call

CheckWebsocketConnections indicates an expected call of CheckWebsocketConnections.

func (*MockDIDCommMockRecorder) SendMsg

func (mr *MockDIDCommMockRecorder) SendMsg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

SendMsg indicates an expected call of SendMsg.

func (*MockDIDCommMockRecorder) Stop

func (mr *MockDIDCommMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

type MockDIDCommTransport

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

MockDIDCommTransport is a mock of DIDCommTransport interface.

func NewMockDIDCommTransport

func NewMockDIDCommTransport(ctrl *gomock.Controller) *MockDIDCommTransport

NewMockDIDCommTransport creates a new mock instance.

func (*MockDIDCommTransport) CheckMsg

func (m *MockDIDCommTransport) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool

CheckMsg mocks base method.

func (*MockDIDCommTransport) EXPECT

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

func (*MockDIDCommTransport) SendData

func (m *MockDIDCommTransport) SendData(arg0 string, arg1 *comm.DIDCommMsg) error

SendData mocks base method.

type MockDIDCommTransportMockRecorder

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

MockDIDCommTransportMockRecorder is the mock recorder for MockDIDCommTransport.

func (*MockDIDCommTransportMockRecorder) CheckMsg

func (mr *MockDIDCommTransportMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call

CheckMsg indicates an expected call of CheckMsg.

func (*MockDIDCommTransportMockRecorder) SendData

func (mr *MockDIDCommTransportMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call

SendData indicates an expected call of SendData.

type MockHttpComm

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

MockHttpComm is a mock of HttpComm interface.

func NewMockHttpComm

func NewMockHttpComm(ctrl *gomock.Controller) *MockHttpComm

NewMockHttpComm creates a new mock instance.

func (*MockHttpComm) CheckMsg

func (m *MockHttpComm) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool

CheckMsg mocks base method.

func (*MockHttpComm) EXPECT

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

func (*MockHttpComm) SendData

func (m *MockHttpComm) SendData(arg0 string, arg1 *comm.DIDCommMsg) error

SendData mocks base method.

func (*MockHttpComm) ServeHTTP

func (m *MockHttpComm) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method.

func (*MockHttpComm) Stop

func (m *MockHttpComm) Stop() error

Stop mocks base method.

type MockHttpCommMockRecorder

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

MockHttpCommMockRecorder is the mock recorder for MockHttpComm.

func (*MockHttpCommMockRecorder) CheckMsg

func (mr *MockHttpCommMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call

CheckMsg indicates an expected call of CheckMsg.

func (*MockHttpCommMockRecorder) SendData

func (mr *MockHttpCommMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call

SendData indicates an expected call of SendData.

func (*MockHttpCommMockRecorder) ServeHTTP

func (mr *MockHttpCommMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

func (*MockHttpCommMockRecorder) Stop

func (mr *MockHttpCommMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

type MockWebsocketComm

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

MockWebsocketComm is a mock of WebsocketComm interface.

func NewMockWebsocketComm

func NewMockWebsocketComm(ctrl *gomock.Controller) *MockWebsocketComm

NewMockWebsocketComm creates a new mock instance.

func (*MockWebsocketComm) CheckMsg

func (m *MockWebsocketComm) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool

CheckMsg mocks base method.

func (*MockWebsocketComm) ConnectedClients added in v1.1.0

func (m *MockWebsocketComm) ConnectedClients() []string

ConnectedClients mocks base method.

func (*MockWebsocketComm) EXPECT

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

func (*MockWebsocketComm) SendData

func (m *MockWebsocketComm) SendData(arg0 string, arg1 *comm.DIDCommMsg) error

SendData mocks base method.

func (*MockWebsocketComm) ServeHTTP

func (m *MockWebsocketComm) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)

ServeHTTP mocks base method.

func (*MockWebsocketComm) Stop

func (m *MockWebsocketComm) Stop() error

Stop mocks base method.

type MockWebsocketCommMockRecorder

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

MockWebsocketCommMockRecorder is the mock recorder for MockWebsocketComm.

func (*MockWebsocketCommMockRecorder) CheckMsg

func (mr *MockWebsocketCommMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call

CheckMsg indicates an expected call of CheckMsg.

func (*MockWebsocketCommMockRecorder) ConnectedClients added in v1.1.0

func (mr *MockWebsocketCommMockRecorder) ConnectedClients() *gomock.Call

ConnectedClients indicates an expected call of ConnectedClients.

func (*MockWebsocketCommMockRecorder) SendData

func (mr *MockWebsocketCommMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call

SendData indicates an expected call of SendData.

func (*MockWebsocketCommMockRecorder) ServeHTTP

func (mr *MockWebsocketCommMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call

ServeHTTP indicates an expected call of ServeHTTP.

func (*MockWebsocketCommMockRecorder) Stop

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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