implement all http functions in codebase
This commit is contained in:
@@ -21,6 +21,9 @@ func main() {
|
|||||||
http.HandleFunc("/new/token", withCORS(HttpHandleNewToken))
|
http.HandleFunc("/new/token", withCORS(HttpHandleNewToken))
|
||||||
http.HandleFunc("/new/group", withCORS(HttpHandeNewGroup))
|
http.HandleFunc("/new/group", withCORS(HttpHandeNewGroup))
|
||||||
http.HandleFunc("/mod/group/addclients", withCORS(HttpHandleGroupAddClient))
|
http.HandleFunc("/mod/group/addclients", withCORS(HttpHandleGroupAddClient))
|
||||||
|
http.HandleFunc("/mod/group/removeclients", withCORS(HttpHandleGroupRemoveClient))
|
||||||
|
http.HandleFunc("/mod/group/color", withCORS(HttpHandleGroupChangeColor))
|
||||||
|
http.HandleFunc("/mod/group/color", withCORS(HttpHandleGroupChangeOwner))
|
||||||
http.HandleFunc("/new/message", withCORS(HttpHandleNewMessage))
|
http.HandleFunc("/new/message", withCORS(HttpHandleNewMessage))
|
||||||
http.HandleFunc("/get/groups", withCORS(HttpHandleGroupsGetWithoutMembers))
|
http.HandleFunc("/get/groups", withCORS(HttpHandleGroupsGetWithoutMembers))
|
||||||
http.HandleFunc("/get/group/members", withCORS(HttpHandleGroupMembersGet))
|
http.HandleFunc("/get/group/members", withCORS(HttpHandleGroupMembersGet))
|
||||||
|
|||||||
Reference in New Issue
Block a user