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

Struct PreferIPv6

resolver/prefer.go:73–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73type PreferIPv6 struct {
74 LookupNetIPer
75}
76
77func (p PreferIPv6) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) {
78 addrs, err := p.LookupNetIPer.LookupNetIP(ctx, network, host)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected