Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkLongPolling ¶
func MarkLongPolling(resp http.ResponseWriter, req *http.Request)
MarkLongPolling marks the request is a long-polling request, and the logger may output different message for it
func NewLoggerHandler ¶
NewLoggerHandler is a handler that will log routing to the router log taking account of routing information
func RecordFuncInfo ¶
RecordFuncInfo records a func info into context
Types ¶
Source Files
¶
- context.go
- funcinfo.go
- logger.go
- logger_manager.go
- requestrecord.go
Click to show internal directories.
Click to hide internal directories.