tool

package
v0.2.4-0...-f8342f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EnrValueGetCmd

type EnrValueGetCmd struct {
	Raw bool          `ask:"--raw" help:"To get the raw RLP value, instead of deserialized data"`
	Key string        `ask:"<key>" help:"The key of the value to extract from the ENR"`
	Enr flags.EnrFlag `ask:"<enr>" help:"The ENR to view, url-base64 (RFC 4648). With optional 'enr:' or 'enr://' prefix."`
	Out io.Writer
}

func (*EnrValueGetCmd) Help

func (c *EnrValueGetCmd) Help() string

func (*EnrValueGetCmd) Run

func (c *EnrValueGetCmd) Run(ctx context.Context, args ...string) error

type ToolCmd

type ToolCmd struct {
	Out io.Writer
}

func (*ToolCmd) Cmd

func (c *ToolCmd) Cmd(route string) (cmd interface{}, err error)

func (*ToolCmd) Help

func (c *ToolCmd) Help() string

func (*ToolCmd) Routes

func (c *ToolCmd) Routes() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL