package
Version:
v1.0.0-beta.7
Opens a new window with list of versions in this module.
Published: Jul 7, 2019
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetUser fetches a user if authenticated and exists
Simple authentication middleware
UserLogin is the login route.
type Login struct {
User string `form:"username" json:"username" binding:"required"`
Password string `form:"password" json:"password" binding:"required"`
}
Login object to be submitted via API POST.
Source Files
¶
Directories
¶
cmd
|
|
|
|
Click to show internal directories.
Click to hide internal directories.