Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PNameImportBlocks = ps.Name("import-blocks")
Functions ¶
This section is empty.
Types ¶
type BaseCommand ¶
type BaseCommand struct {
// contains filtered or unexported fields
}
type INITCommand ¶
type ImportCommand ¶
type KeyLoadCommand ¶
type KeyLoadCommand struct {
BaseCommand
KeyString string `arg:"" name:"key string" help:"key string"`
}
type KeyNewCommand ¶
type KeyNewCommand struct {
BaseCommand
Seed string `arg:"" name:"seed" optional:"" help:"seed for generating key"`
}
type KeySignCommand ¶
type KeySignCommand struct {
BaseCommand
KeyString string `arg:"" name:"privatekey" help:"privatekey string"`
NetworkID string `arg:"" name:"network-id" help:"network-id"`
Body *os.File `arg:"" help:"body"`
Node launch.AddressFlag `help:"node address"`
Token string `help:"set fact token"`
// contains filtered or unexported fields
}
type NetworkClientCommand ¶
type NetworkClientCommand struct {
BaseCommand
Header string `arg:"" help:"request header; 'example' will print example headers"`
NetworkID string `arg:"" name:"network-id" help:"network-id" default:""`
Remote launch.ConnInfoFlag `arg:"" help:"remote node conn info" placeholder:"ConnInfo" default:"localhost:4321"`
Timeout time.Duration `help:"timeout" placeholder:"duration" default:"10s"`
Body *os.File `help:"body"`
DryRun bool `name:"dry-run" help:"don't send"`
// contains filtered or unexported fields
}
type RunCommand ¶
type RunCommand struct {
//revive:disable:line-length-limit
launch.DesignFlag
launch.DevFlags `embed:"" prefix:"dev."`
Vault string `name:"vault" help:"privatekey path of vault"`
Discovery []launch.ConnInfoFlag `help:"member discovery" placeholder:"connection info"`
Hold launch.HeightFlag `help:"hold consensus states" placeholder:"height"`
HTTPState string `name:"http-state" help:"runtime statistics thru https" placeholder:"bind address"`
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.