Documentation
¶
Index ¶
- Constants
- func NewDoc(publicKey []did.VerificationMethod, opts ...did.DocOption) (*did.Doc, error)
- type VDR
- func (v *VDR) Accept(method string) bool
- func (v *VDR) Build(pubKey *vdrapi.PubKey, opts ...vdrapi.DocOpts) (*did.Doc, error)
- func (v *VDR) Close() error
- func (v *VDR) Get(id string) (*did.Doc, error)
- func (v *VDR) Read(didID string, _ ...vdrapi.ResolveOpts) (*did.Doc, error)
- func (v *VDR) Store(doc *did.Doc, by *[]vdrapi.ModifiedBy) error
Constants ¶
View Source
const (
// DIDMethod is the peer did method name: https://identity.foundation/peer-did-method-spec/#method-name.
DIDMethod = "peer"
)
View Source
const (
// StoreNamespace store name space for DID Store.
StoreNamespace = "peer"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.