MCPcopy
hub / github.com/shadow1ng/fscan / directDialer

Struct directDialer

common/proxy/manager.go:249–253  ·  view source on GitHub ↗

directDialer 直连拨号器

Source from the content-addressed store, hash-verified

247
248// directDialer 直连拨号器
249type directDialer struct {
250 timeout time.Duration
251 localAddr string // 本地网卡IP地址
252 stats *ProxyStats
253}
254
255func (d *directDialer) Dial(network, address string) (net.Conn, error) {
256 return d.DialContext(context.Background(), network, address)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected