overflow_discovery/client/rpc/client.go
crusader 9775e5ea4e ing
2017-10-31 19:27:26 +09:00

20 lines
267 B
Go

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