update naming of functions, add option to get count of unread messages of user
This commit is contained in:
@@ -48,6 +48,7 @@ func main() {
|
||||
http.HandleFunc("POST /connection/deelevate", withCORS(httpRequest.HandleUserDeElevateConnection))
|
||||
http.HandleFunc("GET /connections", withCORS(httpRequest.HandleUserGetConnections))
|
||||
http.HandleFunc("GET /connection/messages", withCORS(httpRequest.HandleUserGetConnectionMessages))
|
||||
http.HandleFunc("GET /connections/unreadmessages", withCORS(httpRequest.HandleUserGetConnectionsUnreadMessages))
|
||||
|
||||
http.HandleFunc("POST /file", withCORS(httpRequest.HandleAttachmentFileUpload))
|
||||
http.HandleFunc("GET /file", withCORS(httpRequest.HandleAttachmentFileDownload))
|
||||
|
||||
Reference in New Issue
Block a user