Add HttpPost

This commit is contained in:
root
2024-02-16 19:11:37 +03:00
parent d03c481b33
commit 5c77eb1783
6 changed files with 314 additions and 31 deletions

View File

@@ -50,6 +50,7 @@
http.HandleFunc("/" , app.HttpReq);
http.HandleFunc("/go-prefix/ws" , app.HttpWebSockHand)
var addr = host + ":" + port
server := &http.Server{Addr: addr}