2023-07-06 10:23:43 +00:00
|
|
|
package config
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fusenapi/server/upload/internal/types"
|
|
|
|
|
|
|
|
"github.com/zeromicro/go-zero/rest"
|
|
|
|
)
|
|
|
|
|
|
|
|
type Config struct {
|
|
|
|
rest.RestConf
|
|
|
|
SourceMysql string
|
|
|
|
Auth types.Auth
|
2023-07-30 16:41:04 +00:00
|
|
|
ReplicaId uint64
|
2023-07-06 10:23:43 +00:00
|
|
|
Env string
|
|
|
|
AWS struct {
|
|
|
|
S3 struct {
|
|
|
|
Credentials struct {
|
|
|
|
AccessKeyID string
|
|
|
|
Secret string
|
|
|
|
Token string
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-08-02 10:14:53 +00:00
|
|
|
BLMService struct {
|
2023-10-10 06:58:36 +00:00
|
|
|
Version string
|
2023-10-10 09:17:28 +00:00
|
|
|
Urls []string
|
2023-08-02 10:14:53 +00:00
|
|
|
}
|
2023-07-06 10:23:43 +00:00
|
|
|
}
|