Documentation
¶
Overview ¶
Package urlutil provides utility functions for URL manipulation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPort ¶
func SplitHostPort ¶
SplitHostPort separates host and port. If the port is not valid, it returns the entire input as host, and it doesn't check the validity of the host. Unlike net.SplitHostPort, but per RFC 3986, it requires ports to be numeric.
From Go's net/url package. Copyright 2009 The Go Authors. All rights reserved.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.