controllers

package
v0.0.0-...-f90f44b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidCredentials = errors.New("Invalid credentials")

ErrInvalidCredentials error

Functions

func LoginHandler

func LoginHandler(connection *sql.DB, cnf config.Config) negroni.HandlerFunc

LoginHandler validates the user and returns a JWT token

Types

This section is empty.

Jump to

Keyboard shortcuts

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