package storage import "time" // Config MinIO配置 type Config struct { Endpoint string `yaml:"endpoint" json:"endpoint"` // MinIO地址 AccessKeyID string `yaml:"access_key_id" json:"access_key_id"` // AccessKey SecretAccessKey string `yaml:"secret_access_key" json:"secret_access_key"` // SecretKey UseSSL bool `yaml:"use_ssl" json:"use_ssl"` // 是否使用SSL BucketName string `yaml:"bucket_name" json:"bucket_name"` // 默认桶名称 Region string `yaml:"region" json:"region"` // 区域 CDNDomain string `yaml:"cdn_domain" json:"cdn_domain"` // CDN域名(可选) PresignExpires time.Duration `yaml:"presign_expires" json:"presign_expires"` // 预签名URL过期时间,默认15分钟 }