Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultConf = "conf/app.yml"
Variables ¶
View Source
var ( AppVer string CustomConf = DefaultConf HTTPPort = "9090" HTTPAddr = "localhost" RedisAddr = "localhost:6379" RedisPass = "" RedisDB = 0 EsHosts = []string{"http://127.0.0.1:9200"} MysqlHost = "localhost" MysqlPort = 3306 MysqlUser = "root" MysqlPassword = "" MysqlDB = "" )
Functions ¶
func NewContext ¶
func NewContext()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.