-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dl): fix yaml config and get object logic
Signed-off-by: wuhuizuo <wuhuizuo@126.com>
- Loading branch information
Showing
2 changed files
with
19 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,8 @@ | ||
package ks3 | ||
|
||
type Config struct { | ||
S3Region string | ||
S3Bucket string | ||
S3Endpoint string | ||
S3AccessKey string | ||
S3SecretKey string | ||
BaseUrl string | ||
FileserverUrl string | ||
Region string `yaml:"region,omitempty" json:"region,omitempty"` | ||
Endpoint string `yaml:"endpoint,omitempty" json:"endpoint,omitempty"` | ||
AccessKey string `yaml:"access_key,omitempty" json:"access_key,omitempty"` | ||
SecretKey string `yaml:"secret_key,omitempty" json:"secret_key,omitempty"` | ||
} |