feat:完善项目信息

This commit is contained in:
henry
2021-12-28 09:18:32 +08:00
parent 24806c5d80
commit 76ca837fd6
9 changed files with 288 additions and 78 deletions

View File

@ -56,6 +56,10 @@ type Setting struct {
IdleTimeout int `yaml:"idle_timeout"`
}
// ESServer 配置
ESServer struct {
Host string `yaml:"host"`
} `yaml:"es_server"`
// Rate 限流器
Rate struct {
Limit int `yaml:"limit"`