123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- # This is a TOML document. Boom
- version = "1.0.0"
- user = "nobody"
- pid = "/tmp/passport-admin.pid"
- dir = "./"
- [encode]
- salt = ""
- aesKey = "0123456789abcdef"
- [elastic]
- #host = "http://uat-manager.bilibili.co"
- host = "http://127.0.0.1:8080"
- [elastic.HTTPClient]
- key = "3c4e41f926e51656"
- secret = "26a2095b60c24154521d24ae62b885bb"
- dial = "1s"
- timeout = "3s"
- keepAlive = "60s"
- timer = 1000
- [elastic.HTTPClient.breaker]
- window ="3s"
- sleep ="100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [permit]
- managerHost = "http://uat-manager.bilibili.co"
- dashboardHost = "http://dashboard-mng.bilibili.co"
- dashboardCaller = "manager-go"
- [auth.DsHTTPClient]
- key = "manager-go"
- secret = "949bbb2dd3178252638c2407578bc7ad"
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- [auth.DsHTTPClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [auth.MaHTTPClient]
- key = "f6433799dbd88751"
- secret = "36f8ddb1806207fe07013ab6a77a3935"
- dial = "1s"
- timeout = "1s"
- keepAlive = "60s"
- [auth.MaHTTPClient.breaker]
- window = "3s"
- sleep = "100ms"
- bucket = 10
- ratio = 0.5
- request = 100
- [auth.session]
- sessionIDLength = 32
- cookieLifeTime = 1800
- cookieName = "mng-go"
- domain = ".bilibili.co"
- [auth.session.Memcache]
- name = "go-business/auth"
- proto = "tcp"
- addr = "172.18.33.61:11232"
- active = 5
- idle = 5
- dialTimeout = "1s"
- readTimeout = "1s"
- writeTimeout = "1s"
- idleTimeout = "80s"
|