Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointPort ¶
EndpointPort returns the port of the provided endpoint.
func EndpointURL ¶
EndpointURL builds an url from the provided Endpoint.
Types ¶
type Endpoint ¶
Endpoint holds all parameters for a netx.Endpoint call.
func MustParseEndpointURL ¶
MustParseEndpointURL works like ParseEndpointURL, but panics on error.
func NewEndpoint ¶
NewEndpoint returns a new Endpoint with the provided values.
func NewEndpointFromAddr ¶
NewEndpointFromAddr returns a new Endpoint with values from the provided net.Addr.
type Endpoints ¶
type Endpoints []Endpoint
Endpoints is a sortable type alias for a slice of Dial.
func MustParseEndpointURLs ¶
MustParseEndpointURLs works like ParseEndpointURLs, but panics on error.
func ParseEndpointURLs ¶
ParseEndpointURLs parses the provided urls and returns endpoints.
Click to show internal directories.
Click to hide internal directories.