Versions in this module Expand all Collapse all v0 v0.0.1 Dec 5, 2018 Changes in this version + func EndpointPort(ep Endpoint) int + func EndpointURL(ep Endpoint) string + type Endpoint interface + Address func() string + Network func() string + Options func() []Option + func MustParseEndpointURL(url string, options ...Option) Endpoint + func NewEndpoint(network, address string, options ...Option) Endpoint + func NewEndpointFromAddr(addr net.Addr, options ...Option) Endpoint + func ParseEndpointURL(url string, options ...Option) (Endpoint, error) + type Endpoints []Endpoint + func MustParseEndpointURLs(urls []string, options ...Option) Endpoints + func ParseEndpointURLs(urls []string, options ...Option) (Endpoints, error) + func (e Endpoints) Len() int + func (e Endpoints) Less(i, j int) bool + func (e Endpoints) Swap(i, j int) + type Option func(*Options) error + func Nodes(value ...string) Option + func TLS(value *tls.Config) Option + type Options struct + Nodes []string + TLSConfig *tls.Config + Timeout time.Duration