package config type Storage struct { StorageType string `yaml:"storage-type"` Oss *Oss Obs *Obs Cos *Cos } type Cos struct { BucketURL string `yaml:"bucket-url"` SecretID string `yaml:"secret-id"` SecretKey string `yaml:"secret-key"` Domain string `yaml:"domain"` } type Obs struct { Endpoint string `yaml:"endpoint"` AccessKey string `yaml:"access-key"` SecretKey string `yaml:"secret-key"` Bucket string `yaml:"bucket"` Domain string `yaml:"domain"` } type Oss struct { Endpoint string `yaml:"endpoint"` AccessKeyID string `yaml:"access-key-id"` AccessKeySecret string `yaml:"access-key-secret"` Bucket string `yaml:"bucket"` Domain string `yaml:"domain"` }