feat: framed fm for webshell (#411)

* feat: framed fm for webshell

* 1MB buffer
This commit is contained in:
UUBulb authored and GitHub committed 2024-08-20 22:25:29 +08:00
1 parent 9c986d06cb
commit 47f8447a22
5 files changed
+698 -4

No files matched your search

+5
View File
@@ -23,6 +23,7 @@ const (
TaskTypeTerminalGRPC
TaskTypeNAT
TaskTypeReportHostInfo
TaskTypeFM
)
type TerminalTask struct {
@@ -34,6 +35,10 @@ type TaskNAT struct {
Host string
}
type TaskFM struct {
StreamID string
}
const (
MonitorCoverAll = iota
MonitorCoverIgnoreAll