Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSvcNotFound = errors.New("service not found")
ErrSvcNotFound is returned when service not found.
Functions ¶
This section is empty.
Types ¶
type MessageServiceProvider ¶
type MessageServiceProvider interface { // Services returns list of available message services in this message handler Services() []dispatcher.MessageService }
MessageServiceProvider is provider of message services.
type ProtocolSvcCreator ¶
type ProtocolSvcCreator func(prv Provider) (dispatcher.ProtocolService, error)
ProtocolSvcCreator method to create new protocol service.
type Provider ¶
type Provider interface { OutboundDispatcher() dispatcher.Outbound Messenger() service.Messenger Service(id string) (interface{}, error) StorageProvider() storage.Provider KMS() kms.KeyManager SecretLock() secretlock.Service Crypto() crypto.Crypto Packager() transport.Packager ServiceEndpoint() string RouterEndpoint() string VDRegistry() vdrapi.Registry ProtocolStateStorageProvider() storage.Provider InboundMessageHandler() didcommtransport.InboundMessageHandler OutboundMessageHandler() service.OutboundHandler VerifiableStore() verifiable.Store }
Provider interface for protocol ctx.
Click to show internal directories.
Click to hide internal directories.