package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Mar 22, 2015
License: BSD-2-Clause
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package wslog standardizes logging format for ws.go and ottoengine/ottoengine.go
-
func LogRequest(method string, url *url.URL, remoteAddr, proto, referrer, userAgent string)
-
func LogResponse(code int, status string, method string, url *url.URL, remoteAddr string, ...)
func LogRequest(method string, url *url.URL, remoteAddr, proto, referrer, userAgent string)
LogRequest generate an log message for HTTP requests.
LogResponse generate an log message for HTTP response.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.