add handler recorder
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user