ing
This commit is contained in:
parent
9dc7939700
commit
fa62560a98
|
@ -16,7 +16,7 @@ type StartResponseParam struct {
|
|||
Result int
|
||||
}
|
||||
|
||||
func (ds *DiscoveryService) Start(req StartRequestParam) (*StartResponseParam, error) {
|
||||
func (ds *DiscoveryService) Start(req *StartRequestParam) (*StartResponseParam, error) {
|
||||
log.Printf("DiscoveryService.Start param: Name[%s] Count[%d]", req.Name, req.Count)
|
||||
res := &StartResponseParam{}
|
||||
|
||||
|
@ -25,7 +25,7 @@ func (ds *DiscoveryService) Start(req StartRequestParam) (*StartResponseParam, e
|
|||
return res, nil
|
||||
}
|
||||
|
||||
func (ds *DiscoveryService) Discovery(name string, req StartRequestParam) error {
|
||||
func (ds *DiscoveryService) Discovery(name string, req *StartRequestParam) error {
|
||||
log.Printf("DiscoveryService.Discovery param: Name[%s] req[%v]", name, req)
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue
Block a user