Documentation
¶
Index ¶
- func CheckHashPassword(hash, password string) bool
- func ClearSession(c echo.Context) (err error)
- func GetAuth(c echo.Context) (session_gorilla *sessions.Session, err error)
- func PasswordHash(password string) (string, error)
- func RefreshSession(user models.User, c echo.Context) (session_gorilla *sessions.Session, err error)
- func SetSession(user models.User, c echo.Context) (session_gorilla *sessions.Session, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHashPassword ¶
CheckHashPassword: hash for password to bool
func ClearSession ¶
func ClearSession(c echo.Context) (err error)
ClearSession: delete session from User
func PasswordHash ¶
PasswordHash: hash for password to string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.