Documentation ¶ Index ¶ func SplitAddressPort(endpoint string) (string, int, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func SplitAddressPort ¶ func SplitAddressPort(endpoint string) (string, int, error) SplitAddressPort splits a network address of the form "host:port", "host%zone:port", "[host]:port" or "[host%zone]:port" into host or host%zone and port. Unlike net.SplitHostPort, the Port is returned as an int. Types ¶ This section is empty. Source Files ¶ View all Source files endpoint.go Click to show internal directories. Click to hide internal directories.