protocol

package
v0.1.3-0...-617a0de Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2020 License: Apache-2.0 Imports: 10 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
	CustomMessenger        *mockservice.MockMessenger
	CustomKMS              *mockkms.CloseableKMS
	ServiceErr             error
	ServiceMap             map[string]interface{}
}

MockProvider is provider for DIDExchange Service

func (*MockProvider) LegacyKMS

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

LegacyKMS returns mock LegacyKMS

func (*MockProvider) Messenger

func (p *MockProvider) Messenger() service.Messenger

Messenger return mock messenger

func (*MockProvider) OutboundDispatcher

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

OutboundDispatcher is mock outbound dispatcher for DID exchange service

func (*MockProvider) Service

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

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