command

package
v0.0.0-...-45a46c7 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2019 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BasCmd = &cobra.Command{
	Use:   "bas",
	Short: "bas reg ip and block chain address",
	Long:  `TODO::.`,
	Run:   basReg,
}
View Source
var EthBalanceCmd = &cobra.Command{
	Use:   "balance",
	Short: "show current pool's basic block chain infos",
	Long:  `TODO::.`,
	Run:   balanceOfPool,
}
View Source
var EthCmd = &cobra.Command{
	Use:   "eth",
	Short: "operate with ethereum contract",
	Long:  `TODO::.`,
}
View Source
var EthExportCmd = &cobra.Command{
	Use:   "export",
	Short: "export pool wallet to ethereum wallet",
	Long:  `TODO::.`,
	Run:   exportWallet,
}
View Source
var EthMinerJoinCmd = &cobra.Command{
	Use:   "join",
	Short: "make miner join the pool",
	Long:  `TODO::.`,
	Run:   joinMyPool,
}
View Source
var EthPoolRegCmd = &cobra.Command{
	Use:   "reg",
	Short: "register this pool to micro payment system",
	Long:  `TODO::.`,
	Run:   regThisPool,
}
View Source
var EthToolsCmd = &cobra.Command{
	Use:   "convert",
	Short: "convert go string to bytes type of ethereum",
	Long:  `TODO::.`,
	Run:   ethTool,
}
View Source
var InitCmd = &cobra.Command{
	Use:   "init",
	Short: "init miner pool",
	Long:  `TODO::.`,
	Run:   initPoolSystem,
}
View Source
var ShowAddrCmd = &cobra.Command{
	Use:   "address",
	Short: "show wallet main address",
	Long:  `TODO::.`,
	Run:   showSysAddrInfo,
}
View Source
var ShowCmd = &cobra.Command{
	Use:   "show",
	Short: "show system settings",
	Long:  `TODO::.`,
}

Functions

func DialToCmdService

func DialToCmdService() pbs.CmdServiceClient

func StartCmdService

func StartCmdService()

Types

This section is empty.

Jump to

Keyboard shortcuts

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