Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Http = httpConfig{ ListenPort: getenv("HTTP_LISTEN_PORT", "80"), AppKey: os.Getenv("HTTP_APP_KEY"), SecretKey: os.Getenv("HTTP_SECRET_KEY"), } Redis = redisConfig{ Address: fmt.Sprintf("%s:%s", os.Getenv("REDIS_HOST"), getenv("REDIS_PORT", "6379")), Password: getenv("REDIS_PASSWORD", ""), DB: getenv("REDIS_DB", "0"), } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.