Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Colors = statusToColors{ Default: "#527284", // contains filtered or unexported fields }
Colors is used to harmonize status colors for all badges
Functions ¶
func StatusBadge ¶
StatusBadge handles request to for a badge task status request
func WriteBadge ¶
func WriteBadge(label string, content string, color badge.Color, w http.ResponseWriter) error
WriteBadge is a wrapper use to write a badge into an http response
Types ¶
Click to show internal directories.
Click to hide internal directories.