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

Struct staticResolver

client_test.go:4231–4233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4229}
4230
4231type staticResolver struct {
4232 addrs []net.IPAddr
4233}
4234
4235func (r *staticResolver) LookupIPAddr(ctx context.Context, host string) ([]net.IPAddr, error) {
4236 return r.addrs, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected