package
0.1.2
Repository: https://github.com/flowingspdg/get5loader.git
Documentation: pkg.go.dev

# Functions

GetMetrics Get Each table's count.
GetSteamName Get steam profile name by steamid64 via Steam web API.
LoginHandler HTTP Handler for /login page.
LogoutHandler HTTP Handler for /logout.

# Variables

Cnf Configration Data.
DefaultPage Default page where player access root directly.
MaxResource per user.
Sess Session.
SQLAccess SQL Access Object for MySQL and GORM things.
SteamAPIKey Steam Web API Key for accessing Steam API.

# Structs

Config Configration Struct for config.ini.
DBdatas Struct for MySQL configration and Gorm.
GameServerData Struct for game_server table.
MapStatsData MapStatsData struct for map_stats table.
MatchConfig Match configration for get5 api, based on https://github.com/splewis/get5/blob/master/configs/get5/example_match.json and https://github.com/splewis/get5/blob/3f793ceb3736d78ba6a92f42631d91cb52f0beb4/scripting/get5/matchconfig.sp#L435.
MatchData Struct for match table.
MatchesPageData Struct for /matches/ page.
MatchPageData Struct for /match/{matchID} page.
MetricsData Struct metrics analysys.
MetricsDataPage Struct for /metrics page.
MyserversPageData Struct for /myservers page.
PlayerStatsData Player stats data struct for player_stats table.
TeamCreatePageData Struct for /team/create page.
TeamData Struct for team table.
TeamPageData Struct for /team/{teamID} page.
TeamsPageData Struct for /teams/{userID} page.
UserData Struct for "user" table.
No description provided by the author
UserPageData Struct for /user/{userID} page.