完成大部分基础功能

This commit is contained in:
sprov
2021-05-30 15:23:48 +08:00
parent a66dff6959
commit 4bae13dcc6
12 changed files with 443 additions and 22 deletions

View File

@@ -88,4 +88,27 @@ class DBInbound {
const inbound = this.toInbound();
return inbound.genLink(address, this.remark);
}
}
class AllSetting {
webListen = "";
webPort = 65432;
webCertFile = "";
webKeyFile = "";
webBasePath = "/";
xrayTemplateConfig = "";
timeLocation = "Asia/Shanghai";
constructor(data) {
if (data == null) {
return
}
ObjectUtil.cloneProps(this, data);
}
equals(other) {
return ObjectUtil.equals(this, other);
}
}