protocol

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockProvider

type MockProvider struct {
	StoreProvider          *mockstore.MockStoreProvider
	TransientStoreProvider *mockstore.MockStoreProvider
	CustomVDRI             vdriapi.Registry
	CustomOutbound         *mockdispatcher.MockOutbound
	CustomKMS              *mockkms.CloseableKMS
	ServiceErr             error
	ServiceMap             map[string]interface{}
}

MockProvider is provider for DIDExchange Service

func (*MockProvider) LegacyKMS added in v0.1.2

func (p *MockProvider) LegacyKMS() legacykms.KeyManager

LegacyKMS returns mock LegacyKMS

func (*MockProvider) OutboundDispatcher

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

OutboundDispatcher is mock outbound dispatcher for DID exchange service

func (*MockProvider) Service added in v0.1.1

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

Service return service

func (*MockProvider) Signer

func (p *MockProvider) Signer() legacykms.Signer

Signer is mock signer for DID exchange service

func (*MockProvider) StorageProvider

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

StorageProvider is mock storage provider for DID exchange service

func (*MockProvider) TransientStorageProvider

func (p *MockProvider) TransientStorageProvider() storage.Provider

TransientStorageProvider is mock transient storage provider for DID exchange service

func (*MockProvider) VDRIRegistry added in v0.1.1

func (p *MockProvider) VDRIRegistry() vdriapi.Registry

VDRIRegistry is mock vdri registry

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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