Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt UserID uuid.UUID `gorm:"type:uuid;default:null;"` Username string Domain string PublicKey string PrivateKey string DisplayName string Uri string Url string InboxUrl string OutboxUrl string FollowersUrl string FollowingUrl string ActorType string IconUrl string Summary string }
type User ¶
type User struct { ID uuid.UUID `gorm:"type:uuid;default:gen_random_uuid()"` CreatedAt time.Time UpdatedAt time.Time DeletedAt gorm.DeletedAt Username string `gorm:"type:VARCHAR(50);NOT NULL" json:"username"` Email string `gorm:"type:VARCHAR(100);UNIQUE;NOT NULL" json:"email"` Password []byte `json:"-"` Sessions []Session Account Account }
Click to show internal directories.
Click to hide internal directories.