Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoginUserDTO ¶
type RefreshToken ¶ added in v0.1.0
type RefreshToken struct { ID uint64 `json:"id" gorm:"primary_key;AUTO_INCREMENT"` UserID uint64 `json:"userID" gorm:"not null"` TTL time.Time `json:"ttl" gorm:"not null"` Value string `json:"value" gorm:"unique; not null"` CreatedAt time.Time `json:"createdAt" gorm:"not null"` UpdatedAt time.Time `json:"updatedAt" gorm:"not null"` }
type RegisterUserDTO ¶
type RegisterUserDTO struct {
Credentials LoginUserDTO
}
Click to show internal directories.
Click to hide internal directories.