Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnectionsLookup ¶
type MockConnectionsLookup struct { ConnIDByDIDs string ConnIDByDIDsErr error ConnRecord *connection.Record ConnRecordErr error }
MockConnectionsLookup mock connections lookup.
func (*MockConnectionsLookup) GetConnectionIDByDIDs ¶
func (c *MockConnectionsLookup) GetConnectionIDByDIDs(myDID, theirDID string) (string, error)
GetConnectionIDByDIDs returns the connection id based on dids (my or their did) metadata.
func (*MockConnectionsLookup) GetConnectionRecord ¶
func (c *MockConnectionsLookup) GetConnectionRecord(id string) (*connection.Record, error)
GetConnectionRecord returns the connection record based on the connection ID.
func (*MockConnectionsLookup) GetConnectionRecordByDIDs ¶ added in v0.1.8
func (c *MockConnectionsLookup) GetConnectionRecordByDIDs(myDID, theirDID string) (*connection.Record, error)
GetConnectionRecordByDIDs returns the connection record based on the connection ID.
Click to show internal directories.
Click to hide internal directories.