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-08-23 03:09:14 +00:00
|
|
|
Url string
|
2023-08-02 10:14:53 +00:00
|
|
|
ImageProcess struct {
|
|
|
|
Url string
|
|
|
|
}
|
|
|
|
}
|
2023-07-06 10:23:43 +00:00
|
|
|
}
|