fusenapi/server/auth/internal/config/config.go

36 lines
480 B
Go
Raw Normal View History

2023-07-24 09:22:06 +00:00
package config
import (
"fusenapi/server/auth/internal/types"
"github.com/zeromicro/go-zero/rest"
)
type Config struct {
rest.RestConf
SourceMysql string
Auth types.Auth
2023-07-30 16:41:04 +00:00
ReplicaId uint64
2023-07-24 09:22:06 +00:00
2023-10-09 06:41:57 +00:00
HomePage string
2023-09-04 09:45:58 +00:00
MainAddress string
WebsocketAddr string
2023-07-24 09:22:06 +00:00
2023-10-17 09:25:48 +00:00
Debug struct {
Password string
}
// Password: "fusen-test-pwd"
2023-07-24 09:22:06 +00:00
OAuth struct {
Google struct {
Appid string
Secret string
}
Facebook struct {
Appid string
Secret string
}
}
}