1
0
Fork 0

Minor refactor as requested in PR comments

This commit is contained in:
David Tootill 2016-04-28 10:53:02 +00:00
parent 8bac454792
commit bf1f6f663a
4 changed files with 27 additions and 37 deletions

View file

@ -1,14 +1,10 @@
package middlewares
/*
Middleware saveBackend sends the backend name to the logger.
*/
import (
"net/http"
)
// SaveBackend holds the next handler
// Middleware saveBackend sends the backend name to the logger.
type SaveBackend struct {
next http.Handler
}