fusenapi/server/home-user-auth/internal/config/config.go
2023-07-17 19:43:43 +08:00

26 lines
359 B
Go

package config
import (
"fusenapi/server/home-user-auth/internal/types"
"github.com/zeromicro/go-zero/rest"
)
type OAuth struct {
Name string `json:"name"`
Appid string `json:"appid"`
Secret string `json:"secret"`
}
type Config struct {
rest.RestConf
SourceMysql string
Auth types.Auth
OAuth []OAuth
Stripe struct {
SK string
}
}