improve: use stream reduce auth check time

This commit is contained in:
naiba
2024-11-23 12:43:02 +08:00
parent 336d8d4fc3
commit 6db1a4b19d
10 changed files with 249 additions and 141 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"github.com/naiba/nezha/proto"
)
var _ io.ReadWriteCloser = &IOStreamWrapper{}
var _ io.ReadWriteCloser = (*IOStreamWrapper)(nil)
type IOStream interface {
Recv() (*proto.IOStreamData, error)