oss_minio.go 669 B

1234567891011
  1. package config
  2. type Minio struct {
  3. Endpoint string `mapstructure:"endpoint" json:"endpoint" yaml:"endpoint"`
  4. AccessKeyId string `mapstructure:"access-key-id" json:"access-key-id" yaml:"access-key-id"`
  5. AccessKeySecret string `mapstructure:"access-key-secret" json:"access-key-secret" yaml:"access-key-secret"`
  6. BucketName string `mapstructure:"bucket-name" json:"bucket-name" yaml:"bucket-name"`
  7. UseSSL bool `mapstructure:"use-ssl" json:"use-ssl" yaml:"use-ssl"`
  8. BasePath string `mapstructure:"base-path" json:"base-path" yaml:"base-path"`
  9. BucketUrl string `mapstructure:"bucket-url" json:"bucket-url" yaml:"bucket-url"`
  10. }