add control status.

This commit is contained in:
Miroslav Šedivý 2020-11-18 23:14:28 +01:00
parent 628abe06fd
commit fb6dabf4e0
2 changed files with 21 additions and 0 deletions

View file

@ -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)