Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BossAggregation ¶
type BossAggregation string
const ( AggregationSum BossAggregation = "sum" AggregationMax BossAggregation = "max" )
type BossCategory ¶
type BossCategory string
const ( CategoryBoss BossCategory = "boss" CategoryRaid BossCategory = "raid" CategoryAgility BossCategory = "agility" CategoryOther BossCategory = "other" )
type BossKillEvent ¶
type Config ¶
type Config struct {
// SigningSecret HMAC key for signed cookies (API keys, admin sessions, CSRF).
// If empty, an ephemeral secret is generated on startup.
SigningSecret string
// CookieSecure sets the Secure flag on cookies (default true).
CookieSecure bool
// ExternalLayoutPath, if set, uses this layout template file instead of the
// embedded default. Used by flati.is to wrap pages in the site shell.
ExternalLayoutPath string
}
Config configures the OSRS boss tracker HTTP handlers and dashboard.
type OsrsCreateData ¶
type OsrsCreateSuccessData ¶
type OsrsGroupListData ¶
type OsrsGroupListData struct {
Title string
Groups []OsrsGroupSummary
CSRFToken string
Error string
}
type OsrsGroupSummary ¶
type OsrsManageData ¶
type OsrsPageData ¶
type OsrsPageData struct {
Title string
GroupName string
KCMatrix map[string]map[string]int
Players []string
Bosses []string
Raids []string
Agility []string
OtherBosses []string
BossTotals map[string]int
RaidTotals map[string]int
AgilityTotals map[string]int
OtherTotals map[string]int
TotalKillEvents int
PlayersJSON template.JS
}
type OsrsUnlockData ¶
type PlayerBossKC ¶
Click to show internal directories.
Click to hide internal directories.