Codebase list golang-github-go-kit-kit / de552e08-1950-4c1b-983e-dd11d2b704d4/main sd / dnssrv / lookup.go
de552e08-1950-4c1b-983e-dd11d2b704d4/main

Tree @de552e08-1950-4c1b-983e-dd11d2b704d4/main (Download .tar.gz)

lookup.go @de552e08-1950-4c1b-983e-dd11d2b704d4/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)