Documentation
¶
Index ¶
- func Discover(domain, service, scheme string) (urls []string, err error)
- func DiscoverAddrs(domain, service string) (addresses []string, err error)
- func DiscoverAddrsPorts(domain, service string) (addresses []string, err error)
- func DiscoverChan(domain, service, scheme string, discoChan chan url.URL, errorChan chan error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Discover ¶
Discover does a DNS SRV lookup on the specified domain, for the specified service, and returns a string array of URLs to use
func DiscoverAddrs ¶
DiscoverAddrs does a DNS SRV lookup on the specified domain, for the specified service, and returns a string array of addresses/names to use
func DiscoverAddrsPorts ¶
DiscoverAddrsPorts does a DNS SRV lookup on the specified domain, for the specified service, and returns a string array of addresses/names and ports to use
func DiscoverChan ¶
DiscoverChan does a DNS SRV lookup on the specified domain, for the specified service, and streams url.URLs to use via discoChan, and errors over errorChan, closing both when done. If errorChan receives any messages, that signals the end of streams. An error of "Complete" is a non-error case. (Yeah, needs reworking)
Types ¶
This section is empty.