Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyChallenge ¶
type LoginSession ¶
type LoginSession struct { gorm.Model ID uint `gorm:"primaryKey" gorm:"AUTO_INCREMENT"` AccountID uint Account Account Token string `gorm:"uniqueIndex"` Expiration time.Time CreatedAt time.Time UpdatedAt time.Time }
func (*LoginSession) BeforeCreate ¶
func (s *LoginSession) BeforeCreate(tx *gorm.DB) (err error)
Click to show internal directories.
Click to hide internal directories.