Feat: remote test ping and ping-back

This commit is contained in:
HFO4
2020-02-27 11:17:59 +08:00
parent f1ef21e195
commit bd643fa2d5
9 changed files with 129 additions and 8 deletions

View File

@@ -22,7 +22,7 @@ type system struct {
Listen string `validate:"required"`
Debug bool
SessionSecret string
HashIDSalt string `validate:"required"`
HashIDSalt string
}
// slave 作为slave存储端配置
@@ -72,8 +72,7 @@ type cors struct {
var cfg *ini.File
const defaultConf = `
[System]
const defaultConf = `[System]
Mode = master
Listen = :5212
SessionSecret = {SessionSecret}