Skip to content

Package middlewares aims to create a set of commonly used middleware http.Handlers for use with the default http package. All handlers only takes a http.Handler as an argument, and returns only http.Handler, to more easily be chained with handler chain libraries (.e.g. https://github.com/justinas/alice). Documentation https://godoc.org/github.c…

License

Notifications You must be signed in to change notification settings

hawry/middlewares

Repository files navigation

GoDoc Build Status

Install

go get github.com/hawry/middlewares

Usage

Checkout the GoDoc page for the documentation: https://godoc.org/github.com/Hawry/middlewares

Testing

To see the test coverage and which lines that are being tested, run: go test -coverprofile=cp.out && go tool cover -html=cp.out

About

Package middlewares aims to create a set of commonly used middleware http.Handlers for use with the default http package. All handlers only takes a http.Handler as an argument, and returns only http.Handler, to more easily be chained with handler chain libraries (.e.g. https://github.com/justinas/alice). Documentation https://godoc.org/github.c…

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages