rest

package
v0.0.0-...-4f551e9 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ModuleCdc = mtypes.ModuleCdc
)

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 BroadcastReq

type BroadcastReq struct {
	Tx   types.StdTx `json:"tx"`
	Mode string      `json:"mode"`
}

BroadcastReq defines a tx broadcasting request.

Jump to

Keyboard shortcuts

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