overflow_discovery/client/rpc/client.go

20 lines
267 B
Go
Raw Normal View History

2017-10-31 10:27:26 +00:00
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
}