Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultOptions = Options{ Writer: os.Stdout, TimeFormat: "2006/01/02 15:04:05.000", Format: `{{ if .Timestamp }}{{ .Timestamp }} {{end}}` + `{{ .Method }} {{ .Path }} {{ .CodeColor }}{{ .Code }}{{ .Reset }} ` + `{{ .Duration }}{{ if .Size }} {{ .Size }}{{end}}` + `{{ if .IP }} ({{ .IP }}){{end}}` + "\n", Colors: defaultColors(), }
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.