1
0
Fork 0

Migrate Compress from bool to struct

This commit is contained in:
Jean-Baptiste Doumenjou 2018-08-02 17:14:03 +02:00 committed by Traefiker Bot
parent 43d22d7a2f
commit c159e316be
6 changed files with 19 additions and 12 deletions

View file

@ -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