Codebase list golang-github-go-kit-kit / d2f2902b-79c4-43cd-8c09-341e33fc6017/v0.1.0 sd / dnssrv / lookup.go
d2f2902b-79c4-43cd-8c09-341e33fc6017/v0.1.0

Tree @d2f2902b-79c4-43cd-8c09-341e33fc6017/v0.1.0 (Download .tar.gz)

lookup.go @d2f2902b-79c4-43cd-8c09-341e33fc6017/v0.1.0raw · 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)