common

package
v0.0.0-...-53467ae Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2019 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(msg ...interface{})

Debug prints a debug log with the given parameters if debug logging is enabled.

func Debugf

func Debugf(format string, args ...interface{})

Debugf prints a debug log with the given parameters and format if debug logging is enabled.

func DumpPayload

func DumpPayload(label string, pl interface{})

DumpPayload dumps a payload if both debug logging is enabled and the PROXY_DUMP_PAYLOADS environment variable is set.

func EnableDebugLogging

func EnableDebugLogging()

EnableDebugLogging enables debug logging.

Types

This section is empty.

Jump to

Keyboard shortcuts

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