diff --git a/machine-client/index.html b/machine-client/index.html index e265772..a221b74 100644 --- a/machine-client/index.html +++ b/machine-client/index.html @@ -2,289 +2,313 @@ - WS Client + go-socket debug +

go-socket debug

-
-

WebSocket Client

- -
- - - - -
- -
- - - - - -
- -
- - - - - - - -
- -
- - - - - -
- -
- - - - - - - - - -
- -
-
Not connected
+
+ +
-
-

Connected as

-
-
- - -
- +
+ Response Log + +
+
+ +
+ + + + + + + + + + + +
+ +
+
+
diff --git a/main.go b/main.go index 86bf360..ec0656e 100644 --- a/main.go +++ b/main.go @@ -23,7 +23,7 @@ func main() { 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("/mod/group/owner", withCORS(HttpHandleGroupChangeOwner)) http.HandleFunc("/new/message", withCORS(HttpHandleNewMessage)) http.HandleFunc("/get/groups", withCORS(HttpHandleGroupsGetWithoutMembers)) http.HandleFunc("/get/group/members", withCORS(HttpHandleGroupMembersGet))