rest

package
v4.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProposePublicCredentialRESTHandler

func ProposePublicCredentialRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

ProposePublicCredentialRESTHandler returns propose public credential handler

func ProposeRemovePublicCredentialRESTHandler

func ProposeRemovePublicCredentialRESTHandler(clientCtx client.Context) govrest.ProposalRESTHandler

ProposeRemovePublicCredentialRESTHandler returns proposal handler to remove a public credential

Types

type ProposePublicCredentialID

type ProposePublicCredentialID struct {
	BaseReq                rest.BaseReq `json:"base_req" yaml:"base_req"`
	Title                  string       `json:"title" yaml:"title"`
	Description            string       `json:"description" yaml:"description"`
	Deposit                sdk.Coins    `json:"deposit" yaml:"deposit"`
	CredentialDefinitionID string       `json:"credential_definition_id" yaml:"credential_definition_id"`
}

type ProposeRemovePublicCredentialID

type ProposeRemovePublicCredentialID struct {
	BaseReq                rest.BaseReq `json:"base_req" yaml:"base_req"`
	Title                  string       `json:"title" yaml:"title"`
	Description            string       `json:"description" yaml:"description"`
	Deposit                sdk.Coins    `json:"deposit" yaml:"deposit"`
	CredentialDefinitionID string       `json:"credential_definition_id" yaml:"credential_definition_id"`
}

Jump to

Keyboard shortcuts

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