Documentation ¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "OP_SUPERVISOR"
Variables ¶
View Source
var ( L2RPCsFlag = &cli.StringSliceFlag{ Name: "l2-rpcs", Usage: "L2 RPC sources.", EnvVars: prefixEnvVars("L2_RPCS"), } DataDirFlag = &cli.PathFlag{ Name: "datadir", Usage: "Directory to store data generated as part of responding to games", EnvVars: prefixEnvVars("DATADIR"), } MockRunFlag = &cli.BoolFlag{ Name: "mock-run", Usage: "Mock run, no actual backend used, just presenting the service", EnvVars: prefixEnvVars("MOCK_RUN"), Hidden: true, } )
View Source
var Flags []cli.Flag
Flags contains the list of configuration options available to the binary.
Functions ¶
func CheckRequired ¶
func CheckRequired(ctx *cli.Context) error
func ConfigFromCLI ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.