mirror of
https://github.com/byReqz/probehost2.git
synced 2024-12-25 12:21:48 +00:00
add full length handler for traceroute
This commit is contained in:
parent
8bdf07eff7
commit
ba622db043
1
main.go
1
main.go
@ -145,6 +145,7 @@ func main() {
|
||||
http.HandleFunc("/ping/", ping)
|
||||
http.HandleFunc("/mtr/", mtr)
|
||||
http.HandleFunc("/tracert/", traceroute)
|
||||
http.HandleFunc("/traceroute/", traceroute)
|
||||
logstdout.Info("Serving on :", listenport)
|
||||
logfile.Info("Serving on :", listenport)
|
||||
http.ListenAndServe(fmt.Sprint(":", listenport), nil)
|
||||
|
Loading…
Reference in New Issue
Block a user