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

30 lines
365 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
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-18 08:44:46 +00:00
OAuth struct {
Google struct {
Appid string
Secret string
}
Facebook struct {
Appid string
Secret string
}
}
2023-07-17 11:43:43 +00:00
2023-06-20 11:36:28 +00:00
Stripe struct {
SK string
}
2023-05-31 10:33:02 +00:00
}