diff --git a/client/client_handler.go b/client/client_handler.go new file mode 100644 index 0000000..7e0ce21 --- /dev/null +++ b/client/client_handler.go @@ -0,0 +1,7 @@ +package client + +import "git.loafle.net/commons_go/rpc/client" + +type ClientHandler interface { + client.ClientHandler +} diff --git a/client/client_handlers.go b/client/client_handlers.go index 1b8ec3d..3a23a0e 100644 --- a/client/client_handlers.go +++ b/client/client_handlers.go @@ -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