improve: use stream reduce auth check time

This commit is contained in:
naiba committed 2024-11-23 12:43:02 +08:00
1 parent 336d8d4fc3
commit 6db1a4b19d
10 files changed
+249 -141

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
"net/http"
)
var _ io.ReadWriteCloser = &RequestWrapper{}
var _ io.ReadWriteCloser = (*RequestWrapper)(nil)
type RequestWrapper struct {
req *http.Request