did

package
v1.2.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DIDPrefix is the prefix string
	DIDPrefix = "did:io:"
	// DIDAuthType is the authentication type
	DIDAuthType = "EcdsaSecp256k1VerificationKey2019"
	// DIDOwner is the suffix string
	DIDOwner = "#owner"
)
View Source
const (

	// DIDABI is the did abi
	DIDABI = `` /* 1110-byte string literal not displayed */
)

Variables

View Source
var (
	DIDCmdShorts = map[config.Language]string{
		config.English: "DID command",
		config.Chinese: "DID command",
	}
	DIDCmdUses = map[config.Language]string{
		config.English: "did command",
		config.Chinese: "did command",
	}
)

Multi-language support

DIDCmd represents the DID command

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Context        string                 `json:"@context,omitempty"`
	ID             string                 `json:"id,omitempty"`
	Authentication []authenticationStruct `json:"authentication,omitempty"`
}

Doc is the DID document struct

Jump to

Keyboard shortcuts

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