route

package
v2.27.3 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableWriteMiddleware added in v2.22.1

func DisableWriteMiddleware(cfgProvider *config.ConfigProviderWithRefresh) echo.MiddlewareFunc

func PublicPath

func PublicPath(path string) echo.MiddlewareFunc

func SetAPIRoutes

func SetAPIRoutes(e *echo.Echo, cfgProvider *config.ConfigProviderWithRefresh, apiMiddleware []api.Middleware) error

SetAPIRoutes sets api routes

func SetAuthRoutes

func SetAuthRoutes(e *echo.Echo, cfgProvider *config.ConfigProviderWithRefresh)

SetAuthRoutes sets routes used by auth

func SetHealthRoute

func SetHealthRoute(e *echo.Echo)

func SetUIRoutes

func SetUIRoutes(e *echo.Echo, publicPath string, assets fs.FS) error

SetUIRoutes sets UI routes

Types

type Nonce

type Nonce struct {
	Nonce     string `json:"nonce"`
	ReturnURL string `json:"return_url"`
}

Jump to

Keyboard shortcuts

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