overflow_probes/client/central/probe/client.go

13 lines
281 B
Go
Raw Normal View History

2017-12-08 08:31:45 +00:00
package probe
import (
crr "git.loafle.net/commons_go/rpc/registry"
oogwc "git.loafle.net/overflow/overflow_gateway_websocket/client"
)
func New(rpcInvoker crr.RPCInvoker) oogwc.Client {
ch := newClientHandler(rpcInvoker)
sb := newSocketBuilder()
return oogwc.New(ch, sb)
}