acl

package
v0.0.0-...-a8d72de Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package acl provides http.Handlers to prevent access to pages for authenticated users and for non-authenticated users.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisallowAnon

func DisallowAnon(h http.Handler) http.Handler

DisallowAnon does not allow anonymous users to access the page.

func DisallowAuth

func DisallowAuth(h http.Handler) http.Handler

DisallowAuth does not allow authenticated users to access the page.

Types

This section is empty.

Jump to

Keyboard shortcuts

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