new: Improve the automatic update module, add authentication, and fix some bugs

This commit is contained in:
2024-12-18 00:02:55 +08:00
parent 95f4496ab6
commit 05df3fa376
12 changed files with 109 additions and 22 deletions

View File

@@ -9,10 +9,13 @@ import (
)
type MConfig struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Storage mStorage `yaml:"storage"`
Template string `yaml:"template"`
Host string `yaml:"host"`
Port int `yaml:"port"`
Storage mStorage `yaml:"storage"`
Template string `yaml:"template"`
UpdateEndpoint string `yaml:"update_endpoint"`
UpdateSecret string `yaml:"update_secret"`
CachePath string `yaml:"cache_path"`
MSite mSite `yaml:"site"`
}