Versions in this module Expand all Collapse all v0 v0.1.0 Nov 13, 2019 Changes in this version + type CreateDIDOpts struct + KeyType string + ServiceEndpoint string + ServiceType string + type Creator interface + Create func(method string, opts ...DocOpts) (*did.Doc, error) + type DidMethod interface + Accept func(method string) bool + Build func(pubKey *PubKey, opts *CreateDIDOpts) (*did.Doc, error) + type DocOpts func(opts *CreateDIDOpts) + func WithKeyType(keyType string) DocOpts + func WithServiceEndpoint(serviceEndpoint string) DocOpts + func WithServiceType(serviceType string) DocOpts + type PubKey struct + Type string + Value string