Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct { gorm.Model Name string `gorm:"not null" json:"name,omitempty"` Password string `gorm:"not null" json:"password,omitempty"` Email string `gorm:"not null;unique_index" json:"email,omitempty"` Type string `gorm:"not null" json:"type,omitempty"` Premium_Points string `gorm:"not null;unique_index" json:"premium_points,omitempty"` }
type Claims ¶
type Claims struct { Email string `json:"email"` Name string `json:"name"` jwt.RegisteredClaims }
type Players ¶
type Players struct { gorm.Model Name string `gorm:"not null" json:"name"` Group_ID uint8 `gorm:"not null" json:"group_id"` Account_Id int16 `gorm:"not null" json:"account_id"` Level int64 `gorm:"not null" json:"level"` Town_ID uint8 `gorm:"not null" json:"town_id"` PosX uint64 `gorm:"not null" json:"posx"` PosY uint64 `gorm:"not null" json:"posy"` PosZ int8 `gorm:"not null" json:"posz"` }
Click to show internal directories.
Click to hide internal directories.