rest

package
v0.0.0-...-962cb54 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2020 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

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