debug

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Verbose bool

Functions

func Log

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

Log prints debug messages when verbose mode is enabled

func LogRequest

func LogRequest(req *http.Request, requestID string)

LogRequest logs HTTP request details in verbose mode IMPORTANT: Authorization header is redacted for security

func LogResponse

func LogResponse(resp *http.Response, requestID string, duration time.Duration)

LogResponse logs HTTP response details in verbose mode

Types

This section is empty.

Jump to

Keyboard shortcuts

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