middleware

package
v0.0.0-...-f2f702e Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2019 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TeacherAuth

func TeacherAuth(next http.Handler) http.Handler

TeacherAuth check on all it's request if the user is authorized as a teacher

func UserAuth

func UserAuth(next http.Handler) http.Handler

UserAuth check if user is authenticated

Types

This section is empty.

Jump to

Keyboard shortcuts

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