credit-admin-test.toml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. [app]
  4. key = "33ac033ce123e999"
  5. secret = "0b2847315d32989a248294e350ac3ede"
  6. [bfs]
  7. #bucket = test
  8. key = "221bce6492eba70f"
  9. secret = "6eb80603e85842542f9736eb13b7e3"
  10. #bucket = blocked
  11. #key = "a45d5d3d38441095"
  12. #secret = "a3690e9e11f7d356a445fe0d4ff8af"
  13. [xlog]
  14. dir = "/data/log/credit-admin"
  15. # family = "credit-admin"
  16. # [xlog.agent]
  17. # taskID = "000069"
  18. # proto = "unixgram"
  19. # addr = "/var/run/lancer/collector.sock"
  20. # chanSize = 10240
  21. [bm]
  22. [bm.inner]
  23. addr = "0.0.0.0:6824"
  24. maxListen = 10
  25. timeout = "1s"
  26. [bm.local]
  27. addr = "0.0.0.0:6825"
  28. maxListen = 10
  29. timeout = "1s"
  30. [httpClient]
  31. key = "33ac033ce123e999"
  32. secret = "0b2847315d32989a248294e350ac3ede"
  33. dial = "1s"
  34. timeout = "5s"
  35. keepAlive = "60s"
  36. [httpClient.breaker]
  37. window = "3s"
  38. sleep = "100ms"
  39. bucket = 10
  40. ratio = 0.5
  41. request = 100
  42. [rpcClient]
  43. [rpcClient.account]
  44. group ="groupapp"
  45. timeout = "30s"
  46. [orm]
  47. [orm.write]
  48. dsn = "blocked:mUdFycLKSbvPgdE28lCveqN77SqsGOmy@tcp(172.16.33.205:3306)/blocked?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  49. active = 5
  50. idle = 5
  51. idleTimeout = "4h"
  52. [orm.read]
  53. dsn = "blocked:mUdFycLKSbvPgdE28lCveqN77SqsGOmy@tcp(172.16.33.205:3306)/blocked?timeout=5s&readTimeout=5s&writeTimeout=5s&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  54. active = 5
  55. idle = 5
  56. idleTimeout = "4h"
  57. [host]
  58. bfs = "http://172.16.0.141"
  59. manager = "http://manager.bilibili.co"
  60. msg = "http://message.bilibili.co"
  61. #http://bfs.bilibili.co
  62. [chanSize]
  63. sysMsg = 999
  64. [auth]
  65. managerHost = "http://uat-manager.bilibili.co"
  66. dashboardHost = "http://uat-dashboard-mng.bilibili.co"
  67. dashboardCaller = "manager-go"
  68. [auth.DsHTTPClient]
  69. key = "manager-go"
  70. secret = "949bbb2dd3178252638c2407578bc7ad"
  71. dial = "1s"
  72. timeout = "1s"
  73. keepAlive = "60s"
  74. [auth.DsHTTPClient.breaker]
  75. window = "3s"
  76. sleep = "100ms"
  77. bucket = 10
  78. ratio = 0.5
  79. request = 100
  80. [auth.MaHTTPClient]
  81. key = "f6433799dbd88751"
  82. secret = "36f8ddb1806207fe07013ab6a77a3935"
  83. dial = "1s"
  84. timeout = "1s"
  85. keepAlive = "60s"
  86. [auth.MaHTTPClient.breaker]
  87. window = "3s"
  88. sleep = "100ms"
  89. bucket = 10
  90. ratio = 0.5
  91. request = 100
  92. [auth.session]
  93. sessionIDLength = 32
  94. cookieLifeTime = 1800
  95. cookieName = "mng-go"
  96. domain = ".bilibili.co"
  97. [auth.session.Memcache]
  98. name = "go-business/auth"
  99. proto = "tcp"
  100. addr = "172.16.33.54:11211"
  101. active = 10
  102. idle = 10
  103. dialTimeout = "1s"
  104. readTimeout = "1s"
  105. writeTimeout = "1s"
  106. idleTimeout = "80s"