Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StatusCommand ¶
StatusCommand is the command to show the version of the agent
func (*StatusCommand) DefineFlags ¶
func (c *StatusCommand) DefineFlags()
DefineFlags defines the command flags
func (*StatusCommand) GetBaseCommand ¶
func (c *StatusCommand) GetBaseCommand() string
func (*StatusCommand) GetHelperText ¶
func (c *StatusCommand) GetHelperText() string
GetHelperText returns a simple description of the command
func (*StatusCommand) Help ¶
func (c *StatusCommand) Help() string
Help implements the cli.Command interface
func (*StatusCommand) Run ¶
func (c *StatusCommand) Run(args []string) int
Run implements the cli.Command interface
func (*StatusCommand) Synopsis ¶
func (c *StatusCommand) Synopsis() string
Synopsis implements the cli.Command interface
type StatusResult ¶
type StatusResult struct { ChainID int64 `json:"chain_id"` CurrentBlockNumber int64 `json:"current_block_number"` CurrentBlockHash string `json:"current_block_hash"` LibP2PAddress string `json:"libp2p_address"` }
func (*StatusResult) Output ¶
func (r *StatusResult) Output() string
Click to show internal directories.
Click to hide internal directories.