cmd

package
v0.0.0-...-f210b0b Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunCommand = &cli.Command{
	Name:   "run",
	Usage:  "perform the api-benchmark on the given endpoint",
	Action: LaunchBenchmark,
	Flags: []cli.Flag{
		&cli.StringFlag{
			Name:        "config-file",
			Usage:       "path to the <config.json> file used to configure the benchmark",
			EnvVars:     []string{"BENCHMARK_CONFIG_FILE_NAME"},
			DefaultText: config.ConfigFile,
			Value:       config.ConfigFile,
		}},
}

Functions

func LaunchBenchmark

func LaunchBenchmark(c *cli.Context) error

CrawlAction is the function that is called when running `eth2`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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