gid.toml 483 B

1234567891011121314151617181920212223
  1. development = false
  2. snowFlakeId = 1
  3. etcd = ["127.0.0.1:2379"]
  4. [mysql]
  5. addr = "127.0.0.1:3306"
  6. user = "root"
  7. password = "123456"
  8. dbName = "im"
  9. parameters = "charset=utf8&parseTime=True&loc=Local"
  10. maxConn = 20
  11. idleConn = 10
  12. idleTimeout = 14400000
  13. queryTimeout = 800
  14. execTimeout = 800
  15. [log]
  16. logFileDir = "logs"
  17. appName = "Gid"
  18. maxSize = 100
  19. maxBackups = 60
  20. maxAge = 30
  21. level = "debug"
  22. [server]
  23. addr= "127.0.0.1:8082"