This commit is contained in:
crusader
2017-08-28 18:41:41 +09:00
parent f8655e116c
commit 9c0856c2a5
4 changed files with 70 additions and 9 deletions

View File

@@ -39,11 +39,11 @@ func (h *fileHandler) GetSocketOption() *gws.SocketOptions {
return h.co
}
func (h *fileHandler) onRequest(soc gws.Socket, method string, params interface{}) (interface{}, error) {
func (h *fileHandler) onRequest(soc gws.Socket, method string, params []string) (interface{}, error) {
log.Printf("path: %s, m: %s, params: %v", soc.Path(), method, params)
return nil, nil
}
func (h *fileHandler) onNotify(soc gws.Socket, method string, params interface{}) error {
func (h *fileHandler) onNotify(soc gws.Socket, method string, params []string) error {
return nil
}