mirror of
https://github.com/twisterarmy/dnsseeder.git
synced 2025-09-08 20:22:08 +00:00
Improve Web interface descriptions
This commit is contained in:
parent
b4cae52c0f
commit
cf764901a1
8
http.go
8
http.go
@ -212,13 +212,13 @@ func statusHandler(w http.ResponseWriter, r *http.Request, status uint32) {
|
|||||||
|
|
||||||
switch status {
|
switch status {
|
||||||
case statusRG:
|
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:
|
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:
|
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:
|
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 := template.New("Status template")
|
||||||
t, err := t.Parse(st)
|
t, err := t.Parse(st)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user