add aws upload, but not complete, leave some todos (#1858)

* add aws upload, but not complete, leave some todos

* Update config.yaml

* Update environment.sh

* Update aws.go

* Update aws.go

* Update aws.go

---------

Co-authored-by: Xinwei Xiong <3293172751NSS@gmail.com>
This commit is contained in:
hanson-wen
2024-02-26 22:47:01 +08:00
committed by GitHub
parent 4803c8f004
commit b6ded44510
6 changed files with 311 additions and 4 deletions
+8
View File
@@ -164,6 +164,14 @@ type configStruct struct {
SessionToken string `yaml:"sessionToken"`
PublicRead bool `yaml:"publicRead"`
} `yaml:"kodo"`
Aws struct {
Endpoint string `yaml:"endpoint"`
Region string `yaml:"region"`
Bucket string `yaml:"bucket"`
AccessKeyID string `yaml:"accessKeyID"`
AccessKeySecret string `yaml:"accessKeySecret"`
PublicRead bool `yaml:"publicRead"`
} `yaml:"aws"`
} `yaml:"object"`
RpcPort struct {