path

package
v0.0.0-...-d3ccc4f Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

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