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) )
Functions ¶
func ParseConfigByEnv ¶
func ParseConfigByEnv() error
func PrintWithJSON ¶
func PrintWithJSON()
Types ¶
type Config ¶
type Config struct { RunMode string PrintConfig bool TLS TLS OCSP OCSP Log Log LogRedisHook LogRedisHook Cfssl Cfssl Storage Storage Ipfs Ipfs Web3Storage Web3Storage Contract Contract }
func (*Config) IsDebugMode ¶
func (*Config) IsReleaseMode ¶
type LogGormHook ¶
type LogRedisHook ¶
type OCSP ¶
type OCSP struct { Host string Port int ShutdownTimeout int MaxContentLength int64 MaxReqLoggerLength int `default:"1024"` MaxResLoggerLength int }
OCSP Configuration parameters
Click to show internal directories.
Click to hide internal directories.