Documentation ¶
Index ¶
- type MockOobService
- func (m *MockOobService) AcceptInvitation(arg0 *outofband.Invitation, arg1 outofband.Options) (string, error)
- func (m *MockOobService) ActionContinue(arg0 string, arg1 outofband.Options) error
- func (m *MockOobService) ActionStop(arg0 string, arg1 error) error
- func (m *MockOobService) Actions() ([]outofband.Action, error)
- func (m *MockOobService) Initialize(interface{}) error
- func (m *MockOobService) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockOobService) RegisterMsgEvent(arg0 chan<- service.StateMsg) error
- func (m *MockOobService) SaveInvitation(arg0 *outofband.Invitation) error
- func (m *MockOobService) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
- func (m *MockOobService) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOobService ¶
type MockOobService struct { AcceptInvitationHandle func(*outofband.Invitation, outofband.Options) (string, error) ActionContinueHandle func(string, outofband.Options) error ActionStopHandle func(string, error) error ActionsHandle func() ([]outofband.Action, error) RegisterActionEventHandle func(chan<- service.DIDCommAction) error RegisterMsgEventHandle func(chan<- service.StateMsg) error SaveInvitationHandle func(*outofband.Invitation) error UnregisterActionEventHandle func(chan<- service.DIDCommAction) error UnregisterMsgEventHandle func(chan<- service.StateMsg) error }
MockOobService is a mock of OobService interface.
func (*MockOobService) AcceptInvitation ¶
func (m *MockOobService) AcceptInvitation(arg0 *outofband.Invitation, arg1 outofband.Options) (string, error)
AcceptInvitation mock implementation.
func (*MockOobService) ActionContinue ¶
func (m *MockOobService) ActionContinue(arg0 string, arg1 outofband.Options) error
ActionContinue mock implementation.
func (*MockOobService) ActionStop ¶
func (m *MockOobService) ActionStop(arg0 string, arg1 error) error
ActionStop mock implementation.
func (*MockOobService) Actions ¶
func (m *MockOobService) Actions() ([]outofband.Action, error)
Actions mock implementation.
func (*MockOobService) Initialize ¶
func (m *MockOobService) Initialize(interface{}) error
Initialize service.
func (*MockOobService) RegisterActionEvent ¶
func (m *MockOobService) RegisterActionEvent(arg0 chan<- service.DIDCommAction) error
RegisterActionEvent mock implementation.
func (*MockOobService) RegisterMsgEvent ¶
func (m *MockOobService) RegisterMsgEvent(arg0 chan<- service.StateMsg) error
RegisterMsgEvent mock implementation.
func (*MockOobService) SaveInvitation ¶
func (m *MockOobService) SaveInvitation(arg0 *outofband.Invitation) error
SaveInvitation mock implementation.
func (*MockOobService) UnregisterActionEvent ¶
func (m *MockOobService) UnregisterActionEvent(arg0 chan<- service.DIDCommAction) error
UnregisterActionEvent mock implementation.
func (*MockOobService) UnregisterMsgEvent ¶
func (m *MockOobService) UnregisterMsgEvent(arg0 chan<- service.StateMsg) error
UnregisterMsgEvent mock implementation.
Click to show internal directories.
Click to hide internal directories.