feat: add support for s3 path (#1233)

* add support for path

* fix typo and switch positions with Path and Bucket

* using path method instead of string concatenation
This commit is contained in:
Alex Zhao
2023-03-04 07:59:44 +08:00
committed by GitHub
parent e062c9b4a7
commit 9d4bb5b3af
5 changed files with 18 additions and 1 deletions

View File

@ -12,6 +12,7 @@ type StorageConfig struct {
type StorageS3Config struct {
EndPoint string `json:"endPoint"`
Path string `json:"path"`
Region string `json:"region"`
AccessKey string `json:"accessKey"`
SecretKey string `json:"secretKey"`