package
1.0.1
Repository: https://github.com/apus-run/van.git
Documentation: pkg.go.dev

# Functions

FormatURL takes in an endpoint, whether to prepend https if no scheme is specified and if the url should end in a slash.
FullyQualifiedURL returns a URL in the proper format or returns an error if the format is invalid.
GetSchemeFromURL returns the scheme from the URL.
GetServerFromURL takes a url and returns the server and port without a scheme or the rest of the URL path.
TrimHTTPPrefixes cuts off the http prefixes if they exist on the URL.

# Constants

These are the defined slash-handling modes.
These are the defined URL schemes.
These are the defined URL schemes.
These are the defined URL schemes.
These are the defined slash-handling modes.
These are the defined slash-handling modes.

# Type aliases

Scheme defines which protocol a URL should use.
SlashHandling defines the way that slashes should be used in the URL.