2023-07-24 17:22:06 +08: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-31 00:41:04 +08:00
|
|
|
ReplicaId uint64
|
2023-07-24 17:22:06 +08:00
|
|
|
|
2023-09-04 17:45:58 +08:00
|
|
|
MainAddress string
|
|
|
|
WebsocketAddr string
|
2023-07-24 17:22:06 +08:00
|
|
|
|
|
|
|
OAuth struct {
|
|
|
|
Google struct {
|
|
|
|
Appid string
|
|
|
|
Secret string
|
|
|
|
}
|
|
|
|
|
|
|
|
Facebook struct {
|
|
|
|
Appid string
|
|
|
|
Secret string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|