cli

package
v2.0.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetQueryCmd

func GetQueryCmd(_ string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func NewAddressInfoCmd

func NewAddressInfoCmd() *cobra.Command

func NewCreateRevocationListCmd

func NewCreateRevocationListCmd() *cobra.Command

NewCreateRevocationListCmd update a revocation list

func NewIssuePublicCredentialCmd

func NewIssuePublicCredentialCmd() *cobra.Command

NewIssuePublicCredentialCmd defines the command to publish credentials

func NewMakeCredentialFromSchemaCmd

func NewMakeCredentialFromSchemaCmd() *cobra.Command

func NewPublishCredentialDefinitionCmd

func NewPublishCredentialDefinitionCmd() *cobra.Command

NewPublishCredentialDefinitionCmd defines the command to publish credential definitions

func NewQueryCredentialDefinitionCmd

func NewQueryCredentialDefinitionCmd() *cobra.Command

func NewQueryCredentialDefinitionsCmd

func NewQueryCredentialDefinitionsCmd() *cobra.Command

func NewQueryCredentialStatusCmd

func NewQueryCredentialStatusCmd() *cobra.Command

func NewQueryPublicCredentialCmd

func NewQueryPublicCredentialCmd() *cobra.Command

func NewQueryPublicCredentialStatusCmd

func NewQueryPublicCredentialStatusCmd() *cobra.Command

func NewQueryPublicCredentialsByIssuerCmd

func NewQueryPublicCredentialsByIssuerCmd() *cobra.Command

func NewUpdateRevocationListCmd

func NewUpdateRevocationListCmd() *cobra.Command

NewUpdateRevocationListCmd update a revocation list

Types

type CredentialSchema

type CredentialSchema struct {
	Schema   string `json:"$schema"`
	ID       string `json:"$id"`
	Metadata struct {
		Slug         string `json:"slug"`
		Version      string `json:"version"`
		Icon         string `json:"icon"`
		Discoverable bool   `json:"discoverable"`
		Uris         struct {
			JSONLdContextPlus string `json:"jsonLdContextPlus"`
			JSONLdContext     string `json:"jsonLdContext"`
			JSONSchema        string `json:"jsonSchema"`
		} `json:"uris"`
	} `json:"$metadata"`
	Title       string                 `json:"title"`
	Description string                 `json:"description"`
	Type        string                 `json:"type"`
	Required    []string               `json:"required"`
	Properties  map[string]interface{} `json:"properties"`
}

Jump to

Keyboard shortcuts

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