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

30 lines
417 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-07-30 16:41:04 +00:00
ReplicaId uint64
2023-06-20 11:36:28 +00:00
2023-07-24 04:18:27 +00:00
MainAddress string
2023-06-20 11:36:28 +00:00
Stripe struct {
SK string
}
2023-07-28 11:03:36 +00:00
PayConfig struct {
Stripe struct {
EndpointSecret string
Key string
CancelURL string
SuccessURL string
}
}
2023-05-31 10:33:02 +00:00
}