| 395 | } |
| 396 | |
| 397 | type mockResolver struct { |
| 398 | addrs map[string][]string |
| 399 | } |
| 400 | |
| 401 | func (mr *mockResolver) LookupHost(ctx context.Context, host string) ([]string, error) { |
| 402 | if addrs, ok := mr.addrs[host]; !ok { |
nothing calls this directly
no outgoing calls
no test coverage detected