mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-10 07:37:26 +02:00
add control status.
This commit is contained in:
parent
628abe06fd
commit
fb6dabf4e0
2 changed files with 21 additions and 0 deletions
|
@ -52,6 +52,7 @@ func (h *RoomHandler) Route(r chi.Router) {
|
|||
})
|
||||
|
||||
r.Route("/control", func(r chi.Router) {
|
||||
r.Get("/", h.controlStatus)
|
||||
r.Post("/request", h.controlRequest)
|
||||
r.Post("/release", h.controlRelease)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue