echomiddleware

package
v0.0.0-...-1882419 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 9 Imported by: 0

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL