MCPcopy Create free account
hub / github.com/SenseUnit/dumbproxy / PreferIPv4

Struct PreferIPv4

resolver/prefer.go:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55type PreferIPv4 struct {
56 LookupNetIPer
57}
58
59func (p PreferIPv4) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) {
60 addrs, err := p.LookupNetIPer.LookupNetIP(ctx, network, host)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected