s3 config

This commit is contained in:
withchao
2023-07-12 12:02:40 +08:00
parent d7c66c6f45
commit a2fc790cba
3 changed files with 25 additions and 15 deletions
+2 -2
View File
@@ -110,7 +110,7 @@ type config struct {
SecretID string `yaml:"secretID"`
SecretKey string `yaml:"secretKey"`
SessionToken string `yaml:"sessionToken"`
} `yaml:"tencent"`
} `yaml:"cos"`
Oss struct {
Endpoint string `yaml:"endpoint"`
Bucket string `yaml:"bucket"`
@@ -118,7 +118,7 @@ type config struct {
AccessKeyID string `yaml:"accessKeyID"`
AccessKeySecret string `yaml:"accessKeySecret"`
SessionToken string `yaml:"sessionToken"`
} `yaml:"ali"`
} `yaml:"oss"`
} `yaml:"object"`
RpcPort struct {