Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // C Global configuration (Must Load first, otherwise the configuration will not be available) C = new(Config) Is = new(I) )
Functions ¶
func ParseConfigByEnv ¶
func ParseConfigByEnv() error
func PrintWithJSON ¶
func PrintWithJSON()
Types ¶
type Config ¶
type Config struct { RunMode string PrintConfig bool App App P2p P2p Machine Machine Log Log LogRedisHook LogRedisHook Web3 Web3 }
func (*Config) IsDebugMode ¶
func (*Config) IsReleaseMode ¶
type LogGormHook ¶
type LogRedisHook ¶
Click to show internal directories.
Click to hide internal directories.