add user deletion and rename user http

This commit is contained in:
2026-04-11 23:09:48 +02:00
parent 59e693dacd
commit ab9319a962
4 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -19,7 +19,7 @@ func main() {
http.HandleFunc("/new/user", withCORS(HttpHandleUserNew))
http.HandleFunc("/new/connection", withCORS(HttpHandleUserNewConnection))
http.HandleFunc("/new/token", withCORS(HttpHandleTokenNew))
http.HandleFunc("/new/token", withCORS(HttpHandleUserNewToken))
http.HandleFunc("/new/group", withCORS(HttpHandeGroupCreate))
http.HandleFunc("/mod/user/appearence", withCORS(HttpHandleUserModifyAppearance))
@@ -35,10 +35,11 @@ func main() {
http.HandleFunc("/get/connection/messages", withCORS(HttpHandleUserGetConnectionMessages))
http.HandleFunc("/get/group/members", withCORS(HttpHandleGroupMembersGet))
http.HandleFunc("/del/user", withCORS(HttpHandleUserDelete))
http.HandleFunc("/del/group", withCORS(HttpHandleGroupDelete))
http.HandleFunc("/del/connection", withCORS(HttpHandleUserDeleteConnection))
http.HandleFunc("/msg/user", withCORS(HttpHandleUserMessage))
http.HandleFunc("/msg/user", withCORS(HttpHandleDm))
http.HandleFunc("/msg/group", withCORS(HttpHandleGroupMessage))
http.HandleFunc("/ws", ServeWsConnection)