feat:完善项目

This commit is contained in:
henry
2021-11-10 16:07:09 +08:00
parent 863edee71c
commit 5ffb79b4fa
10 changed files with 170 additions and 43 deletions

View File

@ -56,15 +56,6 @@ type Setting struct {
IdleTimeout int `yaml:"idle_timeout"`
}
// Config 配置
Config struct {
VipPrice float64 `yaml:"vip_price"`
Wechat struct {
AppID string `json:"appid"`
AppSecret string `yaml:"appsecret"`
} `yaml:"wechat"`
}
// Rate 限流器
Rate struct {
Limit int `yaml:"limit"`