ing
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user