MCPcopy
hub / github.com/segmentio/kafka-go / LookupHost

Method LookupHost

resolver.go:13–13  ·  view source on GitHub ↗

LookupHost looks up the given host using the local resolver. It returns a slice of that host's addresses.

(ctx context.Context, host string)

Source from the content-addressed store, hash-verified

11 // LookupHost looks up the given host using the local resolver.
12 // It returns a slice of that host's addresses.
13 LookupHost(ctx context.Context, host string) (addrs []string, err error)
14}
15
16// BrokerResolver is an interface implemented by types that translate host

Callers 1

lookupHostFunction · 0.65

Implementers 1

mockResolverdialer_test.go

Calls

no outgoing calls

Tested by

no test coverage detected