Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComparePassowrds ¶
func HashPassword ¶
Types ¶
type SessionService ¶
type SessionService struct{}
func (*SessionService) Init ¶
func (s *SessionService) Init()
func (*SessionService) IsAuthenticated ¶
func (s *SessionService) IsAuthenticated(c echo.Context) UserSession
func (*SessionService) Login ¶
func (s *SessionService) Login(c echo.Context, q *models.Queries) error
func (*SessionService) Logout ¶
func (s *SessionService) Logout(c echo.Context) error
type UserSession ¶
Click to show internal directories.
Click to hide internal directories.