Documentation
¶
Overview ¶
* Tools package. It's contain some useful tools, just like vote and so on. This file is created by magic at 2018-9-3 *
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NodeVote = cli.Command{ Name: "vote", Usage: "vote for node", Flags: []cli.Flag{ cli.StringFlag{ Name: "name", Value: "", Usage: "节点名称", }, cli.IntFlag{ Name: "v", Value: 0, Usage: "投票数量", }, }, Action: func(context *cli.Context) error { if err := Vote(context); err != nil { return err } return nil }, }
NodeVote 节点投票命令
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.