
The highest tagged major version is
v2.
package
Version:
v1.10.0
Opens a new window with list of versions in this module.
Published: Jul 2, 2024
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 8
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.