urlscope

package
v0.0.0-...-bbc9ce3 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2021 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rescope

func Rescope(local, remote *url.URL) *url.URL

Rescope compares the local and remote URLs. If the remote url is a reference to the same host and port as the local URL with the IPv6 scope removed, it returns a pointer to the remote URL with the locally scoped host address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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