mirror of
https://github.com/labstack/echo.git
synced 2025-07-05 00:58:47 +02:00
rename proto to protocol
This commit is contained in:
@ -33,7 +33,7 @@ type (
|
||||
// - host
|
||||
// - method
|
||||
// - path
|
||||
// - proto
|
||||
// - protocol
|
||||
// - referer
|
||||
// - user_agent
|
||||
// - status
|
||||
@ -155,7 +155,7 @@ func LoggerWithConfig(config LoggerConfig) echo.MiddlewareFunc {
|
||||
p = "/"
|
||||
}
|
||||
return buf.WriteString(p)
|
||||
case "proto":
|
||||
case "protocol":
|
||||
return buf.WriteString(req.Proto)
|
||||
case "referer":
|
||||
return buf.WriteString(req.Referer())
|
||||
|
Reference in New Issue
Block a user