提交
This commit is contained in:
@@ -19,6 +19,13 @@ type Config struct {
|
||||
JWT JWTConfig `mapstructure:"jwt"`
|
||||
Storage StorageConfig `mapstructure:"storage"`
|
||||
Backup BackupConfig `mapstructure:"backup"`
|
||||
License LicenseConfig `mapstructure:"license"`
|
||||
}
|
||||
|
||||
// LicenseConfig 授权配置
|
||||
type LicenseConfig struct {
|
||||
VerifyURL string `mapstructure:"verify_url"` // 远程验证接口地址(可选)
|
||||
FilePath string `mapstructure:"file_path"` // 授权文件路径, 默认 ./license.json
|
||||
}
|
||||
|
||||
// BackupConfig 备份工具配置
|
||||
|
||||
Reference in New Issue
Block a user