Versions in this module Expand all Collapse all v0 v0.1.0 Nov 13, 2019 Changes in this version + var ErrNotFound = errors.New("DID not found") + type DIDResolver struct + func New(opts ...Opt) *DIDResolver + func (r *DIDResolver) Resolve(did string, opts ...ResolveOpt) (*diddoc.Doc, error) + type DidMethod interface + Accept func(method string) bool + Read func(did string, opts ...ResolveOpt) (*did.Doc, error) + type Opt func(opts *didResolverOpts) + func WithDidMethod(method DidMethod) Opt + type ResolveOpt func(opts *resolveOpts) + func WithNoCache(noCache bool) ResolveOpt + func WithResultType(resultType ResultType) ResolveOpt + func WithVersionID(versionID interface{}) ResolveOpt + func WithVersionTime(versionTime time.Time) ResolveOpt + type Resolver interface + Resolve func(did string, opts ...ResolveOpt) (*did.Doc, error) + type ResultType int + const DidDocumentResult + const ResolutionResult