mirror of
https://github.com/VaalaCat/frp-panel.git
synced 2025-10-29 09:53:03 +08:00
feat: proxy list [新增代理列表实体]
refactor: change client manager structure [重构:更改客户端管理器结构适配影子客户端] feat: add proxy config table and dao [添加代理配置独立数据表和DAO层] feat: new proxy config entity [新建的代理配置实体] feat: update and delete proxy config [更新和删除代理配置接口] feat: get config api and beautify proxy item [更新获取配置API并美化代理项] feat: change proxy form style [美化修改代理的表单样式] fix: client edit [修复:编辑客户端的问题] fix: shadow copy status error [修复:影子客户端复制状态错误] fix: http proxy bug [修复:HTTP代理类型的错误] fix: cannot update client [修复:无法更新客户端] feat: record trigger refetch [自动重新获取表格内的数据] fix: filter string length [修复:过滤字符串长度] fix: add client error [修复:添加客户端错误] fix: do not notify client when stopped [修复:停止时不通知客户端] fix: delete when proxy duplicate [修复:代理重复时删除] feat: add http proxy location [添加HTTP代理路由路径] chore: edit style [编辑样式美化] fix: remove expired client [修复:自动移除过期客户端] feat: proxy status [新增代理状态提示] fix: build [修复:构建] fix: refetch trigger [修复:重新获取数据的问题] fix: remove all expired client [修复:移除所有过期客户端] feat: i18n for proxy [代理页面的国际化翻译]
This commit is contained in:
@@ -41,9 +41,9 @@ export interface ClientStatus {
|
||||
*/
|
||||
addr?: string;
|
||||
/**
|
||||
* @generated from protobuf field: optional int32 connect_time = 7;
|
||||
* @generated from protobuf field: optional int64 connect_time = 7;
|
||||
*/
|
||||
connectTime?: number; // 连接建立的时间
|
||||
connectTime?: bigint; // 连接建立的时间
|
||||
}
|
||||
/**
|
||||
* @generated from protobuf enum api_master.ClientStatus.Status
|
||||
@@ -163,7 +163,7 @@ class ClientStatus$Type extends MessageType<ClientStatus> {
|
||||
{ no: 4, name: "ping", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
|
||||
{ no: 5, name: "version", kind: "message", T: () => ClientVersion },
|
||||
{ no: 6, name: "addr", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
||||
{ no: 7, name: "connect_time", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ }
|
||||
{ no: 7, name: "connect_time", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
|
||||
]);
|
||||
}
|
||||
create(value?: PartialMessage<ClientStatus>): ClientStatus {
|
||||
@@ -199,8 +199,8 @@ class ClientStatus$Type extends MessageType<ClientStatus> {
|
||||
case /* optional string addr */ 6:
|
||||
message.addr = reader.string();
|
||||
break;
|
||||
case /* optional int32 connect_time */ 7:
|
||||
message.connectTime = reader.int32();
|
||||
case /* optional int64 connect_time */ 7:
|
||||
message.connectTime = reader.int64().toBigInt();
|
||||
break;
|
||||
default:
|
||||
let u = options.readUnknownField;
|
||||
@@ -232,9 +232,9 @@ class ClientStatus$Type extends MessageType<ClientStatus> {
|
||||
/* optional string addr = 6; */
|
||||
if (message.addr !== undefined)
|
||||
writer.tag(6, WireType.LengthDelimited).string(message.addr);
|
||||
/* optional int32 connect_time = 7; */
|
||||
/* optional int64 connect_time = 7; */
|
||||
if (message.connectTime !== undefined)
|
||||
writer.tag(7, WireType.Varint).int32(message.connectTime);
|
||||
writer.tag(7, WireType.Varint).int64(message.connectTime);
|
||||
let u = options.writeUnknownFields;
|
||||
if (u !== false)
|
||||
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
||||
|
||||
Reference in New Issue
Block a user