Documentation
¶
Overview ¶
Package helpers defines the utility functions that are used across the application.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckSession ¶
CheckSession checks if the user is logged in or not returns the session and a boolean value
func CreateSession ¶
CreateSession creates a new session for the user
func DestroySession ¶
func DestroySession(c echo.Context) error
DestroySession destroys the session for the user
func GetHashPassword ¶
getHashPassword returns a hashed password using bcrypt and default cost
func IsMailValid ¶
IsMailValid checks if the email is valid or not.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.