connection

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 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.

Jump to

Keyboard shortcuts

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