Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeerStatusCmd ¶
type PeerStatusCmd struct {
*base.Base
*PeerStatusState
Book track.StatusBook
}
func (*PeerStatusCmd) Cmd ¶
func (c *PeerStatusCmd) Cmd(route string) (cmd interface{}, err error)
func (*PeerStatusCmd) Help ¶
func (c *PeerStatusCmd) Help() string
type PeerStatusFollowCmd ¶
type PeerStatusFollowCmd struct {
*base.Base
*PeerStatusState
Following bool `ask:"[following]" help:"If the status should automatically follow the current chain (if any)"`
}
func (*PeerStatusFollowCmd) Default ¶
func (c *PeerStatusFollowCmd) Default()
func (*PeerStatusFollowCmd) Help ¶
func (c *PeerStatusFollowCmd) Help() string
type PeerStatusGetCmd ¶
type PeerStatusGetCmd struct {
*base.Base
*PeerStatusState
}
func (*PeerStatusGetCmd) Help ¶
func (c *PeerStatusGetCmd) Help() string
type PeerStatusPollCmd ¶
type PeerStatusPollCmd struct {
*base.Base
*PeerStatusState
Book track.StatusBook
Timeout time.Duration `ask:"--timeout" help:"request timeout, 0 to disable."`
Interval time.Duration `ask:"--interval" help:"interval to request status of peers on, applied as timeout to a round of work"`
Compression flags.CompressionFlag `ask:"--compression" help:"Compression. 'none' to disable, 'snappy' for streaming-snappy"`
}
func (*PeerStatusPollCmd) Default ¶
func (c *PeerStatusPollCmd) Default()
func (*PeerStatusPollCmd) Help ¶
func (c *PeerStatusPollCmd) Help() string
type PeerStatusReqCmd ¶
type PeerStatusReqCmd struct {
*base.Base
*PeerStatusState
Book track.StatusBook
Timeout time.Duration `ask:"--timeout" help:"request timeout, 0 to disable"`
Compression flags.CompressionFlag `ask:"--compression" help:"Compression. 'none' to disable, 'snappy' for streaming-snappy"`
PeerID flags.PeerIDFlag `ask:"<peer-id>" help:"Peer to fetch status from."`
}
func (*PeerStatusReqCmd) Default ¶
func (c *PeerStatusReqCmd) Default()
func (*PeerStatusReqCmd) Help ¶
func (c *PeerStatusReqCmd) Help() string
type PeerStatusServeCmd ¶
type PeerStatusServeCmd struct {
*base.Base
*PeerStatusState
Book track.StatusBook
Timeout time.Duration `` /* 127-byte string literal not displayed */
Compression flags.CompressionFlag `ask:"--compression" help:"Compression. 'none' to disable, 'snappy' for streaming-snappy"`
}
func (*PeerStatusServeCmd) Default ¶
func (c *PeerStatusServeCmd) Default()
func (*PeerStatusServeCmd) Help ¶
func (c *PeerStatusServeCmd) Help() string
type PeerStatusSetCmd ¶
type PeerStatusSetCmd struct {
*base.Base
*PeerStatusState
ForkDigest beacon.ForkDigest `ask:"--fork-digest" help:"Fork digest"`
HeadRoot beacon.Root `ask:"--head-root" help:"Head root"`
HeadSlot beacon.Slot `ask:"--head-slot" help:"Head slot"`
FinalizedRoot beacon.Root `ask:"--finalized-root" help:"Finalized root"`
FinalizedEpoch beacon.Epoch `ask:"--finalized-epoch" help:"Finalized epoch"`
Merge bool `ask:"--merge" help:"If true, only apply non-zero options to state"`
}
func (*PeerStatusSetCmd) Default ¶
func (c *PeerStatusSetCmd) Default()
func (*PeerStatusSetCmd) Help ¶
func (c *PeerStatusSetCmd) Help() string
type PeerStatusState ¶
func (*PeerStatusState) Routes ¶
func (c *PeerStatusState) Routes() []string
Click to show internal directories.
Click to hide internal directories.