authlevel

package
v0.0.0-...-f200a5c Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2017 License: MIT Imports: 3 Imported by: 5

Documentation

Overview

Package authlevel adds an AuthLevel variable to the view template.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Modify

func Modify(w http.ResponseWriter, r *http.Request, v *view.Info)

Modify sets AuthLevel in the template to auth if the user is authenticated. Sets AuthLevel to anon if not authenticated.

Types

This section is empty.

Jump to

Keyboard shortcuts

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