Documentation ¶
Overview ¶
package url provides operations on URLs and URL schemes for log forwarding destinations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAbsolute ¶
CheckAbsolute returns an error if Scheme or Host is empty.
func IsTLSScheme ¶
IsTLSScheme returns true if scheme is recognized as needing TLS security, for example "https", "tls"
func PlainScheme ¶
PlainScheme returns the plain, non-TLS, version of scheme. Example: PlainScheme("https") == "http"
Types ¶
Click to show internal directories.
Click to hide internal directories.