feat: support to change external controller

This commit is contained in:
GyDi
2022-11-06 23:23:26 +08:00
parent b967cfc775
commit 0aaf4bfde8
5 changed files with 131 additions and 10 deletions

View File

@@ -13,6 +13,8 @@ declare namespace ApiType {
"redir-port": number;
"socks-port": number;
"tproxy-port": number;
"external-controller": string;
secret: string;
}
interface RuleItem {
@@ -95,8 +97,8 @@ declare namespace CmdType {
interface ClashInfo {
status: string;
port?: string;
server?: string;
port?: string; // clash mixed port
server?: string; // external-controller
secret?: string;
}