添加endpoint,测试s3

This commit is contained in:
2025-02-28 10:21:10 +08:00
parent 9bf07d3127
commit f22753aed6
5 changed files with 58 additions and 33 deletions

View File

@ -16,11 +16,12 @@ type StorageConfig struct {
}
type S3Config struct {
Region string `mapstructure:"region"`
Bucket string `mapstructure:"bucket"`
Prefix string `mapstructure:"prefix"`
AkId string `mapstructure:"akId"`
AkSec string `mapstructure:"akSec"`
Region string `mapstructure:"region"`
Endpoint string `mapstructure:"endpoint"`
Bucket string `mapstructure:"bucket"`
Prefix string `mapstructure:"prefix"`
AkId string `mapstructure:"akId"`
AkSec string `mapstructure:"akSec"`
}
type DeviceMapping struct {