debug

package
Version: v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SanitizeEnv is the set of environment variables to sanitize their values
	// in the Env http handler.
	SanitizeEnv flagutil.StringSetFlag
	// OmitEnv is the set of environment variables to omit entirely in the Env
	// http handler.
	OmitEnv flagutil.StringSetFlag
)

Functions

func Env

func Env(w http.ResponseWriter, r *http.Request)

Env responds with a plaintext listing of key=value pairs of the environment variables, sorted by key name.

If a variable appears in OmitEnv, it is excluded entirely. If a variable appears in SanitizeEnv, its value is replaced with a sanitized string, including if there was no value set in the environment.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL