caddylog

package
v2.0.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

type Log struct {
	Filename string
	// contains filtered or unexported fields
}

Log implements a simple logging middleware.

func (Log) CaddyModule

func (Log) CaddyModule() caddy.ModuleInfo

CaddyModule returns the Caddy module information.

func (*Log) ServeHTTP

func (l *Log) ServeHTTP(w http.ResponseWriter, r *http.Request, next caddyhttp.Handler) error

Jump to

Keyboard shortcuts

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