overflow_discovery/client/client.go
crusader 87d41a5c4f ing
2017-11-01 12:20:52 +09:00

16 lines
238 B
Go

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
}