Codebase list golang-github-go-kit-kit / c6749ec6-dedd-4186-9bf7-01723f7b9694/main sd / dnssrv / lookup.go
c6749ec6-dedd-4186-9bf7-01723f7b9694/main

Tree @c6749ec6-dedd-4186-9bf7-01723f7b9694/main (Download .tar.gz)

lookup.go @c6749ec6-dedd-4186-9bf7-01723f7b9694/mainraw · history · blame

1
2
3
4
5
6
7
package dnssrv

import "net"

// Lookup is a function that resolves a DNS SRV record to multiple addresses.
// It has the same signature as net.LookupSRV.
type Lookup func(service, proto, name string) (cname string, addrs []*net.SRV, err error)