package
Version:
v0.0.0-...-f6d6271
Opens a new window with list of versions in this module.
Published: Mar 22, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
AddChat adds a chat message to the database
AddPlayer adds a player to the database
type Chat struct {
SteamID int64 `bson:"SteamID"`
Name string `bson:"Name"`
Message string `bson:"message,omitempty"`
UpdatedAt int64 `bson:"updatedAt"`
}
Chat document struct
type Player struct {
SteamID int64 `bson:"SteamID"`
Name string `bson:"Name"`
UpdatedAt int64 `bson:"UpdatedAt"`
}
Player document struct
Source Files
¶
Click to show internal directories.
Click to hide internal directories.