Documentation ¶
Index ¶
- func Combined(req fasthttp.RequestHandler) fasthttp.RequestHandler
- func CombinedColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
- func Short(req fasthttp.RequestHandler) fasthttp.RequestHandler
- func ShortColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
- func Tiny(req fasthttp.RequestHandler) fasthttp.RequestHandler
- func TinyColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Combined ¶
func Combined(req fasthttp.RequestHandler) fasthttp.RequestHandler
Combined format: [<time>] <remote-addr> | <HTTP/http-version> | <method> <url> - <status> - <response-time us> | <user-agent> [2017/05/31 - 13:27:28] 127.0.0.1:54082 | HTTP/1.1 | GET /hello - 200 - 48.279µs | Paw/3.1.1 (Macintosh; OS X/10.12.5) GCDHTTPRequest
func CombinedColored ¶
func CombinedColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
CombinedColored is same as Combined but colored
func Short ¶
func Short(req fasthttp.RequestHandler) fasthttp.RequestHandler
Short format: <remote-addr> | <HTTP/:http-version> | <method> <url> - <status> - <response-time us> 127.0.0.1:53324 | HTTP/1.1 | GET /hello - 200 - 44.8µs
func ShortColored ¶
func ShortColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
ShortColored is same as Short but colored
func Tiny ¶
func Tiny(req fasthttp.RequestHandler) fasthttp.RequestHandler
Tiny format: <method> <url> - <status> - <response-time us> GET / - 200 - 11.925 us
func TinyColored ¶
func TinyColored(req fasthttp.RequestHandler) fasthttp.RequestHandler
TinyColored is same as Tiny but colored
Types ¶
This section is empty.