MCPcopy Index your code
hub / github.com/SenseUnit/dumbproxy / HandlerDialer

Interface HandlerDialer

handler/handler.go:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26const HintsHeaderName = "X-Src-IP-Hints"
27
28type HandlerDialer interface {
29 DialContext(ctx context.Context, net, address string) (net.Conn, error)
30}
31
32type ForwardFunc = func(ctx context.Context, username string, incoming, outgoing io.ReadWriteCloser, network, address string) error
33

Callers 4

PortForwardHandlerFunction · 0.65
SOCKSHandlerFunction · 0.65
HandleTunnelMethod · 0.65
StdIOHandlerFunction · 0.65

Implementers 15

JSRouterdialer/jsrouter.go
FilterDialerdialer/filter.go
UnifiedHTTPSProxyDialerdialer/unihttp.go
wrappedDialerdialer/dialer.go
H1ProxyDialerdialer/h1.go
BoundDialerdialer/hintdialer.go
HintsSettingDialerdialer/hintdialer.go
WrappedHostnameDialerdialer/protect.go
TTInterceptordialer/tt.go
TLSWrappingDialerdialer/socks5s.go
H2ProxyDialerdialer/h2.go
FixedDstDialerdialer/fixed.go

Calls

no outgoing calls

Tested by

no test coverage detected