This commit is contained in:
crusader 2017-11-02 11:10:04 +09:00
parent 1f366db739
commit 1374cabeab
2 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ type StartResponseParam struct {
func (ds *DiscoveryService) Start(req *StartRequestParam, res *StartResponseParam) error { func (ds *DiscoveryService) Start(req *StartRequestParam, res *StartResponseParam) error {
log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count) log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count)
res.Result = 10 res.Result = 10 + req.Count
return nil return nil
} }

0
rpc/rpc.go Normal file
View File