validate auth from old app and fill auth info

This commit is contained in:
vanilia
2025-11-28 16:43:01 +07:00
parent 219d30b9c3
commit 708bceccdd
15 changed files with 138 additions and 833 deletions

No files matched your search

+3 -2
View File
@@ -1,11 +1,12 @@
package synccfg
var O SyncUrlCfg = SyncUrlCfg{} // old
var O SyncUrlCfg = SyncUrlCfg{} // new
type SyncUrlCfg struct {
Prefix string `yaml:"prefix"`
TargetHost string `yaml:"targetHost"`
Enable bool `yaml:"enable"`
Source string `yaml:"source"`
OldSource string `yaml:"oldSource"`
NewSource string `yaml:"newSource"`
SecretKey string `yaml:"secretKey"`
}