feat: OpenIMServer compatible qiniu kodo (#1460)

* build : add aws and kodo dependency

* feat: add qiniu kodo

* Doc : Add Qiniu Cloud Kodo Document and Config
This commit is contained in:
healingtjx
2023-11-29 10:41:47 +08:00
committed by GitHub
parent ceb669dfb8
commit 4c7e0295bf
10 changed files with 462 additions and 2 deletions
+9
View File
@@ -153,6 +153,15 @@ type configStruct struct {
SessionToken string `yaml:"sessionToken"`
PublicRead bool `yaml:"publicRead"`
} `yaml:"oss"`
Kodo struct {
Endpoint string `yaml:"endpoint"`
Bucket string `yaml:"bucket"`
BucketURL string `yaml:"bucketURL"`
AccessKeyID string `yaml:"accessKeyID"`
AccessKeySecret string `yaml:"accessKeySecret"`
SessionToken string `yaml:"sessionToken"`
PublicRead bool `yaml:"publicRead"`
} `yaml:"kodo"`
} `yaml:"object"`
RpcPort struct {