fusenapi/server/home-user-auth/internal/config/config.go

26 lines
359 B
Go
Raw Normal View History

2023-05-31 10:33:02 +00:00
package config
2023-06-01 10:35:09 +00:00
import (
2023-06-08 02:51:56 +00:00
"fusenapi/server/home-user-auth/internal/types"
2023-06-01 10:35:09 +00:00
"github.com/zeromicro/go-zero/rest"
)
2023-05-31 10:33:02 +00:00
2023-07-17 11:43:43 +00:00
type OAuth struct {
Name string `yaml:"name"`
Appid string `yaml:"appid"`
Secret string `yaml:"secret"`
2023-07-17 11:43:43 +00:00
}
2023-05-31 10:33:02 +00:00
type Config struct {
rest.RestConf
2023-06-05 09:56:55 +00:00
SourceMysql string
Auth types.Auth
2023-06-20 11:36:28 +00:00
2023-07-17 11:43:43 +00:00
OAuth []OAuth
2023-06-20 11:36:28 +00:00
Stripe struct {
SK string
}
2023-05-31 10:33:02 +00:00
}