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.
Click to show internal directories.
Click to hide internal directories.