Versions in this module Expand all Collapse all v0 v0.0.36 Jul 17, 2024 Changes in this version + const DefaultHTTPPort + const DefaultHTTPSPort + const HTTP + const HTTPS + const SchemeSeparator + var AllowLegacySeperator bool = false + var DisableAutoCorrect bool + var MustEscapeCharSet []rune = []rune + var RFCEscapeCharSet []rune = []rune + func AutoMergeRelPaths(path1 string, path2 string) (string, error) + func ParamEncode(data string) string + func PercentEncoding(data string) string + func URLEncodeWithEscapes(data string, charset ...rune) string + type Params map[string][]string + func GetParams(query url.Values) Params + func NewParams() Params + func (p Params) Add(key string, value ...string) + func (p Params) Decode(raw string) + func (p Params) Del(key string) + func (p Params) Encode() string + func (p Params) Get(key string) string + func (p Params) Has(key string) bool + func (p Params) Merge(x Params) + func (p Params) Set(key string, value string) + type URL struct + IsRelative bool + Original string + Params Params + Unsafe bool + func Parse(inputURL string) (*URL, error) + func ParseRelativePath(inputURL string, unsafe bool) (*URL, error) + func ParseURL(inputURL string, unsafe bool) (*URL, error) + func (u *URL) Clone() *URL + func (u *URL) EscapedString() string + func (u *URL) GetRelativePath() string + func (u *URL) MergePath(newrelpath string, unsafe bool) error + func (u *URL) Query() Params + func (u *URL) String() string + func (u *URL) TrimPort() + func (u *URL) Update() + func (u *URL) UpdatePort(newport string) + func (u *URL) UpdateRelPath(newrelpath string, unsafe bool) error