ing
This commit is contained in:
parent
1f366db739
commit
1374cabeab
|
@ -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
0
rpc/rpc.go
Normal file
Loading…
Reference in New Issue
Block a user