wslog

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2015 License: BSD-2-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package wslog standardizes logging format for ws.go and ottoengine/ottoengine.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogRequest

func LogRequest(method string, url *url.URL, remoteAddr, proto, referrer, userAgent string)

LogRequest generate an log message for HTTP requests.

func LogResponse

func LogResponse(code int, status string, method string, url *url.URL, remoteAddr string, filepath string, message string)

LogResponse generate an log message for HTTP response.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL