package
0.0.1
Repository: https://github.com/simia-tech/netx.git
Documentation: pkg.go.dev

# Functions

EndpointPort returns the port of the provided endpoint.
EndpointURL builds an url from the provided Endpoint.
MustParseEndpointURL works like ParseEndpointURL, but panics on error.
MustParseEndpointURLs works like ParseEndpointURLs, but panics on error.
NewEndpoint returns a new Endpoint with the provided values.
NewEndpointFromAddr returns a new Endpoint with values from the provided net.Addr.
Nodes returns on options to set the nodes.
ParseEndpointURL parses the provided url and returns a Endpoint.
ParseEndpointURLs parses the provided urls and returns endpoints.
TLS returns an option to set the tls configuration.

# Structs

Options holds all options for a dial call.

# Interfaces

Endpoint holds all parameters for a netx.Endpoint call.

# Type aliases

Endpoints is a sortable type alias for a slice of Dial.
Option defines a function that can modify the provided DialOptions structure.