Add initial support for multiple servers
This commit is contained in:
parent
11f0b09725
commit
2d0e07b59f
2 changed files with 13 additions and 8 deletions
|
|
@ -61,12 +61,13 @@ func main() {
|
|||
return
|
||||
}
|
||||
|
||||
data := serverData{
|
||||
data := []serverData{}
|
||||
data = append(data, serverData{
|
||||
*serverAddr,
|
||||
34197,
|
||||
"Server with Bob's Mod, est. Feb 2020",
|
||||
playersOnline,
|
||||
}
|
||||
})
|
||||
|
||||
t.Execute(w, data)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue