Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockDIDComm
- func (m *MockDIDComm) EXPECT() *MockDIDCommMockRecorder
- func (m *MockDIDComm) HandleInbound(arg0 service.DIDCommMsg, arg1 service.DIDCommContext) (string, error)
- func (m *MockDIDComm) HandleOutbound(arg0 service.DIDCommMsg, arg1, arg2 string) (string, error)
- func (m *MockDIDComm) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockDIDComm) RegisterMsgEvent(arg0 chan<- service.StateMsg) error
- func (m *MockDIDComm) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockDIDComm) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error
- type MockDIDCommMockRecorder
- func (mr *MockDIDCommMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) HandleOutbound(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call
- func (mr *MockDIDCommMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call
- type MockEvent
- func (m *MockEvent) EXPECT() *MockEventMockRecorder
- func (m *MockEvent) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockEvent) RegisterMsgEvent(arg0 chan<- service.StateMsg) error
- func (m *MockEvent) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockEvent) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error
- type MockEventMockRecorder
- func (mr *MockEventMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call
- func (mr *MockEventMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call
- func (mr *MockEventMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call
- func (mr *MockEventMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call
- type MockMessenger
- func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder
- func (m *MockMessenger) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error
- func (m *MockMessenger) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error
- func (m *MockMessenger) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error
- func (m *MockMessenger) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error
- func (m *MockMessenger) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, ...) error
- type MockMessengerHandler
- func (m *MockMessengerHandler) EXPECT() *MockMessengerHandlerMockRecorder
- func (m *MockMessengerHandler) HandleInbound(arg0 service.DIDCommMsgMap, arg1 service.DIDCommContext) error
- func (m *MockMessengerHandler) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error
- func (m *MockMessengerHandler) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error
- func (m *MockMessengerHandler) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error
- func (m *MockMessengerHandler) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error
- func (m *MockMessengerHandler) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, ...) error
- type MockMessengerHandlerMockRecorder
- func (mr *MockMessengerHandlerMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessengerHandlerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockMessengerHandlerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockMessengerHandlerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessengerHandlerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockMessengerHandlerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- type MockMessengerMockRecorder
- func (mr *MockMessengerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
- func (mr *MockMessengerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *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) EXPECT ¶
func (m *MockDIDComm) EXPECT() *MockDIDCommMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDIDComm) HandleInbound ¶
func (m *MockDIDComm) HandleInbound(arg0 service.DIDCommMsg, arg1 service.DIDCommContext) (string, error)
HandleInbound mocks base method.
func (*MockDIDComm) HandleOutbound ¶
func (m *MockDIDComm) HandleOutbound(arg0 service.DIDCommMsg, arg1, arg2 string) (string, error)
HandleOutbound mocks base method.
func (*MockDIDComm) RegisterActionEvent ¶
func (m *MockDIDComm) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
RegisterActionEvent mocks base method.
func (*MockDIDComm) RegisterMsgEvent ¶
func (m *MockDIDComm) RegisterMsgEvent(arg0 chan<- service.StateMsg) error
RegisterMsgEvent mocks base method.
func (*MockDIDComm) UnregisterActionEvent ¶
func (m *MockDIDComm) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
UnregisterActionEvent mocks base method.
func (*MockDIDComm) UnregisterMsgEvent ¶
func (m *MockDIDComm) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error
UnregisterMsgEvent mocks base method.
type MockDIDCommMockRecorder ¶
type MockDIDCommMockRecorder struct {
// contains filtered or unexported fields
}
MockDIDCommMockRecorder is the mock recorder for MockDIDComm.
func (*MockDIDCommMockRecorder) HandleInbound ¶
func (mr *MockDIDCommMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call
HandleInbound indicates an expected call of HandleInbound.
func (*MockDIDCommMockRecorder) HandleOutbound ¶
func (mr *MockDIDCommMockRecorder) HandleOutbound(arg0, arg1, arg2 interface{}) *gomock.Call
HandleOutbound indicates an expected call of HandleOutbound.
func (*MockDIDCommMockRecorder) RegisterActionEvent ¶
func (mr *MockDIDCommMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call
RegisterActionEvent indicates an expected call of RegisterActionEvent.
func (*MockDIDCommMockRecorder) RegisterMsgEvent ¶
func (mr *MockDIDCommMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call
RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
func (*MockDIDCommMockRecorder) UnregisterActionEvent ¶
func (mr *MockDIDCommMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call
UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
func (*MockDIDCommMockRecorder) UnregisterMsgEvent ¶
func (mr *MockDIDCommMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call
UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
type MockEvent ¶
type MockEvent struct {
// contains filtered or unexported fields
}
MockEvent is a mock of Event interface.
func NewMockEvent ¶
func NewMockEvent(ctrl *gomock.Controller) *MockEvent
NewMockEvent creates a new mock instance.
func (*MockEvent) EXPECT ¶
func (m *MockEvent) EXPECT() *MockEventMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEvent) RegisterActionEvent ¶
func (m *MockEvent) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
RegisterActionEvent mocks base method.
func (*MockEvent) RegisterMsgEvent ¶
RegisterMsgEvent mocks base method.
func (*MockEvent) UnregisterActionEvent ¶
func (m *MockEvent) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
UnregisterActionEvent mocks base method.
type MockEventMockRecorder ¶
type MockEventMockRecorder struct {
// contains filtered or unexported fields
}
MockEventMockRecorder is the mock recorder for MockEvent.
func (*MockEventMockRecorder) RegisterActionEvent ¶
func (mr *MockEventMockRecorder) RegisterActionEvent(arg0 interface{}) *gomock.Call
RegisterActionEvent indicates an expected call of RegisterActionEvent.
func (*MockEventMockRecorder) RegisterMsgEvent ¶
func (mr *MockEventMockRecorder) RegisterMsgEvent(arg0 interface{}) *gomock.Call
RegisterMsgEvent indicates an expected call of RegisterMsgEvent.
func (*MockEventMockRecorder) UnregisterActionEvent ¶
func (mr *MockEventMockRecorder) UnregisterActionEvent(arg0 interface{}) *gomock.Call
UnregisterActionEvent indicates an expected call of UnregisterActionEvent.
func (*MockEventMockRecorder) UnregisterMsgEvent ¶
func (mr *MockEventMockRecorder) UnregisterMsgEvent(arg0 interface{}) *gomock.Call
UnregisterMsgEvent indicates an expected call of UnregisterMsgEvent.
type MockMessenger ¶
type MockMessenger struct {
// contains filtered or unexported fields
}
MockMessenger is a mock of Messenger interface.
func NewMockMessenger ¶
func NewMockMessenger(ctrl *gomock.Controller) *MockMessenger
NewMockMessenger creates a new mock instance.
func (*MockMessenger) EXPECT ¶
func (m *MockMessenger) EXPECT() *MockMessengerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessenger) ReplyTo ¶
func (m *MockMessenger) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error
ReplyTo mocks base method.
func (*MockMessenger) ReplyToMsg ¶
func (m *MockMessenger) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error
ReplyToMsg mocks base method.
func (*MockMessenger) ReplyToNested ¶
func (m *MockMessenger) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error
ReplyToNested mocks base method.
func (*MockMessenger) Send ¶
func (m *MockMessenger) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error
Send mocks base method.
func (*MockMessenger) SendToDestination ¶
func (m *MockMessenger) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, arg3 ...service.Opt) error
SendToDestination mocks base method.
type MockMessengerHandler ¶
type MockMessengerHandler struct {
// contains filtered or unexported fields
}
MockMessengerHandler is a mock of MessengerHandler interface.
func NewMockMessengerHandler ¶
func NewMockMessengerHandler(ctrl *gomock.Controller) *MockMessengerHandler
NewMockMessengerHandler creates a new mock instance.
func (*MockMessengerHandler) EXPECT ¶
func (m *MockMessengerHandler) EXPECT() *MockMessengerHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMessengerHandler) HandleInbound ¶
func (m *MockMessengerHandler) HandleInbound(arg0 service.DIDCommMsgMap, arg1 service.DIDCommContext) error
HandleInbound mocks base method.
func (*MockMessengerHandler) ReplyTo ¶
func (m *MockMessengerHandler) ReplyTo(arg0 string, arg1 service.DIDCommMsgMap, arg2 ...service.Opt) error
ReplyTo mocks base method.
func (*MockMessengerHandler) ReplyToMsg ¶
func (m *MockMessengerHandler) ReplyToMsg(arg0, arg1 service.DIDCommMsgMap, arg2, arg3 string, arg4 ...service.Opt) error
ReplyToMsg mocks base method.
func (*MockMessengerHandler) ReplyToNested ¶
func (m *MockMessengerHandler) ReplyToNested(arg0 service.DIDCommMsgMap, arg1 *service.NestedReplyOpts) error
ReplyToNested mocks base method.
func (*MockMessengerHandler) Send ¶
func (m *MockMessengerHandler) Send(arg0 service.DIDCommMsgMap, arg1, arg2 string, arg3 ...service.Opt) error
Send mocks base method.
func (*MockMessengerHandler) SendToDestination ¶
func (m *MockMessengerHandler) SendToDestination(arg0 service.DIDCommMsgMap, arg1 string, arg2 *service.Destination, arg3 ...service.Opt) error
SendToDestination mocks base method.
type MockMessengerHandlerMockRecorder ¶
type MockMessengerHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessengerHandlerMockRecorder is the mock recorder for MockMessengerHandler.
func (*MockMessengerHandlerMockRecorder) HandleInbound ¶
func (mr *MockMessengerHandlerMockRecorder) HandleInbound(arg0, arg1 interface{}) *gomock.Call
HandleInbound indicates an expected call of HandleInbound.
func (*MockMessengerHandlerMockRecorder) ReplyTo ¶
func (mr *MockMessengerHandlerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ReplyTo indicates an expected call of ReplyTo.
func (*MockMessengerHandlerMockRecorder) ReplyToMsg ¶
func (mr *MockMessengerHandlerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
ReplyToMsg indicates an expected call of ReplyToMsg.
func (*MockMessengerHandlerMockRecorder) ReplyToNested ¶
func (mr *MockMessengerHandlerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call
ReplyToNested indicates an expected call of ReplyToNested.
func (*MockMessengerHandlerMockRecorder) Send ¶
func (mr *MockMessengerHandlerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockMessengerHandlerMockRecorder) SendToDestination ¶
func (mr *MockMessengerHandlerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
SendToDestination indicates an expected call of SendToDestination.
type MockMessengerMockRecorder ¶
type MockMessengerMockRecorder struct {
// contains filtered or unexported fields
}
MockMessengerMockRecorder is the mock recorder for MockMessenger.
func (*MockMessengerMockRecorder) ReplyTo ¶
func (mr *MockMessengerMockRecorder) ReplyTo(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ReplyTo indicates an expected call of ReplyTo.
func (*MockMessengerMockRecorder) ReplyToMsg ¶
func (mr *MockMessengerMockRecorder) ReplyToMsg(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call
ReplyToMsg indicates an expected call of ReplyToMsg.
func (*MockMessengerMockRecorder) ReplyToNested ¶
func (mr *MockMessengerMockRecorder) ReplyToNested(arg0, arg1 interface{}) *gomock.Call
ReplyToNested indicates an expected call of ReplyToNested.
func (*MockMessengerMockRecorder) Send ¶
func (mr *MockMessengerMockRecorder) Send(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockMessengerMockRecorder) SendToDestination ¶
func (mr *MockMessengerMockRecorder) SendToDestination(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
SendToDestination indicates an expected call of SendToDestination.