package
Version:
v0.0.0-...-366a9e0
Opens a new window with list of versions in this module.
Published: Feb 22, 2017
License: BSD-3-Clause
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Auth is HTTP middleware to ensure the request has proper token credentials
IsUser checks for consistency in email/pass combination
IsValid checks if the user request is authenticated
type User struct {
ID int `json:"id"`
Email string `json:"email"`
Hash string `json:"hash"`
Salt string `json:"salt"`
}
User defines a admin user in the system
Source Files
¶
Click to show internal directories.
Click to hide internal directories.