Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogRecord ¶
type LogRecord struct { http.ResponseWriter // contains filtered or unexported fields }
LogRecord is an http.ResponseWriter implementer and wrapper that also records information about the request.
func (*LogRecord) Write ¶
Write implements the http.Handler#Write method, and records the length of any data written to the response.
func (*LogRecord) WriteHeader ¶
WriteHeader implements the http.Handler#WriteHeader method, and records the response status code.
Click to show internal directories.
Click to hide internal directories.