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 ¶
- type MockDIDComm
- func (m *MockDIDComm) CheckSendMsg(arg0 *comm.DIDCommMsg, arg1 int64, arg2 []id.Service, ...) (bool, error)
- func (m *MockDIDComm) CheckWebsocketConnections() ([]string, error)
- func (m *MockDIDComm) EXPECT() *MockDIDCommMockRecorder
- func (m *MockDIDComm) SendMsg(arg0 *comm.DIDCommMsg, arg1 int64, arg2 []id.Service, ...) (string, error)
- func (m *MockDIDComm) Stop() error
- type MockDIDCommMockRecorder
- func (mr *MockDIDCommMockRecorder) CheckSendMsg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) CheckWebsocketConnections() *gomock.Call
- func (mr *MockDIDCommMockRecorder) SendMsg(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) Stop() *gomock.Call
- type MockDIDCommTransport
- type MockDIDCommTransportMockRecorder
- type MockHttpComm
- func (m *MockHttpComm) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool
- func (m *MockHttpComm) EXPECT() *MockHttpCommMockRecorder
- func (m *MockHttpComm) SendData(arg0 string, arg1 *comm.DIDCommMsg) error
- func (m *MockHttpComm) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- func (m *MockHttpComm) Stop() error
- type MockHttpCommMockRecorder
- func (mr *MockHttpCommMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpCommMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpCommMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockHttpCommMockRecorder) Stop() *gomock.Call
- type MockWebsocketComm
- func (m *MockWebsocketComm) CheckMsg(arg0 string, arg1 *comm.DIDCommMsg) bool
- func (m *MockWebsocketComm) ConnectedClients() []string
- func (m *MockWebsocketComm) EXPECT() *MockWebsocketCommMockRecorder
- func (m *MockWebsocketComm) SendData(arg0 string, arg1 *comm.DIDCommMsg) error
- func (m *MockWebsocketComm) ServeHTTP(arg0 http.ResponseWriter, arg1 *http.Request)
- func (m *MockWebsocketComm) Stop() error
- type MockWebsocketCommMockRecorder
- func (mr *MockWebsocketCommMockRecorder) CheckMsg(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWebsocketCommMockRecorder) ConnectedClients() *gomock.Call
- func (mr *MockWebsocketCommMockRecorder) SendData(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWebsocketCommMockRecorder) ServeHTTP(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWebsocketCommMockRecorder) Stop() *gomock.Call
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.
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 ¶
func (m *MockDIDCommTransport) EXPECT() *MockDIDCommTransportMockRecorder
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 ¶
func (m *MockHttpComm) EXPECT() *MockHttpCommMockRecorder
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.
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 ¶
func (m *MockWebsocketComm) EXPECT() *MockWebsocketCommMockRecorder
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.
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 ¶
func (mr *MockWebsocketCommMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.