rest

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IssueID    = "issue-id"
	Feature    = "feature"
	AccAddress = "accAddress"
	From       = "from"
	FreezeType = "freeze-type"
	EndTime    = "end-time"
	Symbol     = "symbol"
	Amount     = "amount"
	To         = "to"
)

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, cdc *codec.Codec)

RegisterRoutes register distribution REST routes.

Types

type PostDescriptionReq

type PostDescriptionReq struct {
	BaseReq     rest.BaseReq `json:"base_req"`
	Description string       `json:"description"`
}

type PostIssueBaseReq

type PostIssueBaseReq struct {
	BaseReq rest.BaseReq `json:"base_req"`
}

type PostIssueReq

type PostIssueReq struct {
	BaseReq            rest.BaseReq `json:"base_req"`
	params.IssueParams `json:"issue"`
}

Jump to

Keyboard shortcuts

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