2023-09-13 09:33:58 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fusenapi/server/shopping-cart/internal/types"
|
2023-10-10 09:17:28 +00:00
|
|
|
|
2023-09-13 09:33:58 +00:00
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
|
|
|
SourceRabbitMq string
|
2023-09-20 07:21:42 +00:00
|
|
|
AWS struct {
|
|
|
|
S3 struct {
|
|
|
|
Credentials struct {
|
|
|
|
AccessKeyID string
|
|
|
|
Secret string
|
|
|
|
Token string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
BLMService struct {
|
2023-10-10 09:17:28 +00:00
|
|
|
Version string
|
|
|
|
Urls []string
|
2023-09-20 07:21:42 +00:00
|
|
|
}
|
|
|
|
Unity struct {
|
|
|
|
Host string
|
|
|
|
}
|
2023-09-13 09:33:58 +00:00
|
|
|
}
|