This commit is contained in:
crusader 2017-11-15 16:02:32 +09:00
parent bb465d3628
commit e1996e75a4
2 changed files with 8 additions and 1 deletions

7
client/client_handler.go Normal file
View File

@ -0,0 +1,7 @@
package client
import "git.loafle.net/commons_go/rpc/client"
type ClientHandler interface {
client.ClientHandler
}

View File

@ -6,7 +6,7 @@ import (
"git.loafle.net/commons_go/rpc/protocol/json"
)
func NewClientHandler(addr string, registry rpc.Registry) *ClientHandlers {
func NewClientHandler(addr string, registry rpc.Registry) ClientHandler {
ch := &ClientHandlers{}
ch.addr = addr
ch.RPCRegistry = registry