overflow_gateway_websocket/client/client.go
crusader 6ac6a2c21b ing
2017-11-29 19:07:49 +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
}