Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RequireUserInfo ¶
func RequireUserInfo(opts RequireUserInfoOptions) echo.MiddlewareFunc
func SkipExactPaths ¶
func SkipExactPaths(paths ...string) middleware.Skipper
SkipExactPaths skips a request whose URL path, or the pattern of the route it matched (c.Path(), such as "/v1/leaderboard/public/:project_id"), is one of paths. A route pattern match is skipped only when each path parameter holds a single segment. There is no prefix or wildcard matching.
Types ¶
type RequireUserInfoOptions ¶
type RequireUserInfoOptions struct {
Skipper middleware.Skipper
}
Click to show internal directories.
Click to hide internal directories.