chainvisualizer

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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VisualizerCmd

type VisualizerCmd struct {
	*base.Base
	*VisualizerState

	BlockDBState *blocks.DBState
	StateDBState *states.DBState

	Ip   string `ask:"--ip"   help:"Define the IP where the Visualizer will be hosted"`
	Port string `ask:"--port" help:"Define the Port to listen and serve the visualizer host"`
	Len  int    `ask:"--len"  help:"Define the range of Blocks and States that will be offered on the Visualizer"`
}

func (*VisualizerCmd) Default

func (c *VisualizerCmd) Default()

func (*VisualizerCmd) Help

func (c *VisualizerCmd) Help() string

func (*VisualizerCmd) Run

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

type VisualizerState

type VisualizerState struct {
	ChainVisualizer *visualizer.ChainVisualizer
	Already         bool
}

Jump to

Keyboard shortcuts

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