urls

package
Version: v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 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 consructed from the provided parts

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to