31 lines
462 B
Go
31 lines
462 B
Go
package config
|
|
|
|
import (
|
|
"fusenapi/server/shopping-cart/internal/types"
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
)
|
|
|
|
type Config struct {
|
|
rest.RestConf
|
|
SourceMysql string
|
|
Auth types.Auth
|
|
SourceRabbitMq string
|
|
AWS struct {
|
|
S3 struct {
|
|
Credentials struct {
|
|
AccessKeyID string
|
|
Secret string
|
|
Token string
|
|
}
|
|
}
|
|
}
|
|
BLMService struct {
|
|
Version string
|
|
Urls []string
|
|
}
|
|
Unity struct {
|
|
Host string
|
|
}
|
|
}
|