Documentation ¶
Index ¶
Constants ¶
View Source
const ( DdAgentHost = "dd-agent-host" DdTraceAgentPort = "dd-trace-agent-port" NonValidatingFullNodeFlag = "non-validating-full-node" )
List of CLI flags.
View Source
const ( DefaultDdAgentHost = "" DefaultDdTraceAgentPort = 8126 DefaultNonValidatingFullNode = false )
Default values.
Variables ¶
This section is empty.
Functions ¶
func AddFlagsToCmd ¶
AddFlagsToCmd adds flags to app initialization. These flags should be applied to the `start` command of the V4 Cosmos application. E.g. `dydxprotocold start --non-validating-full-node true`.
Types ¶
type Flags ¶
A struct containing the values of all flags.
func GetFlagValuesFromOptions ¶
func GetFlagValuesFromOptions( appOpts servertypes.AppOptions, ) Flags
GetFlagValuesFromOptions gets values from the `AppOptions` struct which contains values from the command-line flags.
Click to show internal directories.
Click to hide internal directories.