Add telegram bot API

This commit is contained in:
Lan Tian
2020-04-07 23:29:48 +08:00
parent b430242fab
commit 0b69490757
2 changed files with 118 additions and 0 deletions

View File

@@ -141,5 +141,6 @@ func webServerStart() {
http.HandleFunc("/ipv6/traceroute/", webBackendCommunicator("traceroute6", "traceroute"))
http.HandleFunc("/whois/", webHandlerWhois)
http.HandleFunc("/redir/", webHandlerNavbarFormRedirect)
http.HandleFunc("/telegram/", webHandlerTelegramBot)
http.ListenAndServe(setting.listen, nil)
}