From cf764901a18066cb4b69bb63d3a4494d029f198c Mon Sep 17 00:00:00 2001 From: Lyndsay Roger Date: Sun, 30 Aug 2015 13:04:35 +1200 Subject: [PATCH] Improve Web interface descriptions --- http.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/http.go b/http.go index d762963..286b5c9 100644 --- a/http.go +++ b/http.go @@ -212,13 +212,13 @@ func statusHandler(w http.ResponseWriter, r *http.Request, status uint32) { switch status { case statusRG: - fmt.Fprintf(w, "
Twistee Status: statusRG
") + fmt.Fprintf(w, "
Twistee Status: statusRG - (Reported Good) Have not been able to get addresses yet
") case statusCG: - fmt.Fprintf(w, "
Twistee Status: statusCG
") + fmt.Fprintf(w, "
Twistee Status: statusCG - (Currently Good) Able to connect and get addresses
") case statusWG: - fmt.Fprintf(w, "
Twistee Status: statusWG
") + fmt.Fprintf(w, "
Twistee Status: statusWG - (Was Good) Was Ok but now can not get addresses
") case statusNG: - fmt.Fprintf(w, "
Twistee Status: statusNG
") + fmt.Fprintf(w, "
Twistee Status: statusNG - (No Good) Unable to get addresses
") } t := template.New("Status template") t, err := t.Parse(st)