diff --git a/kernel/conf/sync.go b/kernel/conf/sync.go index 1c9b7edad..752c18f4c 100644 --- a/kernel/conf/sync.go +++ b/kernel/conf/sync.go @@ -39,18 +39,20 @@ func NewSync() *Sync { } type S3 struct { - Endpoint string `json:"endpoint"` // 服务端点 - AccessKey string `json:"accessKey"` // Access Key - SecretKey string `json:"secretKey"` // Secret Key - Bucket string `json:"bucket"` // 存储空间 - Region string `json:"region"` // 存储区域 - PathStyle bool `json:"pathStyle"` // 是否使用路径风格 + Endpoint string `json:"endpoint"` // 服务端点 + AccessKey string `json:"accessKey"` // Access Key + SecretKey string `json:"secretKey"` // Secret Key + Bucket string `json:"bucket"` // 存储空间 + Region string `json:"region"` // 存储区域 + PathStyle bool `json:"pathStyle"` // 是否使用路径风格 + SkipTlsVerify bool `json:"skipTlsVerify"` // 是否跳过 TLS 验证 } type WebDAV struct { - Endpoint string `json:"endpoint"` // 服务端点 - Username string `json:"username"` // 用户名 - Password string `json:"password"` // 密码 + Endpoint string `json:"endpoint"` // 服务端点 + Username string `json:"username"` // 用户名 + Password string `json:"password"` // 密码 + SkipTlsVerify bool `json:"skipTlsVerify"` // 是否跳过 TLS 验证 } const (