| 71 | } |
| 72 | |
| 73 | type PreferIPv6 struct { |
| 74 | LookupNetIPer |
| 75 | } |
| 76 | |
| 77 | func (p PreferIPv6) LookupNetIP(ctx context.Context, network, host string) ([]netip.Addr, error) { |
| 78 | addrs, err := p.LookupNetIPer.LookupNetIP(ctx, network, host) |
nothing calls this directly
no outgoing calls
no test coverage detected