package
Version:
v0.0.0-...-9fc0fad
Opens a new window with list of versions in this module.
Published: Jun 24, 2020
License: MIT
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Login(c echo.Context) error
Login is a handler func that logs in a user
RunServer runs user server
func Signup(c echo.Context) error
Signup is a handler func that signs up a new user
type CustomClaims struct {
ID string `json:"id"`
Admin bool `json:"admin"`
jwt.StandardClaims
}
CustomClaims for jwt configuration
Source Files
¶
Click to show internal directories.
Click to hide internal directories.