Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶
type Admin struct { gorm.Model Username string `gorm:"index:idx_name,unique";json:"username"` Password string `json:"password"` }
Admin stores logins for the admin panel
type Library ¶
type Library struct { gorm.Model Page Page `gorm:"foreignKey:ID"` User User `gorm:"foreignKey:ID"` }
Library keeps track of the pages that each player has found
type Page ¶
type Page struct { gorm.Model Code string `gorm:"unique"` Title string Text string Author string Published bool `sql:"DEFAULT:false"` System bool `sql:"DEFAULT:false"` }
Page stores a static page that can be accessed via QR code
type ResponseResult ¶
ResponseResult stores the status of a query
Click to show internal directories.
Click to hide internal directories.