acl

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

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

func LoginRequired

func LoginRequired(h http.Handler) http.Handler

LoginRequired allows only authenticated users to access the page note: this is really the same as DisallowAnon but more readable

Types

This section is empty.

Jump to

Keyboard shortcuts

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