Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigratePlayerDB ¶
func MigratePlayerDB(db *sql.DB, dbtype types.DatabaseType) error
Types ¶
type Player ¶
type Player struct { Name string `json:"name"` Pitch float64 `json:"pitch"` Yaw float64 `json:"yaw"` PosX float64 `json:"posx"` PosY float64 `json:"posy"` PosZ float64 `json:"posz"` HP int `json:"hp"` Breath int `json:"breath"` CreationDate int64 `json:"creation_date"` ModificationDate int64 `json:"modification_date"` }
type PlayerInventories ¶
type PlayerInventoryItems ¶
type PlayerMetadata ¶
type PlayerRepository ¶
func NewPlayerRepository ¶
func NewPlayerRepository(db *sql.DB, dbtype types.DatabaseType) PlayerRepository
type PlayerSqliteRepository ¶
type PlayerSqliteRepository struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.