routes

package
v0.0.0-...-be9ad27 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFullPath

func GetFullPath(basePath string, backendPrefix string) string

func GetRoute

func GetRoute(basePath string) (r routerule, notFound bool)

func ReadRoutesFile

func ReadRoutesFile(routeFile string) error

func ReplacePrefix

func ReplacePrefix(basePath string, prefix string) string

Types

type Auth

type Auth uint8
const (
	OFF Auth = iota
	ACCESS_TOKEN
	OIDC_TOKEN
)

Jump to

Keyboard shortcuts

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