Skip to content

Commit

Permalink
Improve Web interface descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
gombadi committed Aug 30, 2015
1 parent b4cae52 commit cf76490
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ func statusHandler(w http.ResponseWriter, r *http.Request, status uint32) {

switch status {
case statusRG:
fmt.Fprintf(w, "<center><b>Twistee Status: statusRG</b></center>")
fmt.Fprintf(w, "<center><b>Twistee Status: statusRG - (Reported Good) Have not been able to get addresses yet</b></center>")
case statusCG:
fmt.Fprintf(w, "<center><b>Twistee Status: statusCG</b></center>")
fmt.Fprintf(w, "<center><b>Twistee Status: statusCG - (Currently Good) Able to connect and get addresses</b></center>")
case statusWG:
fmt.Fprintf(w, "<center><b>Twistee Status: statusWG</b></center>")
fmt.Fprintf(w, "<center><b>Twistee Status: statusWG - (Was Good) Was Ok but now can not get addresses</b></center>")
case statusNG:
fmt.Fprintf(w, "<center><b>Twistee Status: statusNG</b></center>")
fmt.Fprintf(w, "<center><b>Twistee Status: statusNG - (No Good) Unable to get addresses</b></center>")
}
t := template.New("Status template")
t, err := t.Parse(st)
Expand Down

0 comments on commit cf76490

Please sign in to comment.