provider

package
v0.1.6-0...-5c25bcb Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	ServiceValue                      interface{}
	ServiceErr                        error
	ServiceMap                        map[string]interface{}
	KMSValue                          kms.KeyManager
	ServiceEndpointValue              string
	StorageProviderValue              storage.Provider
	ProtocolStateStorageProviderValue storage.Provider
	PackerList                        []packer.Packer
	PackerValue                       packer.Packer
	OutboundDispatcherValue           dispatcher.Outbound
	VDRegistryValue                   vdrapi.Registry
	CryptoValue                       crypto.Crypto
}

Provider mocks provider needed for did exchange service initialization.

func (*Provider) Crypto

func (p *Provider) Crypto() crypto.Crypto

Crypto returns a crypto.

func (*Provider) KMS

func (p *Provider) KMS() kms.KeyManager

KMS returns a kms instance.

func (*Provider) OutboundDispatcher

func (p *Provider) OutboundDispatcher() dispatcher.Outbound

OutboundDispatcher return outbound dispatcher.

func (*Provider) Packers

func (p *Provider) Packers() []packer.Packer

Packers returns the available Packer services.

func (*Provider) PrimaryPacker

func (p *Provider) PrimaryPacker() packer.Packer

PrimaryPacker returns the main Packer service.

func (*Provider) ProtocolStateStorageProvider

func (p *Provider) ProtocolStateStorageProvider() storage.Provider

ProtocolStateStorageProvider returns the protocol state storage provider.

func (*Provider) RouterEndpoint

func (p *Provider) RouterEndpoint() string

RouterEndpoint returns the router transport endpoint.

func (*Provider) Service

func (p *Provider) Service(id string) (interface{}, error)

Service return service.

func (*Provider) ServiceEndpoint

func (p *Provider) ServiceEndpoint() string

ServiceEndpoint returns the service endpoint.

func (*Provider) StorageProvider

func (p *Provider) StorageProvider() storage.Provider

StorageProvider returns the storage provider.

func (*Provider) VDRegistry

func (p *Provider) VDRegistry() vdrapi.Registry

VDRegistry return vdr registry.

Jump to

Keyboard shortcuts

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