// NewAddServiceClient returns an *rpc.Client wrapper for calling the methods of // AddService remotely. func NewAddServiceClient(conn net.Conn) AddService { return rpcAddServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewOffloadServiceClient returns an *rpc.Client wrapper for calling the methods of // OffloadService remotely. func NewOffloadServiceClient(conn net.Conn) OffloadService { return rpcOffloadServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewEchoServiceClient returns an *rpc.Client wrapper for calling the methods of // EchoService remotely. func NewEchoServiceClient(conn net.Conn) EchoService { return rpcEchoServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }
// NewConcatServiceClient returns an *rpc.Client wrapper for calling the methods of // ConcatService remotely. func NewConcatServiceClient(conn net.Conn) ConcatService { return rpcConcatServiceClient{rpc.NewClientWithCodec(codec.NewClientCodec(conn))} }