client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGuardianCmd

func AddGuardianCmd(cdc *amino.Codec) *cobra.Command

添加系统账户

func CreateGuardiansHandleFn added in v0.0.8

func CreateGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)

func DeleteGuardianCmd

func DeleteGuardianCmd(cdc *amino.Codec) *cobra.Command

删除系统账户

func DeleteGuardiansHandleFn added in v0.0.8

func DeleteGuardiansHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)

func HaltCmd

func HaltCmd(cdc *amino.Codec) *cobra.Command

停网操作

func HaltNetWorkHandleFn added in v0.0.8

func HaltNetWorkHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)

func QueryCommands

func QueryCommands(cdc *amino.Codec) []*cobra.Command

func QueryGuardianCmd

func QueryGuardianCmd(cdc *amino.Codec) *cobra.Command

查询系统账户

func QueryGuardianHandleFn added in v0.0.8

func QueryGuardianHandleFn(cliContext context.CLIContext) func(http.ResponseWriter, *http.Request)

func QueryGuardiansCmd

func QueryGuardiansCmd(cdc *amino.Codec) *cobra.Command

系统账户列表

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

func TxCommands(cdc *amino.Codec) []*cobra.Command

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"`
}

Jump to

Keyboard shortcuts

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