mirror of
https://github.com/traefik/traefik.git
synced 2025-12-16 06:51:30 +01:00
Tweak comments to satisfy golint
This commit is contained in:
parent
bf1f6f663a
commit
0a0063fa27
@ -19,7 +19,7 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Middleware Logger writes each request and its response to the access log.
|
Logger writes each request and its response to the access log.
|
||||||
It gets some information from the logInfoResponseWriter set up by previous middleware.
|
It gets some information from the logInfoResponseWriter set up by previous middleware.
|
||||||
*/
|
*/
|
||||||
type Logger struct {
|
type Logger struct {
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Middleware saveBackend sends the backend name to the logger.
|
// SaveBackend sends the backend name to the logger.
|
||||||
type SaveBackend struct {
|
type SaveBackend struct {
|
||||||
next http.Handler
|
next http.Handler
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user