add tests

This commit is contained in:
gitGnome
2026-04-01 10:58:07 +02:00
parent 055bc5dcf2
commit 75c23c151f
7 changed files with 157 additions and 4 deletions
+2
View File
@@ -22,6 +22,8 @@ func main() {
http.HandleFunc("/new/group", withCORS(HttpHandeNewGroup))
http.HandleFunc("/mod/group/addclients", withCORS(HttpHandleGroupAddClient))
http.HandleFunc("/new/message", withCORS(HttpHandleNewMessage))
http.HandleFunc("/get/groups", withCORS(HttpHandleGroupsGetWithoutMembers))
http.HandleFunc("/get/groupmembers", withCORS(HttpHandleGroupMembersGet))
http.HandleFunc("/ws", ServeWsConnection)
log.Println("listening on :8080")