| 35 | } |
| 36 | |
| 37 | type brokerResolver struct { |
| 38 | *net.Resolver |
| 39 | } |
| 40 | |
| 41 | func (r brokerResolver) LookupBrokerIPAddr(ctx context.Context, broker Broker) ([]net.IPAddr, error) { |
| 42 | ipAddrs, err := r.LookupIPAddr(ctx, broker.Host) |
nothing calls this directly
no outgoing calls
no test coverage detected