Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBodyType ¶
ToBodyType Returns the http body type, which mainly affects color highlighting
Types ¶
type Apply ¶
type Apply interface {
Apply(*Options)
}
Apply is an interface for operating Options
func OnlyTraceFlag ¶
func OnlyTraceFlag() Apply
type Options ¶
type Options struct { Write io.Writer Debug bool Color bool Trace bool ReqBodyType string RspBodyType string TraceInfo }
Options Debug mode core data structure
Click to show internal directories.
Click to hide internal directories.