web

package
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VDR

type VDR struct{}

VDR implements the VDR interface.

func New

func New() *VDR

New creates a new VDR struct.

func (*VDR) Accept

func (v *VDR) Accept(method string) bool

Accept method of the VDR interface.

func (*VDR) Build

func (v *VDR) Build(pubKey *vdr.PubKey, opts ...vdr.DocOpts) (*did.Doc, error)

Build creates a did:web diddoc (unsupported at the moment).

func (*VDR) Close

func (v *VDR) Close() error

Close method of the VDR interface.

func (*VDR) Read

func (v *VDR) Read(didID string, opts ...vdr.ResolveOpts) (*did.Doc, error)

Read resolves a did:web did.

func (*VDR) Store

func (v *VDR) Store(doc *did.Doc) error

Store method (unsupported at the moment).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL