Documentation ¶
Index ¶
- type Option
- type VDRI
- func (r *VDRI) Accept(method string) bool
- func (r *VDRI) Build(pubKey *vdriapi.PubKey, opts ...vdriapi.DocOpts) (*diddoc.Doc, error)
- func (r *VDRI) Close() error
- func (r *VDRI) Read(did string, opts ...vdriapi.ResolveOpts) (*diddoc.Doc, error)
- func (r *VDRI) Store(doc *did.Doc, by *[]vdriapi.ModifiedBy) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(opts *VDRI)
Option configures the peer vdri
func WithIndyClient ¶
func WithIndyClient(client indyClient) Option
func WithIndyVDRGenesisFile ¶
func WithIndyVDRGenesisReader ¶
func WithIndyVDRGenesisReader(genesisData io.ReadCloser) Option
Click to show internal directories.
Click to hide internal directories.