diff --git a/rpc/discovery_service.go b/rpc/discovery_service.go index cba92de..ec82d3f 100644 --- a/rpc/discovery_service.go +++ b/rpc/discovery_service.go @@ -19,7 +19,7 @@ type StartResponseParam struct { func (ds *DiscoveryService) Start(req *StartRequestParam, res *StartResponseParam) error { log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count) - res.Result = 10 + res.Result = 10 + req.Count return nil } diff --git a/rpc/rpc.go b/rpc/rpc.go new file mode 100644 index 0000000..e69de29