CommandRegistrar registers commands
type CommandRegistrar interface {
// Command adds a new top-level command to the CLI
Command(name, help string, onCommand common.CLICommand) *kingpin.CmdClause
}
type LoadCmd struct {
Server *string
Channel *string
SalvoSize *int
SalvoCount *int
}
func (lc *LoadCmd) Execute(conf common.Config) error
Execute executes the command
func (lc *LoadCmd) SetChannel(channel *string)
SetChannel sets the channel of the PeerCmd
func (lc *LoadCmd) SetSalvoCount(salvoCount *int)
func (lc *LoadCmd) SetSalvoSize(salvoSize *int)
func (lc *LoadCmd) SetServer(server *string)
SetServer sets the server of the PeerCmd