package
0.6.1
Repository: https://github.com/nlnwa/whatwg-url.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WithAcceptInvalidCodepoints percent encodes values which are not valid UTF-8.
WithAllowSettingPathForNonBaseUrl allows to set path for a url which cannot be a base url.
WithCollapseConsecutiveSlashes collapses consecutive slashes in path into one (e.g.
WithEncodingOverride allows to set an encoding other than UTF-8 when parsing.
WithFailOnValidationError makes the parser throw an error on non fatal validation errors.
WithFragmentPathPercentEncodeSet allows to set an alternative set of characters to percent encode in fragment component when scheme is not special.
WithLaxHostParsing ignores some decoding errors and returns the host as is.
WithPathPercentEncodeSet allows to set an alternative set of characters to percent encode in path component.
WithPercentEncodeSinglePercentSign percent encodes a '%' which is not followed by two hexadecimal digits instead of complaining about invalid percent encoding.
WithPostParseHostFunc is a function which allows manipulation of host string after it is parsed.
WithPreParseHostFunc is a function which allows manipulation of host string before it is parsed.
WithQueryPercentEncodeSet allows to set an alternative set of characters to percent encode in query component when scheme is not special.
WithReportValidationErrors records all non fatal validation errors so that they can be fetchd by a call to....
WithSkipEqualsForEmptySearchParamsValue skips writing '=' when setting an empty value for a search parameter.
WithSkipTrailingSlashNormalization skips normalizing of empty paths.
WithSkipWindowsDriveLetterNormalization skips conversion of 'C|' to 'C:'.
WithSpecialFragmentPathPercentEncodeSet allows to set an alternative set of characters to percent encode in fragment component when scheme is special.
WithSpecialQueryPercentEncodeSet allows to set an alternative set of characters to percent encode in query component when scheme is special.
WithSpecialSchemes allows overriding the notion of special schemes.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

EmptyParserOption does not alter the parser configuration.
No description provided by the author
No description provided by the author
SearchParams represents a set of query parameters.
Url represents a URL.

# Interfaces

No description provided by the author
ParserOption configures how we parse a URL.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author