Documentation ¶
Index ¶
- func AddGuardianCmd(cdc *amino.Codec) *cobra.Command
- func CreateGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func DeleteGuardianCmd(cdc *amino.Codec) *cobra.Command
- func DeleteGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func HaltCmd(cdc *amino.Codec) *cobra.Command
- func HaltNetWorkHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func QueryCommands(cdc *amino.Codec) []*cobra.Command
- func QueryGuardianCmd(cdc *amino.Codec) *cobra.Command
- func QueryGuardianHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func QueryGuardiansCmd(cdc *amino.Codec) *cobra.Command
- func QueryGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
- func RegisterRoutes(ctx context.CLIContext, r *mux.Router)
- func TxCommands(cdc *amino.Codec) []*cobra.Command
- type CreateGuardiansReq
- type DeleteGuardiansReq
- type HaltNetworkReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateGuardiansHandleFn ¶ added in v0.0.8
func CreateGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func DeleteGuardiansHandleFn ¶ added in v0.0.8
func DeleteGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func HaltNetWorkHandleFn ¶ added in v0.0.8
func HaltNetWorkHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func QueryCommands ¶
func QueryGuardianHandleFn ¶ added in v0.0.8
func QueryGuardianHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func QueryGuardiansHandleFn ¶ added in v0.0.8
func QueryGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)
func RegisterRoutes ¶ added in v0.0.8
func RegisterRoutes(ctx context.CLIContext, r *mux.Router)
func TxCommands ¶
Types ¶
type CreateGuardiansReq ¶ added in v0.0.8
type CreateGuardiansReq struct { rpc.BaseRequest `json:"base"` Description string `json:"description"` }
type DeleteGuardiansReq ¶ added in v0.0.8
type DeleteGuardiansReq struct {
rpc.BaseRequest `json:"base"`
}
type HaltNetworkReq ¶ added in v0.0.8
type HaltNetworkReq struct { rpc.BaseRequest `json:"base"` Reason string `json:"reason"` }
Click to show internal directories.
Click to hide internal directories.