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

21 lines
328 B
Go

package client
import (
"git.loafle.net/commons_go/rpc"
"git.loafle.net/commons_go/rpc/client"
)
func NewClientHandler(addr string, registry rpc.Registry) *ClientHandlers {
ch := &ClientHandlers{}
ch.addr = addr
ch.RPCRegistry = registry
return ch
}
type ClientHandlers struct {
client.ClientHandlers
addr string
}