add handler recorder

This commit is contained in:
ginuerzh
2024-09-14 23:21:25 +08:00
parent e7581f0a9e
commit 69455ace9d
39 changed files with 1256 additions and 271 deletions
+5
View File
@@ -3,6 +3,7 @@ package bypass
import (
"bufio"
"context"
"errors"
"io"
"net"
"strings"
@@ -15,6 +16,10 @@ import (
"github.com/go-gost/x/internal/matcher"
)
var (
ErrBypass = errors.New("bypass")
)
type options struct {
whitelist bool
matchers []string