config.toml 454 B

123456789101112131415
  1. # 数据库连接
  2. [database]
  3. link = "mysql:root:123456@tcp(127.0.0.1:3306)/gfast"
  4. #web服务器配置
  5. [server]
  6. Address = ":8080"
  7. ServerRoot = "./public/resource"
  8. AccessLogEnabled = true
  9. ErrorLogEnabled = true
  10. PProfEnabled = true
  11. LogPath = "./data/log/server_log"
  12. SessionIdName = "sysSessionId"
  13. SessionPath = "./data/session"
  14. SessionMaxAge = "24h"
  15. DumpRouterMap = true