MCPcopy
hub / github.com/valyala/fasthttp / Resolver

Interface Resolver

tcpdialer.go:123–125  ·  view source on GitHub ↗

Resolver represents interface of the tcp resolver.

Source from the content-addressed store, hash-verified

121
122// Resolver represents interface of the tcp resolver.
123type Resolver interface {
124 LookupIPAddr(context.Context, string) (names []net.IPAddr, err error)
125}
126
127// TCPDialer contains options to control a group of Dial calls.
128type TCPDialer struct {

Callers 2

resolveTCPAddrsFunction · 0.65
LookupIPAddrMethod · 0.65

Implementers 2

staticResolverclient_test.go
testResolverclient_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…