open-admin-test.toml 612 B

12345678910111213141516171819202122232425262728
  1. version = "1.0.0"
  2. user = "nobody"
  3. pid = "/tmp/open-admin.pid"
  4. dir = "./"
  5. unameTicker = "1m"
  6. [log]
  7. dir = "/data/log/open-admin/"
  8. [permit]
  9. [permit.Memcache]
  10. name = "go-business/auth"
  11. proto = "tcp"
  12. addr = "172.16.33.54:11211"
  13. active = 10
  14. idle = 10
  15. dialTimeout = "1s"
  16. readTimeout = "1s"
  17. writeTimeout = "1s"
  18. idleTimeout = "80s"
  19. [orm]
  20. dsn = "acc:123456@tcp(172.16.0.215:3306)/bilibili?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  21. active = 5
  22. idle = 5
  23. idleTimeout = "4h"