Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_LogResponse = true DEFAULT_LogRequestBody = true DEFAULT_LogLevel = 1 //info DEFAULT_LogInnerLevel = 1 DEFAULT_LogClient = true DEFAULT_ServerPort = 8080 DEFAULT_DB_Charset = "utf8" DEFAULT_DB_MaxConn = 1000 DEFAULT_DB_MaxIdleConn = 500 )
Variables ¶
View Source
var GConfig = gDefaultConfig
Functions ¶
func LoadConfig ¶
func LoadDefault ¶
func LoadDefault(config *Config)
func ResetConfig ¶
func ResetConfig(config Config)
Types ¶
Click to show internal directories.
Click to hide internal directories.