Documentation ¶
Index ¶
- Variables
- func BeautifyJsonBytes(data []byte, hiddenFields []string) ([]byte, error)
- func Dump() gin.HandlerFunc
- func DumpWithOptions(showReq bool, showResp bool, showBody bool, showHeaders bool, showCookies bool, ...) gin.HandlerFunc
- func FormatToBeautifulJson(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() gin.HandlerFunc
func DumpWithOptions ¶ added in v0.1.0
func FormatToBeautifulJson ¶ added in v1.0.0
transfer v to beautified json bytes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.