Documentation ¶
Overview ¶
Package models defines all the database models for the application
Index ¶
Constants ¶
View Source
const ( TokenUserActivation string = "user_activation" TokenPasswordReset string = "password_reset" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
func (Session) HasExpired ¶
type Token ¶
type Token struct { gorm.Model Value string Type string ModelID int ModelType string ExpiresAt time.Time }
func (Token) HasExpired ¶
Click to show internal directories.
Click to hide internal directories.