From 1a1d4ec1604480554a3e336a7118bfb16637ebcf Mon Sep 17 00:00:00 2001 From: guzeng Date: Tue, 30 Nov 2021 14:12:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0pb.go?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- task.pb.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/task.pb.go b/task.pb.go index 64b21b4..ff5559f 100644 --- a/task.pb.go +++ b/task.pb.go @@ -99,6 +99,7 @@ func init() { type TaskService interface { DoTask(in *Request, out *Response) error + DoCycleTask(in *Request, out *Response) error } // AcceptTaskServiceClient accepts connections on the listener and serves requests @@ -173,6 +174,9 @@ func NewTaskServiceClient(conn io.ReadWriteCloser) (*TaskServiceClient, *rpc.Cli func (c *TaskServiceClient) DoTask(in *Request, out *Response) error { return c.Call("TaskService.DoTask", in, out) } +func (c *TaskServiceClient) DoCycleTask(in *Request, out *Response) error { + return c.Call("TaskService.DoCycleTask", in, out) +} // DialTaskService connects to an TaskService at the specified network address. func DialTaskService(network, addr string) (*TaskServiceClient, *rpc.Client, error) {