api

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSvcNotFound = errors.New("service not found")

ErrSvcNotFound is returned when service not found

Functions

This section is empty.

Types

type CloseableKMS

type CloseableKMS interface {
	io.Closer
	kms.KeyManager
	kms.Signer
}

CloseableKMS interface

type KMSCreator

type KMSCreator func(provider Provider) (CloseableKMS, error)

KMSCreator method to create new key management service

type ProtocolSvcCreator

type ProtocolSvcCreator func(prv Provider) (dispatcher.Service, error)

ProtocolSvcCreator method to create new protocol service

type Provider

type Provider interface {
	OutboundDispatcher() dispatcher.Outbound
	Service(id string) (interface{}, error)
	StorageProvider() storage.Provider
	KMS() kms.KeyManager
	Packager() transport.Packager
	InboundTransportEndpoint() string
	DIDCreator() didcreator.Creator
	Signer() kms.Signer
	DIDResolver() didresolver.Resolver
	DIDStore() didstore.Storage
	TransientStorageProvider() storage.Provider
}

Provider interface for protocol ctx

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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