mirror of
https://github.com/Macrame-App/Macrame
synced 2025-12-29 07:19:26 +00:00
Backend refactor and additions
This commit is contained in:
parent
052ce611f9
commit
5de99b32cd
4 changed files with 37 additions and 3 deletions
|
|
@ -67,6 +67,8 @@ func ApiPost(w http.ResponseWriter, r *http.Request) {
|
|||
DeleteMacro(w, r)
|
||||
case "/macro/play":
|
||||
PlayMacro("", w, r)
|
||||
case "/device/server/ip":
|
||||
GetServerIP(w, r)
|
||||
case "/device/list":
|
||||
DeviceList(w, r)
|
||||
case "/device/access/check":
|
||||
|
|
@ -82,7 +84,6 @@ func ApiPost(w http.ResponseWriter, r *http.Request) {
|
|||
case "/device/link/remove":
|
||||
RemoveLink("", w, r)
|
||||
case "/device/handshake":
|
||||
log.Println("handshake")
|
||||
Handshake(w, r)
|
||||
case "/panel/list":
|
||||
PanelList(w, r)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue