fusenapi/server/auth/internal/config/config.go
2023-10-09 14:41:57 +08:00

31 lines
409 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
OAuth struct {
Google struct {
Appid string
Secret string
}
Facebook struct {
Appid string
Secret string
}
}
}