mirror of
https://github.com/byReqz/probehost2.git
synced 2025-06-15 04:07:48 +00:00
add full length handler for traceroute
This commit is contained in:
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)
|
||||
|
Reference in New Issue
Block a user