mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-23 05:57:11 +02:00
do not export REST functions.
This commit is contained in:
parent
1ae6f05c73
commit
ef03f9ec9d
6 changed files with 28 additions and 28 deletions
|
@ -16,7 +16,7 @@ type KeyboardModifiersData struct {
|
|||
ScrollLock *bool `json:"scrollock"`
|
||||
}
|
||||
|
||||
func (h *RoomHandler) KeyboardLayoutSet(w http.ResponseWriter, r *http.Request) {
|
||||
func (h *RoomHandler) keyboardLayoutSet(w http.ResponseWriter, r *http.Request) {
|
||||
data := &KeyboardLayoutData{}
|
||||
if !utils.HttpJsonRequest(w, r, data) {
|
||||
return
|
||||
|
@ -27,7 +27,7 @@ func (h *RoomHandler) KeyboardLayoutSet(w http.ResponseWriter, r *http.Request)
|
|||
utils.HttpSuccess(w)
|
||||
}
|
||||
|
||||
func (h *RoomHandler) KeyboardModifiersSet(w http.ResponseWriter, r *http.Request) {
|
||||
func (h *RoomHandler) keyboardModifiersSet(w http.ResponseWriter, r *http.Request) {
|
||||
data := &KeyboardModifiersData{}
|
||||
if !utils.HttpJsonRequest(w, r, data) {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue