Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecorateWithRestFlags ¶ added in v0.3.2
function is called whenever is the reste server flags has to be added to command
func RegisterRoutes ¶
func RegisterRoutes(ctx client.CLIContext, mux *mux.Router)
RegisterRoutes register routes of all modules
func ServeCommands ¶
func ServeCommands(shutdownCtx ctx.Context, cdc *codec.Codec, registerRoutesFn func(ctx client.CLIContext, mux *mux.Router)) *cobra.Command
ServeCommands will generate a long-running rest server (aka Light Client Daemon) that exposes functionality similar to the cli, but over rest
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.