rest

package
Version: v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RestPurchaseOrderId = "poid"
	RestPurchaserAddr   = "purchaser"
	RestStatus          = "status"
	RestWhitelistAddr   = "address"
)

nolint

Variables

This section is empty.

Functions

func EnterpriseAuthAccountOverride

func EnterpriseAuthAccountOverride(cliCtx context.CLIContext) http.HandlerFunc

func EnterpriseSupplyByDenomOverride

func EnterpriseSupplyByDenomOverride(cliCtx context.CLIContext) http.HandlerFunc

func EnterpriseSupplyTotalOverride

func EnterpriseSupplyTotalOverride(cliCtx context.CLIContext) http.HandlerFunc

func RegisterAuthAccountOverride

func RegisterAuthAccountOverride(cliCtx context.CLIContext, r *mux.Router)

RegisterAuthAccountOverride registers a REST route to override the default /auth/accounts/{address} path and additionally return Enterprise Locked FUND data

func RegisterRoutes

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

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

func RegisterTotalSupplyOverride

func RegisterTotalSupplyOverride(cliCtx context.CLIContext, r *mux.Router)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL