cmd

package
v0.0.0-...-d9a1657 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Cli struct {
	Log struct {
		Level       string `enum:"debug,info,warn,error" env:"LOG_LEVEL" default:"warn" help:"Configure logging level."`
		Development bool   `env:"LOG_DEVELOPMENT" default:"false" help:"Configure development style log output."`
	} `embed:"" prefix:"log-"`

	NatsUrl   string `name:"nats-url" env:"NATS_URL" default:"ns://127.0.0.1:4222" help:"NATS server url."`
	ClientUrl string `name:"client-url" env:"CLIENT_URL" default:"ws://127.0.0.1:8545" help:"Websocket url for connecting to a eth client."`

	Request requestCmd `cmd:"" help:"Send a request"`
	Sidecar sidecarCmd `cmd:"" help:"Run a sidecar." default:"1"`
	Version versionCmd `cmd:"" help:"Show version information."`
}

Functions

func BuildLogger

func BuildLogger() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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