rest

package
v0.0.0-...-1237470 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ChainId = "chain_id"
	Height  = "height"
)

Variables

This section is empty.

Functions

func RegisterRoutes

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

RegisterRoutes registers minting module REST handlers on the provided router.

func SyncHeadersRequestHandlerFn

func SyncHeadersRequestHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

Types

type SyncHeadersReq

type SyncHeadersReq struct {
	BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"`
	Headers []string     `json:"headers" yaml:"headers"`
}

SendReq defines the properties of a send request's body.

Jump to

Keyboard shortcuts

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