Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentStorage ¶
type AgentStorage interface { Open() error Close() error KMS() kms.KeyManager DIDStorage() DIDStorage ConnectionStorage() ConnectionStorage CredentialStorage() CredentialStorage OurPackager() Packager // We needed direct wrapping to because Go couldn't keep on with transitive // type support of aggregated types. OpenStore(name string) (storage.Store, error) SetStoreConfig(name string, config storage.StoreConfiguration) error GetStoreConfig(name string) (storage.StoreConfiguration, error) GetOpenStores() []storage.Store }
type AgentStorageConfig ¶
type Connection ¶
type ConnectionStorage ¶
type ConnectionStorage interface { SaveConnection(conn Connection) error GetConnection(id string) (*Connection, error) ListConnections() ([]Connection, error) }
type CredentialStorage ¶
type CredentialStorage interface { }
type DIDMethod ¶
type DIDMethod string
const ( DIDMethodPrefix = "did:" DIDMethodKey DIDMethod = DIDMethodPrefix + "key" DIDMethodPeer DIDMethod = DIDMethodPrefix + "peer" DIDMethodIndy DIDMethod = DIDMethodPrefix + "indy" DIDMethodWeb DIDMethod = DIDMethodPrefix + "web" DIDMethodUnsupported DIDMethod = "unsupported" )
type DIDStorage ¶
Click to show internal directories.
Click to hide internal directories.