30 lines
417 B
Go
Raw Normal View History

2023-05-31 18:33:02 +08:00
package config
2023-06-01 18:35:09 +08:00
import (
2023-06-08 10:51:56 +08:00
"fusenapi/server/home-user-auth/internal/types"
2023-06-01 18:35:09 +08:00
"github.com/zeromicro/go-zero/rest"
)
2023-05-31 18:33:02 +08:00
type Config struct {
rest.RestConf
2023-06-05 17:56:55 +08:00
SourceMysql string
Auth types.Auth
2023-07-31 00:41:04 +08:00
ReplicaId uint64
2023-06-20 19:36:28 +08:00
2023-07-24 12:18:27 +08:00
MainAddress string
2023-06-20 19:36:28 +08:00
Stripe struct {
SK string
}
2023-07-28 19:03:36 +08:00
PayConfig struct {
Stripe struct {
EndpointSecret string
Key string
CancelURL string
SuccessURL string
}
}
2023-05-31 18:33:02 +08:00
}