Documentation ¶
Index ¶
Constants ¶
View Source
const TokenHeaderName = "X-Auth-Token"
TokenHeaderName is the header name to set authentication token.
Variables ¶
This section is empty.
Functions ¶
func Middleware ¶
func Middleware(authorizedTokens []string) echo.MiddlewareFunc
Middleware middleware check for an authorized token.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.