rest

package
v0.0.16-bugfix Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryForbiddenAddrRequestHandlerFn

func QueryForbiddenAddrRequestHandlerFn(
	storeName string, cdc *codec.Codec, cliCtx context.CLIContext,
) http.HandlerFunc

QueryForbiddenAddrRequestHandlerFn - query assetREST Handler

func QueryParamsHandlerFn added in v0.0.13

func QueryParamsHandlerFn(storeName string, cliCtx context.CLIContext) http.HandlerFunc

HTTP request handler to query the asset params values

func QueryReservedSymbolsRequestHandlerFn

func QueryReservedSymbolsRequestHandlerFn(
	storeName string, cliCtx context.CLIContext,
) http.HandlerFunc

QueryReservedSymbolsRequestHandlerFn - query assetREST Handler

func QueryTokenRequestHandlerFn

func QueryTokenRequestHandlerFn(
	storeName string, cdc *codec.Codec, cliCtx context.CLIContext,
) http.HandlerFunc

QueryTokenRequestHandlerFn - query assetREST Handler

func QueryTokensRequestHandlerFn

func QueryTokensRequestHandlerFn(
	storeName string, cliCtx context.CLIContext,
) http.HandlerFunc

QueryTokensRequestHandlerFn - query assetREST Handler

func QueryWhitelistRequestHandlerFn

func QueryWhitelistRequestHandlerFn(
	storeName string, cdc *codec.Codec, cliCtx context.CLIContext,
) http.HandlerFunc

QueryWhitelistRequestHandlerFn - query assetREST Handler

func RegisterRoutes

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

register REST routes

Types

This section is empty.

Jump to

Keyboard shortcuts

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