# Functions
GetStructFields 把结构体转换成一个map.
ProtoToPrintString pb协议转换成可打印的json string,会对超长内容截断.
String 把i转换成string.
StructToPrintString 结构体转换成可打印的json string,会对超长内容截断.
把定义了Json字段的结构本转换为Json字符串输出.
ToPrintString 入参换成可打印的json string,包括protobuf和普通结构体,或者其他类型.
# Variables
处理string的方式,默认截断后面补上 "...".
PrintProtoLen 设置打印pb报文的长度,超过这个长度将会对报文中的超长字段进行处理(截断).
PrintSliceLen 设置打印报文中的slice或者array的长度,超过这个长度将会对报文中的超长内容进行处理(截断).
PrintStringLen 设置打印报文中字符串的长度,超过这个长度将会对报文中的超长字段进行处理(截断).
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author