From b9805735de048e3c1b72f5cced3b944f566ff2c7 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Nov 2017 15:47:59 +0900 Subject: [PATCH] ing --- client/client_handlers.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/client_handlers.go b/client/client_handlers.go index c366125..1b8ec3d 100644 --- a/client/client_handlers.go +++ b/client/client_handlers.go @@ -3,12 +3,14 @@ package client import ( "git.loafle.net/commons_go/rpc" "git.loafle.net/commons_go/rpc/client" + "git.loafle.net/commons_go/rpc/protocol/json" ) func NewClientHandler(addr string, registry rpc.Registry) *ClientHandlers { ch := &ClientHandlers{} ch.addr = addr ch.RPCRegistry = registry + ch.Codec = json.NewClientCodec() return ch }