fusenapi/server/auth/internal/config/config.go
2023-10-17 17:25:48 +08:00

36 lines
480 B
Go

package config
import (
"fusenapi/server/auth/internal/types"
"github.com/zeromicro/go-zero/rest"
)
type Config struct {
rest.RestConf
SourceMysql string
Auth types.Auth
ReplicaId uint64
HomePage string
MainAddress string
WebsocketAddr string
Debug struct {
Password string
}
// Password: "fusen-test-pwd"
OAuth struct {
Google struct {
Appid string
Secret string
}
Facebook struct {
Appid string
Secret string
}
}
}