path

package
v0.25.15 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 20

Documentation

Overview

Package path contains an authorizer that allows certain paths and path prefixes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAuthorizer

func NewAuthorizer(alwaysAllowPaths []string) (authorizer.Authorizer, error)

NewAuthorizer returns an authorizer which accepts a given set of paths. Each path is either a fully matching path or it ends in * in case a prefix match is done. A leading / is optional.

Types

This section is empty.

Jump to

Keyboard shortcuts

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