Documentation ¶
Index ¶
- type MockProvider
- func (p *MockProvider) LegacyKMS() legacykms.KeyManager
- func (p *MockProvider) Messenger() service.Messenger
- 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 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
Click to show internal directories.
Click to hide internal directories.