use a rewriter instead
This commit is contained in:
parent
2e867583dc
commit
8a90646a68
3 changed files with 28 additions and 3 deletions
|
@ -10,6 +10,7 @@ import (
|
|||
import (
|
||||
"github.com/eyedeekay/eeproxy/conn"
|
||||
"github.com/eyedeekay/eeproxy/resolve"
|
||||
"github.com/eyedeekay/eeproxy/rewriter"
|
||||
"github.com/eyedeekay/go-socks5"
|
||||
"github.com/eyedeekay/sam3"
|
||||
)
|
||||
|
@ -105,6 +106,7 @@ func NewManagerFromOptions(opts ...func(*Manager) error) (*Manager, error) {
|
|||
m.Config = socks5.Config{
|
||||
Resolver: r,
|
||||
Dial: m.Dial,
|
||||
Rewriter: NewRewriter(),
|
||||
}
|
||||
return &m, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue