caravan v1.0.0-rc.0 Caravan.DnsClient behaviour

A client for fetching SRV records from DNS and returning.

Link to this section Summary

Callbacks

Accepts a valid dns record name. Returns a list of {port, host} which can then be used to construct a node name

Link to this section Callbacks

Link to this callback get_nodes(name)
get_nodes(name :: binary()) :: [{integer(), binary()}]

Accepts a valid dns record name. Returns a list of {port, host} which can then be used to construct a node name.