Documentation ¶
Index ¶
- type MockProvider
- func (p *MockProvider) LegacyKMS() legacykms.KeyManager
- func (p *MockProvider) OutboundDispatcher() dispatcher.Outbound
- func (p *MockProvider) Service(id string) (interface{}, error)
- func (p *MockProvider) Signer() legacykms.Signer
- func (p *MockProvider) StorageProvider() storage.Provider
- func (p *MockProvider) TransientStorageProvider() storage.Provider
- func (p *MockProvider) VDRIRegistry() vdriapi.Registry
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
Click to show internal directories.
Click to hide internal directories.