视频保存

This commit is contained in:
duoaohui
2026-05-19 17:21:40 +08:00
parent 3fe284ec5c
commit 23a74f737e
9 changed files with 59 additions and 19 deletions

View File

@@ -99,11 +99,12 @@ type MediaServerConfig struct {
// MinioConfig MinIO 对象存储配置
type MinioConfig struct {
Endpoint string `mapstructure:"endpoint"` // MinIO 服务地址host:port
AccessKey string `mapstructure:"access_key"` // 访问密钥
SecretKey string `mapstructure:"secret_key"` // 密钥
Bucket string `mapstructure:"bucket"` // 存储桶名称
UseSSL bool `mapstructure:"use_ssl"` // 是否使用 HTTPS
Endpoint string `mapstructure:"endpoint"` // MinIO 服务地址host:port
AccessKey string `mapstructure:"access_key"` // 访问密钥
SecretKey string `mapstructure:"secret_key"` // 密钥
Bucket string `mapstructure:"bucket"` // 存储桶名称
UseSSL bool `mapstructure:"use_ssl"` // 是否使用 HTTPS
PublicBaseURL string `mapstructure:"public_base_url"`
}
// ServerConfig HTTP 服务配置