cleanurl

package
v0.0.57 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package cleanurl provides utilities for scrubbing basic auth credentials from URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractCredentials

func ExtractCredentials(uri *url.URL) (*url.URL, string, string)

ExtractCredentials extracts and scrubs basic auth credentials from a URL to ensure that they never get logged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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