Documentation
¶
Index ¶
Constants ¶
View Source
const EnvVarPrefix = "CB_EXAMPLE"
Variables ¶
View Source
var ( L1EthRpcFlag = &cli.StringFlag{ Name: "l1-eth-rpc", Usage: "HTTP provider URL for L1", EnvVars: prefixEnvVars("L1_ETH_RPC"), Required: true, } PollIntervalFlag = &cli.DurationFlag{ Name: "poll-interval", Usage: "How frequently to poll L2 for new blocks", Value: 6 * time.Second, EnvVars: prefixEnvVars("POLL_INTERVAL"), } )
View Source
var Flags = []cli.Flag{ L1EthRpcFlag, PollIntervalFlag, }
Flags contains the list of configuration options available to the binary.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.