MCPcopy
hub / github.com/xjasonlyu/tun2socks / Dialer

Interface Dialer

proxy/proxy.go:19–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17var _defaultDialer Dialer = &Base{}
18
19type Dialer interface {
20 DialContext(context.Context, *M.Metadata) (net.Conn, error)
21 DialUDP(*M.Metadata) (net.PacketConn, error)
22}
23
24type Proxy interface {
25 Dialer

Callers 6

DialContextFunction · 0.65
DialFunction · 0.65
DialContextFunction · 0.65
handleTCPConnMethod · 0.65
DialUDPFunction · 0.65
handleUDPConnMethod · 0.65

Implementers 6

Rejectproxy/reject.go
Baseproxy/base.go
Directproxy/direct.go
Relayproxy/relay.go
Shadowsocksproxy/shadowsocks.go
Socks5proxy/socks5.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…