Documentation
¶
Overview ¶
Package graphs contains routes that generate html/js graphs that can be embedded into other pages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHeatmap ¶
GetHeatmap returns html and js containing a heatmap of historical uptime percentage per team per box/service.
@Summary Uptime heatmap
@Description Returns an embeddable HTML/JS fragment showing historical uptime percentage as a heatmap.
@Tags graphs
@Produce html
@Success 200 {string} string
@Failure 500 {object} object
@Failure 501 {object} object
@Router /graphs/heatmap [get]
func GetScoreboard ¶
GetScoreboard returns html and js containing a simple scoreaboard.
@Summary Scoreboard chart
@Description Returns an embeddable HTML/JS fragment rendering the current scoreboard heatmap for all teams and services.
@Tags graphs
@Produce html
@Success 200 {string} string
@Failure 500 {object} object
@Failure 501 {object} object
@Router /graphs/scoreboard [get]
func GetScores ¶
GetScores returns an HTML chart of scores over time.
@Summary Scores over time chart
@Description Returns an embeddable HTML/JS fragment rendering a chart of score trends over time.
@Tags graphs
@Produce html
@Success 200 {string} string
@Failure 500 {object} object
@Failure 501 {object} object
@Router /graphs/scores [get]
func GetStandings ¶
GetStandings returns html and js containing a bar chart of current total points per team.
@Summary Standings bar chart
@Description Returns an embeddable HTML/JS fragment showing current total points per team as a bar chart.
@Tags graphs
@Produce html
@Success 200 {string} string
@Failure 500 {object} object
@Failure 501 {object} object
@Router /graphs/standings [get]
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.