urls

package
v2.0.0-beta2.0...-3469a79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 17, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package urls provides capabilities for manipulating URLs that are not provided by the builtin net/url package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildUpstreamURL

func BuildUpstreamURL(r *http.Request, u *url.URL) *url.URL

BuildUpstreamURL will merge the downstream request with the provided BaseURL to construct the full upstream URL

func Clone

func Clone(u *url.URL) *url.URL

Clone returns a deep copy of a *url.URL

func FromParts

func FromParts(scheme, host, path, query, fragment string) *url.URL

FromParts returns a *url.URL constructed from the provided parts

func Size

func Size(u *url.URL) int

Size returns the memory utilization in bytes of the URL

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL