activity-admin-test.toml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. [Log]
  2. dir = "/data/log/activity-admin/"
  3. [HTTPServer]
  4. addr = "0.0.0.0:7741"
  5. maxListen = 1000
  6. timeout = "10m"
  7. readTimeout = "10m"
  8. writeTimeout = "10m"
  9. [httpClient]
  10. key = "b1014d7c339a5649"
  11. secret = "75b74b612aa792b112e6504cae44c319"
  12. dial = "10s"
  13. timeout = "10s"
  14. keepAlive = "60s"
  15. [orm]
  16. dsn = "test:test@tcp(172.16.33.205:3308)/bilibili_lottery?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  17. active = 5
  18. idle = 5
  19. idleTimeout = "4h"
  20. [auth]
  21. managerHost = "http://uat-manager.bilibili.co"
  22. dashboardHost = "http://dashboard-mng.bilibili.co"
  23. dashboardCaller = "manager-go"
  24. [auth.DsHTTPClient]
  25. key = "manager-go"
  26. secret = "949bbb2dd3178252638c2407578bc7ad"
  27. dial = "1s"
  28. timeout = "1s"
  29. keepAlive = "60s"
  30. [auth.MaHTTPClient]
  31. key = "f6433799dbd88751"
  32. secret = "36f8ddb1806207fe07013ab6a77a3935"
  33. dial = "1s"
  34. timeout = "1s"
  35. keepAlive = "60s"
  36. [auth.session]
  37. sessionIDLength = 32
  38. cookieLifeTime = 1800
  39. cookieName = "mng-go"
  40. domain = ".bilibili.co"
  41. [auth.session.Memcache]
  42. name = "go-business/auth"
  43. proto = "tcp"
  44. addr = "172.16.33.54:11211"
  45. active = 10
  46. idle = 10
  47. dialTimeout = "1s"
  48. readTimeout = "1s"
  49. writeTimeout = "1s"
  50. idleTimeout = "80s"
  51. [Host]
  52. API = "http://uat-api.bilibili.co"