Documentation ¶
Index ¶
- Constants
- func Color(str string, color uint8) string
- func ColorStart(color uint8) string
- func ColorfulHTML(str string) string
- func ColorfulJson(str string) string
- func ColorfulRequestLine(str string) string
- func MethodColor(method string) uint8
- func Print(str string, color uint8)
- func PrintRequest(str string)
- func PrintResponse(str string)
- func Printf(format string, color uint8, params ...interface{})
- func Println(str string, color uint8)
- func PrintlnRequest(str string)
- func PrintlnResponse(str string)
Constants ¶
View Source
const ( Gray = uint8(iota + 90) Red Green Yellow Blue Magenta Cyan White Default EndColor = "\033[0m" )
Variables ¶
This section is empty.
Functions ¶
func ColorStart ¶
func ColorfulHTML ¶
func ColorfulJson ¶
func ColorfulRequestLine ¶
func MethodColor ¶
func PrintRequest ¶
func PrintRequest(str string)
func PrintResponse ¶
func PrintResponse(str string)
func PrintlnRequest ¶
func PrintlnRequest(str string)
func PrintlnResponse ¶
func PrintlnResponse(str string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.