Documentation ¶
Index ¶
- func CopyHeaderByNames(src, dst http.Header, names ...string) http.Header
- func HeaderSubset(header http.Header, names ...string) http.Header
- func JoinRawUrl(base string, target string) (string, error)
- func JoinUrl(base, target *url.URL) *url.URL
- func JoinUrlPro(base, target *url.URL, rawBase, rawTarget string) (joined *url.URL, err error)
- func JoinUrlWithRaw(base *url.URL, target string) (*url.URL, error)
- func JsonMarshalUrlInfo(_url *url.URL, prefix, indent string) (result []byte)
- func JsonifyUrlInfo(_url *url.URL, prefix, indent string) string
- func NewHeaderFromMap(m map[string]string) http.Header
- func NewUrlValuesFromMap(m map[string]string) url.Values
- func ParseAndJsonifyUrl(_url string) (string, error)
- func PurgeHeader(header http.Header, names ...string) http.Header
- func PurgeHeaderInplace(header http.Header, names ...string) http.Header
- func UrlInfo(_url *url.URL) map[string]any
- type CookiePtr
- type Cookies
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyHeaderByNames ¶ added in v1.0.54
func HeaderSubset ¶ added in v1.0.54
func JoinUrlPro ¶
func JsonMarshalUrlInfo ¶
func NewUrlValuesFromMap ¶ added in v1.0.42
func ParseAndJsonifyUrl ¶
func PurgeHeader ¶ added in v1.0.54
func PurgeHeaderInplace ¶ added in v1.0.54
Types ¶
type Cookies ¶
func NewCookiesFromMap ¶ added in v1.0.41
Click to show internal directories.
Click to hide internal directories.