Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckParameter ¶ added in v0.55.0
func CheckParameter(svc project.Service, apiPrefix string) echo.MiddlewareFunc
CheckParameter is a middleware that will verify if the project used for the request exists. It will also check if the project name and the resource name are valid. This is required to prevent any path traversal attack. apiPrefix is the optional prefix configured by the user (config `api_prefix`) under which every route is registered.
func HandleAPIPrefix ¶ added in v0.47.1
func HandleAPIPrefix(apiPrefix string) echo.MiddlewareFunc
func HandleAnonymous ¶ added in v0.52.0
func HandleAnonymous(isAnonymous bool) echo.MiddlewareFunc
func HandleError ¶ added in v0.25.0
func HandleError() echo.MiddlewareFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.