Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCons ¶
func GetCons() map[string]Connection
Types ¶
type CookieConfig ¶
type CookieConfig struct {
NAME string
}
func GetCookieConfig ¶
func GetCookieConfig() *CookieConfig
type Env ¶
type Env struct { Debug bool Database mysql.Config MaxIdleConns int MaxOpenConns int ServerPort string RedisIp string RedisPort string RedisPassword string RedisDb int RedisSessionDb int RedisCacheDb int SessionKey string SessionSecret string AppSecret string AccessLog bool AccessLogPath string ErrorLog bool ErrorLogPath string InfoLog bool InfoLogPath string SqlLog bool TemplatePath string // 静态文件相对路径 }
Click to show internal directories.
Click to hide internal directories.