Documentation ¶
Index ¶
- Variables
- func AddBackup(db *bbolt.DB, backup database.Backup) error
- func AddRconCommand(db *bbolt.DB, rcon database.RconCommand) error
- func AddWhitelist(db *bbolt.DB, player database.PlayerW) error
- func DeleteBackup(db *bbolt.DB, backupId string) error
- func GetBackup(db *bbolt.DB, backupId string) (database.Backup, error)
- func GetGuild(db *bbolt.DB, playerUID string) (database.Guild, error)
- func GetPlayer(db *bbolt.DB, playerUid string) (database.Player, error)
- func GetRconCommand(db *bbolt.DB, uuid string) (database.RconCommand, error)
- func ListBackups(db *bbolt.DB, startTime, endTime time.Time) ([]database.Backup, error)
- func ListGuilds(db *bbolt.DB) ([]database.Guild, error)
- func ListPlayers(db *bbolt.DB) ([]database.TersePlayer, error)
- func ListRconCommands(db *bbolt.DB) ([]database.RconCommandList, error)
- func ListWhitelist(db *bbolt.DB) ([]database.PlayerW, error)
- func PutGuilds(db *bbolt.DB, guilds []database.Guild) error
- func PutPlayers(db *bbolt.DB, players []database.Player) error
- func PutPlayersRcon(db *bbolt.DB, players []database.PlayerRcon) error
- func PutRconCommand(db *bbolt.DB, uuid string, rcon database.RconCommand) error
- func PutWhitelist(db *bbolt.DB, players []database.PlayerW) error
- func RemoveRconCommand(db *bbolt.DB, uuid string) error
- func RemoveWhitelist(db *bbolt.DB, player database.PlayerW) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRecord = errors.New("record not found")
Functions ¶
func AddRconCommand ¶ added in v0.5.6
func AddRconCommand(db *bbolt.DB, rcon database.RconCommand) error
func GetRconCommand ¶ added in v0.5.6
func ListBackups ¶ added in v0.6.0
func ListPlayers ¶
func ListPlayers(db *bbolt.DB) ([]database.TersePlayer, error)
func ListRconCommands ¶ added in v0.5.6
func ListRconCommands(db *bbolt.DB) ([]database.RconCommandList, error)
func PutPlayersRcon ¶
func PutPlayersRcon(db *bbolt.DB, players []database.PlayerRcon) error
func PutRconCommand ¶ added in v0.5.6
func PutWhitelist ¶ added in v0.5.5
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.