Versions in this module Expand all Collapse all v0 v0.1.0 Mar 2, 2020 Changes in this version + func Get(e echo.Context) error + func Login(e echo.Context) error + func Logout(e echo.Context) error + func Register(e echo.Context) error + func Set(e echo.Context) error + func UsernameCheck(e echo.Context) error + func VailEmail(email string) bool + func VailPhone(phone string) bool + type LoginModel struct + HashPassword string + Password string + Username string + type Token struct + ExpiresAt time.Time + Role int + Token string + UserID string