feat: framed fm for webshell (#411)

* feat: framed fm for webshell

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

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