model

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DIDResolution

type DIDResolution struct {
	Context          interface{}     `json:"@context"`
	DIDDocument      json.RawMessage `json:"didDocument"`
	ResolverMetadata json.RawMessage `json:"resolverMetadata"`
	MethodMetadata   json.RawMessage `json:"methodMetadata"`
}

DIDResolution did resolution

type FileIndex

type FileIndex struct {
	BasePath string            `json:"basePath"`
	Mappings map[string]string `json:"mappings,omitempty"`
}

FileIndex contains the mappings of file name to ID

type FileIndexDoc

type FileIndexDoc struct {
	ID           string    `json:"id"`
	UniqueSuffix string    `json:"did_suffix"`
	FileIndex    FileIndex `json:"fileIndex"`
}

FileIndexDoc contains a file index document

Jump to

Keyboard shortcuts

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