2023-06-01 15:32:28 +08:00
|
|
|
package config
|
|
|
|
|
2023-06-07 11:35:04 +08:00
|
|
|
import (
|
2023-06-08 11:03:20 +08:00
|
|
|
"fusenapi/server/product/internal/types"
|
2023-06-19 15:52:14 +08:00
|
|
|
|
2023-06-07 11:35:04 +08:00
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
2023-06-01 15:32:28 +08:00
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
2023-06-19 15:52:14 +08:00
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-07-31 00:41:04 +08:00
|
|
|
ReplicaId uint64
|
2023-09-26 16:36:35 +08:00
|
|
|
AWS struct {
|
|
|
|
S3 struct {
|
|
|
|
Credentials struct {
|
|
|
|
AccessKeyID string
|
|
|
|
Secret string
|
|
|
|
Token string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
BLMService struct {
|
2023-10-10 17:17:28 +08:00
|
|
|
Version string
|
|
|
|
Urls []string
|
2023-09-26 16:36:35 +08:00
|
|
|
}
|
|
|
|
Unity struct {
|
|
|
|
Host string
|
|
|
|
}
|
2023-06-01 15:32:28 +08:00
|
|
|
}
|