Documentation ¶
Index ¶
- type CosmosRegistry
- func (r *CosmosRegistry) Close() error
- func (r *CosmosRegistry) Create(method string, did *did.Doc, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (r *CosmosRegistry) Deactivate(did string, opts ...vdr.DIDMethodOption) error
- func (r *CosmosRegistry) Resolve(did string, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (r *CosmosRegistry) Update(did *did.Doc, opts ...vdr.DIDMethodOption) error
- type CosmosVDR
- func (vdr CosmosVDR) Accept(method string) bool
- func (vdr CosmosVDR) Close() error
- func (vdr CosmosVDR) Create(did *did.Doc, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (vdr CosmosVDR) Deactivate(did string, opts ...vdr.DIDMethodOption) error
- func (vdr CosmosVDR) Read(did string, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
- func (vdr CosmosVDR) Update(did *did.Doc, opts ...vdr.DIDMethodOption) error
- type LocalNotifier
- type SSIWallet
- func (s *SSIWallet) AddMediator(connectionID string)
- func (s *SSIWallet) Close()
- func (s SSIWallet) GetContext() *context.Provider
- func (s SSIWallet) GetMessagingClient() *messaging.Client
- func (s *SSIWallet) HandleInvitation(invitation *didexchange.Invitation) (connection *didexchange.Connection)
- func (s *SSIWallet) Run(hub *config.MsgHub)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CosmosRegistry ¶
type CosmosRegistry struct{}
CosmosRegistry vdr registry.
func (*CosmosRegistry) Close ¶
func (r *CosmosRegistry) Close() error
func (*CosmosRegistry) Create ¶
func (r *CosmosRegistry) Create(method string, did *did.Doc, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
func (*CosmosRegistry) Deactivate ¶
func (r *CosmosRegistry) Deactivate(did string, opts ...vdr.DIDMethodOption) error
func (*CosmosRegistry) Resolve ¶
func (r *CosmosRegistry) Resolve(did string, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
func (*CosmosRegistry) Update ¶
func (r *CosmosRegistry) Update(did *did.Doc, opts ...vdr.DIDMethodOption) error
type CosmosVDR ¶
type CosmosVDR struct { }
CosmosVDR verifiable data registry
func (CosmosVDR) Create ¶
func (vdr CosmosVDR) Create(did *did.Doc, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
func (CosmosVDR) Deactivate ¶
func (vdr CosmosVDR) Deactivate(did string, opts ...vdr.DIDMethodOption) error
func (CosmosVDR) Read ¶
func (vdr CosmosVDR) Read(did string, opts ...vdr.DIDMethodOption) (*did.DocResolution, error)
type LocalNotifier ¶
type LocalNotifier struct { RuntimeMsgs *config.MsgHub ConnectionLookup *connection.Lookup }
LocalNotifier handles message events
func NewNotifier ¶
func NewNotifier(ctx *context.Provider, RuntimeMsgs *config.MsgHub) *LocalNotifier
NewNotifier return notifier instance.
type SSIWallet ¶
type SSIWallet struct { ControllerDID string ControllerName string MediatorDID string // contains filtered or unexported fields }
SSIWallet is the wallet
func (*SSIWallet) AddMediator ¶
func (SSIWallet) GetContext ¶
func (SSIWallet) GetMessagingClient ¶
func (*SSIWallet) HandleInvitation ¶
func (s *SSIWallet) HandleInvitation( invitation *didexchange.Invitation, ) (connection *didexchange.Connection)
Click to show internal directories.
Click to hide internal directories.