🏗️ microservice fabric splitting
This commit is contained in:
63
app/auth/api/internal/config/config.go
Normal file
63
app/auth/api/internal/config/config.go
Normal file
@@ -0,0 +1,63 @@
|
||||
package config
|
||||
|
||||
import "github.com/zeromicro/go-zero/rest"
|
||||
|
||||
type Config struct {
|
||||
rest.RestConf
|
||||
Web struct {
|
||||
URL string
|
||||
}
|
||||
Auth struct {
|
||||
AccessSecret string
|
||||
}
|
||||
Encrypt struct {
|
||||
Key string
|
||||
IV string
|
||||
}
|
||||
Mysql struct {
|
||||
DataSource string
|
||||
MaxOpenConn int
|
||||
MaxIdleConn int
|
||||
}
|
||||
Redis struct {
|
||||
Host string
|
||||
Pass string
|
||||
DB int
|
||||
}
|
||||
Wechat struct {
|
||||
AppID string
|
||||
AppSecret string
|
||||
Token string
|
||||
AESKey string
|
||||
}
|
||||
OAuth struct {
|
||||
Github struct {
|
||||
ClientID string
|
||||
ClientSecret string
|
||||
RedirectURI string
|
||||
}
|
||||
QQ struct {
|
||||
ClientID string
|
||||
ClientSecret string
|
||||
RedirectURI string
|
||||
}
|
||||
Gitee struct {
|
||||
ClientID string
|
||||
ClientSecret string
|
||||
RedirectURI string
|
||||
}
|
||||
}
|
||||
SMS struct {
|
||||
Ali struct {
|
||||
Host string
|
||||
AccessKeyId string
|
||||
AccessKeySecret string
|
||||
Signature string
|
||||
TemplateCode string
|
||||
}
|
||||
SMSBao struct {
|
||||
Username string
|
||||
Password string
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user