middleware

package
v0.0.0-...-460480a Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2018 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Authenticate

func Authenticate() gin.HandlerFunc

Authenticate is a handler middleware that authorizes a token (header field Authorization)

func IsActive

func IsActive() gin.HandlerFunc

IsActive verifies if a user is activated

Types

This section is empty.

Jump to

Keyboard shortcuts

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