1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-27 22:38:25 +02:00

Updated docs, exposed middleware.DefaultSkipper

Signed-off-by: Vishal Rana <vr@labstack.com>
This commit is contained in:
Vishal Rana
2017-01-28 11:43:56 -08:00
parent aa483fd34f
commit 52fa135fd5
19 changed files with 50 additions and 27 deletions

View File

@@ -40,7 +40,7 @@ type (
var (
// DefaultKeyAuthConfig is the default KeyAuth middleware config.
DefaultKeyAuthConfig = KeyAuthConfig{
Skipper: defaultSkipper,
Skipper: DefaultSkipper,
KeyLookup: "header:" + echo.HeaderAuthorization,
AuthScheme: "Bearer",
}