1 package dnssrv 2 3 import "net" 4 5 // Lookup is a function that resolves a DNS SRV record to multiple addresses. 6 // It has the same signature as net.LookupSRV. 7 type Lookup func(service, proto, name string) (cname string, addrs []*net.SRV, err error) 8