rest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, storeName string)

RegisterRoutes - Central function to define routes that get registered by the main application

Types

type PostMintReq

type PostMintReq struct {
	BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
	Minter  string       `json:"minter" yaml:"minter"` // Address of the minter
}

PostProposalReq defines the properties of a proposal request's body.

Jump to

Keyboard shortcuts

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