tianxiaoliang commented on a change in pull request #90: #79 record polling 
history
URL: https://github.com/apache/servicecomb-kie/pull/90#discussion_r378237956
 
 

 ##########
 File path: server/service/service.go
 ##########
 @@ -64,6 +65,12 @@ type Label interface {
        CreateOrUpdate(ctx context.Context, label *model.LabelDoc) 
(*model.LabelDoc, error)
 }
 
+//Record manages record data
+type Record interface {
+       RecordSuccess(ctx context.Context, detail *model.PollingDetail, 
respStatus int, respData, respHeader string) (*model.PollingDetail, error)
 
 Review comment:
   没必要搞2个func 合成一个,非必填参数用functional options

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to