# Functions
IsValidGRPCURLScheme returns true if s is a valid gRPC(S) URL scheme.
IsValidHTTPURLScheme returns true if s is a valid HTTP(S) URL scheme.
Parse is a wrapper around [url.Parse] that returns *URL.
RedactUserinfo returns u if the URL does not contain any userinfo data.
RedactUserinfoInURLError checks if err is a [*url.Error] and, if it is, replaces the underlying URL string with a redacted version of u.
ValidateFileURL returns nil if u is a valid file URL.
ValidateGRPCURL returns nil if u is a valid gRPC(S) URL.
ValidateHTTPURL returns nil if u is a valid HTTP(S) URL.
# Constants
ErrEmpty is returned from [Parse] and [URL.UnmarshalText] when the input is empty.
Known scheme constants.
Known scheme constants.
Known scheme constants.
Known scheme constants.
Known scheme constants.