Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct { ActionEventFunc func(chan<- service.DIDCommAction) error CreateConnErr error GetConnectionErr error }
MockClient is a mock didexchange.MockClient used in tests.
func (*MockClient) CreateConnection ¶
func (c *MockClient) CreateConnection(_ string, _ *did.Doc, _ ...didexchange.ConnectionOption) (string, error)
CreateConnection creates connection.
func (*MockClient) GetConnection ¶
func (c *MockClient) GetConnection(connectionID string) (*didexchange.Connection, error)
GetConnection fetches connection record based on connID.
func (*MockClient) RegisterActionEvent ¶
func (c *MockClient) RegisterActionEvent(actions chan<- service.DIDCommAction) error
RegisterActionEvent registers the action event channel.
Click to show internal directories.
Click to hide internal directories.