Categorygithub.com/giantswarm/middleware-server
repositorypackage
1.2.0
Repository: https://github.com/giantswarm/middleware-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

middleware-server

Lightweight server module, handling http middlewares.

Docs

http://godoc.org/github.com/giantswarm/middleware-server

Install

$ go get github.com/giantswarm/middleware-server

Import

import "github.com/giantswarm/middleware-server"

Usage

See the examples

make build-examples

Responders

http://godoc.org/github.com/giantswarm/middleware-server#Response

Access Logging

There is a access logging implemented by default when setting a logger.

# format: date time file:line: [level] METHOD path code bytes milliseconds
2014/05/28 12:51:22 logaccess.go:56: [INFO] GET /v1/hello-world 200 11 0