Sort and search (#4,#10,#11)
This commit is contained in:
parent
bd3df507c0
commit
5c1f885456
1 changed files with 4 additions and 3 deletions
|
|
@ -2,6 +2,7 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
"html/template"
|
"html/template"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
@ -51,9 +52,9 @@ func webgui() {
|
||||||
// fmt.Println(FoundHosts)
|
// fmt.Println(FoundHosts)
|
||||||
address := AppConfig.GuiIP + ":" + AppConfig.GuiPort
|
address := AppConfig.GuiIP + ":" + AppConfig.GuiPort
|
||||||
|
|
||||||
fmt.Println("\n=================================== ")
|
log.Println("=================================== ")
|
||||||
fmt.Println(fmt.Sprintf("Web GUI at http://%s", address))
|
log.Println(fmt.Sprintf("Web GUI at http://%s", address))
|
||||||
fmt.Println("=================================== \n")
|
log.Println("=================================== ")
|
||||||
|
|
||||||
http.HandleFunc("/", index)
|
http.HandleFunc("/", index)
|
||||||
http.HandleFunc("/home/", home)
|
http.HandleFunc("/home/", home)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue