mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
lint remove whitespaces.
This commit is contained in:
internal
api
capture
desktop
webrtc
websocket
runtime
@ -59,7 +59,7 @@ func (h *RoomHandler) boradcastStop(w http.ResponseWriter, r *http.Request) {
|
||||
utils.HttpUnprocessableEntity(w, "Server is not broadcasting.")
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
broadcast.Stop()
|
||||
|
||||
h.sessions.AdminBroadcast(
|
||||
|
@ -74,7 +74,7 @@ func (h *RoomHandler) controlRelease(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
h.desktop.ResetKeys()
|
||||
h.sessions.ClearHost()
|
||||
|
||||
|
||||
h.sessions.Broadcast(
|
||||
message.ControlHost{
|
||||
Event: event.CONTROL_HOST,
|
||||
|
@ -46,7 +46,7 @@ func (h *RoomHandler) Route(r chi.Router) {
|
||||
// and this content is sent back to client as text in another
|
||||
// clipboard update. Therefore endpoint is not usable!
|
||||
//r.Post("/image", h.clipboardSetImage)
|
||||
|
||||
|
||||
// TODO: Refactor. If there would be implemented custom target
|
||||
// retrieval, this endpoint would be useful.
|
||||
//r.Get("/targets", h.clipboardGetTargets)
|
||||
|
@ -61,7 +61,7 @@ func (h *RoomHandler) screenConfigurationChange(w http.ResponseWriter, r *http.R
|
||||
|
||||
func (h *RoomHandler) screenConfigurationsList(w http.ResponseWriter, r *http.Request) {
|
||||
list := []ScreenConfigurationPayload{}
|
||||
|
||||
|
||||
ScreenConfigurations := h.desktop.ScreenConfigurations()
|
||||
for _, size := range ScreenConfigurations {
|
||||
for _, fps := range size.Rates {
|
||||
|
Reference in New Issue
Block a user