diff --git a/config.json b/config.json index 6cf7f63..9b37592 100644 --- a/config.json +++ b/config.json @@ -20,7 +20,7 @@ }, "redis": { "network": "tcp", - "addr": "127.0.0.1:6379", + "addr": "192.168.1.50:6379", "tls": false, "pool": { "MaxIdle": 3, diff --git a/handler/web_json_handlers.go b/handler/web_json_handlers.go index 427b895..d217db9 100644 --- a/handler/web_json_handlers.go +++ b/handler/web_json_handlers.go @@ -66,7 +66,7 @@ func (h *webJSONRpcHandlers) OnRequest(soc ogw.Socket, method string, params []s return so.Result, nil } -func (wjh *webJSONRpcHandlers) OnNotify(soc ogw.Socket, method string, params []string) error { +func (h *webJSONRpcHandlers) OnNotify(soc ogw.Socket, method string, params []string) error { return nil }