outofband

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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 added in v0.1.8

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.

Jump to

Keyboard shortcuts

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