Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( LevelDbPathFlag = &cli.StringFlag{ Name: "leveldb-path", Usage: "the path of leveldb", EnvVars: prefixEnvVars("LEVEL_DB_PATH"), Value: "./leveldb", } RpcHostFlag = &cli.StringFlag{ Name: "rpc-host", Usage: "The host of the rpc server", EnvVars: prefixEnvVars("RPC_HOST"), Value: "localhost", Required: true, } RpcPortFlag = &cli.IntFlag{ Name: "rpc-port", Usage: "The port of the rpc server", EnvVars: prefixEnvVars("RPC_PORT"), Value: 8989, Required: true, } )
View Source
var Flags []cli.Flag
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.