fusenapi/server/upload/internal/config/config.go
2023-11-20 17:16:14 +08:00

35 lines
553 B
Go

package config
import (
"fusenapi/server/upload/internal/types"
"github.com/zeromicro/go-zero/rest"
)
type Config struct {
rest.RestConf
SourceMysql string
Auth types.Auth
ReplicaId uint64
Env string
AWS struct {
S3 struct {
Credentials struct {
AccessKeyID string
Secret string
Token string
}
}
}
BLMService struct {
Version string
Urls []string
}
AliyunOSS struct {
AccessKeyId string
AccessKeySecret string
BasePath string
Endpoint string
}
}