gindump

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Indent = 4
View Source
var Newline = "\n"
View Source
var StringMaxLength = 0

Functions

func Dump

func Dump() gin.HandlerFunc

func DumpRequest

func DumpRequest(req *http.Request, showHeaders bool, showBody bool) string

func DumpResponse

func DumpResponse(res *http.Response, showHeaders bool, showBody bool) string

func DumpResponseWriter

func DumpResponseWriter(res gin.ResponseWriter, showHeaders bool, showBody bool) string

func DumpWithOptions

func DumpWithOptions(showReq bool, showResp bool, showBody bool, showHeaders bool, cb func(dumpStr string)) gin.HandlerFunc

Types

This section is empty.

Jump to

Keyboard shortcuts

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