feat: add file transfer support (#55)

* feat: add file transfer support

* 1MB buffer
This commit is contained in:
UUBulb authored and GitHub committed 2024-08-20 22:24:03 +08:00
1 parent 093275bc80
commit 73a727d435
9 files changed
+342 -54

No files matched your search

+5
View File
@@ -12,6 +12,7 @@ const (
TaskTypeTerminalGRPC
TaskTypeNAT
TaskTypeReportHostInfo
TaskTypeFM
)
type TerminalTask struct {
@@ -22,3 +23,7 @@ type TaskNAT struct {
StreamID string
Host string
}
type TaskFM struct {
StreamID string
}