tequil

package
v0.0.0-...-365054f Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const TequilapiURLPrefix = "/tequilapi"

TequilapiURLPrefix tequilapi reverse proxy prefix

Variables

View Source
var UnprotectedRoutes = []string{"/auth/authenticate", "/auth/login", "/healthcheck", "/config/user", "/config/ui/features"}

UnprotectedRoutes these routes are not protected by reverse proxy

Functions

func IsProtectedRoute

func IsProtectedRoute(url string) bool

IsProtectedRoute helper method for checking if route is protected

func IsReverseProxyRoute

func IsReverseProxyRoute(url string) bool

IsReverseProxyRoute helper method for checking if URL is of tequilapi reverse proxy

func IsUnprotectedRoute

func IsUnprotectedRoute(url string) bool

IsUnprotectedRoute helper method for checking if route is unprotected

Types

This section is empty.

Jump to

Keyboard shortcuts

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