lwch / natpass

🔥居家办公,远程开发神器

Home Page:https://lwch.gitbook.io/natpass/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

有一个问题

yangmeiooo opened this issue · comments

请问 前端显示各种shell 是canvs 实现得嘛, 连接应该都是websocket 长连接把

commented

是websocket长连接,前端用了xterm.js库,目前正在补充这部分的文档https://jkstack.github.io/natpass/step4 ,还没写到这一步
后端代码在code/client/rule/shell目录下,核心代码是link.go中的Forward接口以及exec开头的两个go程序
前端代码在html/shell目录下