Documentation
¶
Overview ¶
Package api_auth_model api/api_auth/api_auth_model/api_auth_model.go
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthSession ¶
type AuthVerifyCode ¶
type AuthVerifyCode struct {
gorm.Model
Recipient string `gorm:"size:320;not null;uniqueIndex"`
CodeHash string `gorm:"size:64;not null"`
AttemptsRemaining int `gorm:"not null"`
ExpiresAt time.Time `gorm:"not null;index"`
ResendAvailableAt time.Time `gorm:"not null"`
SendWindowStartedAt time.Time `gorm:"not null"`
SendCount int `gorm:"not null"`
SentAt *time.Time
}
Click to show internal directories.
Click to hide internal directories.