Documentation ¶
Overview ¶
Package middleware provides a collection of HTTP middleware/Handler function for use with Go's net/http package, in other words any framework supporting http.Handler
Minify middleware using 'tdewolff/minify'
Options middleware
import "github.com/jeevatkm/middleware" OR import "gopkg.in/jeevatkm/middleware.v0"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Minify ¶
Minify middleware is simple and generic using 'tdewolff/minify' package. Middleware minifies HTML, Inline CSS and Inline JS. Compatible with Goji, Gorilla, Gin & net/http (amongst many others). Refer: https://github.com/jeevatkm/middleware/examples
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.