Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthIdentity ¶
AuthIdentity auth identity session model
func (AuthIdentity) TableName ¶
func (AuthIdentity) TableName() string
type Basic ¶
type Basic struct { ID int64 `gorm:"primary_key" json:"id"` Provider string // phone, email, wechat, github... UID string `gorm:"column:uid"` EncryptedPassword string UserID *int64 ConfirmedAt *time.Time }
Basic basic information about auth identity
Click to show internal directories.
Click to hide internal directories.