apiMiddleware

package
v0.0.0-...-2f4a2fd Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: EPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTrailingSlash

func AddTrailingSlash(apiBasePath string) echo.MiddlewareFunc

func Auth

func Auth(apiBasePath string) echo.MiddlewareFunc

func IsSkippableApiCall

func IsSkippableApiCall(req *http.Request, apiBasePath string) bool

func PanicHandler

func PanicHandler(next echo.HandlerFunc) echo.HandlerFunc

func ReadOnlyMode

func ReadOnlyMode(apiBasePath string) echo.MiddlewareFunc

func SetDefaultHeaders

func SetDefaultHeaders(apiBasePath string) echo.MiddlewareFunc

Types

type StackTrace

type StackTrace struct {
	// contains filtered or unexported fields
}

func (*StackTrace) String

func (st *StackTrace) String() string

Jump to

Keyboard shortcuts

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