From 7b05682732467bbbeaf62dcb6d4fdadc46a508bf Mon Sep 17 00:00:00 2001 From: crusader Date: Fri, 1 Sep 2017 16:07:30 +0900 Subject: [PATCH] ing --- config.json | 2 +- handler/web_json_handlers.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 }