flags

package
v0.0.0-...-f6291e5 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const EnvVarPrefix = "BLOB_API"

Variables

View Source
var Flags []cli.Flag

Flags contains the list of configuration options available to the binary.

View Source
var (
	ListenAddressFlag = &cli.StringFlag{
		Name:    "api-listen-address",
		Usage:   "The address to list for new requests on",
		EnvVars: opservice.PrefixEnvVar(EnvVarPrefix, "LISTEN_ADDRESS"),
		Value:   "0.0.0.0:8000",
	}
)

Functions

This section is empty.

Types

type APIConfig

type APIConfig struct {
	LogConfig     oplog.CLIConfig
	MetricsConfig opmetrics.CLIConfig
	BeaconConfig  common.BeaconConfig
	StorageConfig common.StorageConfig

	ListenAddr string
}

func ReadConfig

func ReadConfig(cliCtx *cli.Context) APIConfig

func (APIConfig) Check

func (c APIConfig) Check() error

Jump to

Keyboard shortcuts

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