Documentation
¶
Index ¶
- Variables
- func BeautifyJsonBytes(data []byte, hiddenFields []string) ([]byte, error)
- func Dump(cb func(dumpStr string)) gin.HandlerFunc
- func DumpWithOptions(showReq bool, showResp bool, showBody bool, showHeaders bool, showCookies bool, ...) gin.HandlerFunc
- func FormatToJson(v interface{}, hiddenFields []string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var Indent = 4
View Source
var Newline = "\n"
View Source
var StringMaxLength = 0
Functions ¶
func BeautifyJsonBytes ¶ added in v0.1.0
func Dump ¶
func Dump(cb func(dumpStr string)) gin.HandlerFunc
func DumpWithOptions ¶ added in v0.1.0
func FormatToJson ¶ added in v0.0.3
transfer v to json bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.