refactor: task system

This commit is contained in:
langhuihui
2024-08-24 22:28:03 +08:00
parent d9f9df06b7
commit c38d3fdc50
11 changed files with 21 additions and 22 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import (
"context"
"io"
"m7s.live/m7s/v5"
"m7s.live/m7s/v5/pkg/util"
"m7s.live/m7s/v5/pkg/task"
flv "m7s.live/m7s/v5/plugin/flv/pkg"
"net"
"net/http"
@@ -40,7 +40,7 @@ func (c *RelayAPIConfig) Check(path string) bool {
}
type ReceiveRequestTask struct {
util.Task
task.Task
Plugin *m7s.Plugin
quic.Connection
quic.Stream