package client import ( "git.loafle.net/commons_go/rpc" "git.loafle.net/commons_go/rpc/client" ) func New(addr string, registry rpc.Registry) client.Client { ch := NewClientHandler(addr, registry) c := client.New(ch) return c }