Documentation ¶
Overview ¶
Package handlers define HTTP handlers.
Index ¶
Constants ¶
View Source
const VERSION = "v1.0.0-beta.3"
Variables ¶
View Source
var (
MaxPlayers = 20
)
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BaseDirectory string Name string WarnAge time.Duration Updater *updater.Updater Party *triage.Party }
Config is how external users interact with this package.
type Handlers ¶
type Handlers struct {
// contains filtered or unexported fields
}
Handlers is a mix of config and client interfaces to connect with.
func (*Handlers) Collection ¶
func (h *Handlers) Collection() http.HandlerFunc
Board shows a stratgy board
type Page ¶
type Page struct { Version string SiteName string ID string Title string Description string Warning string Total int TotalShown int Types string UniqueItems []*hubbub.Conversation ResultAge time.Duration Player int Players int PlayerChoices []string PlayerNums []int Mode int Index int EmbedURL string AverageResponseLatency time.Duration TotalPullRequests int TotalIssues int Collection triage.Collection Collections []triage.Collection CollectionResult *triage.CollectionResult Stats *triage.CollectionResult StatsID string GetVars string }
Page are values that are passed into the renderer
Click to show internal directories.
Click to hide internal directories.