Documentation ¶
Index ¶
- Constants
- func AssetsHandler(w http.ResponseWriter, r *http.Request)
- func BadgeHandler(w http.ResponseWriter, r *http.Request, org, repo string)
- func CheckHandler(w http.ResponseWriter, r *http.Request)
- func HighScoresHandler(w http.ResponseWriter, r *http.Request)
- func HomeHandler(w http.ResponseWriter, r *http.Request)
- func ReportHandler(w http.ResponseWriter, r *http.Request, org, repo string)
- type Grade
Constants ¶
View Source
const ( GradeAPlus Grade = "A+" GradeA = "A" GradeB = "B" GradeC = "C" GradeD = "D" GradeE = "E" GradeF = "F" )
The Grade constants below indicate the current available grades.
Variables ¶
This section is empty.
Functions ¶
func AssetsHandler ¶
func AssetsHandler(w http.ResponseWriter, r *http.Request)
AssetsHandler handles serving static files
func BadgeHandler ¶
func BadgeHandler(w http.ResponseWriter, r *http.Request, org, repo string)
BadgeHandler handles fetching the badge images
func CheckHandler ¶
func CheckHandler(w http.ResponseWriter, r *http.Request)
CheckHandler handles the request for checking a repo
func HighScoresHandler ¶
func HighScoresHandler(w http.ResponseWriter, r *http.Request)
HighScoresHandler handles the stats page
func HomeHandler ¶
func HomeHandler(w http.ResponseWriter, r *http.Request)
HomeHandler handles the homepage
func ReportHandler ¶
func ReportHandler(w http.ResponseWriter, r *http.Request, org, repo string)
ReportHandler handles the report page
Types ¶
Click to show internal directories.
Click to hide internal directories.