urls

package
v1.1.0-beta2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 consructed from the provided parts

Types

This section is empty.

Jump to

Keyboard shortcuts

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