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