Migrate Compress from bool to struct
This commit is contained in:
parent
43d22d7a2f
commit
c159e316be
6 changed files with 19 additions and 12 deletions
|
@ -9,7 +9,7 @@ import (
|
|||
"github.com/containous/traefik/log"
|
||||
)
|
||||
|
||||
// Compress is a middleware that allows redirection
|
||||
// Compress is a middleware that allows to compress the response
|
||||
type Compress struct{}
|
||||
|
||||
// ServeHTTP is a function used by Negroni
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue