Files
quyun-v2/backend/providers/storage/config.go
2026-01-17 22:16:52 +08:00

18 lines
387 B
Go
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package storage
type Config struct {
Type string // local, s3
LocalPath string // for local
Secret string // for signing
BaseURL string // public url prefix
// S3-compatible config
AccessKey string
SecretKey string
Region string
Bucket string
Endpoint string
PathStyle bool
// CheckOnBoot 启动时检查 bucket 可用性(仅 s3
CheckOnBoot bool
}