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

 ##########
 File path: pkg/model/kv.go
 ##########
 @@ -54,3 +54,17 @@ type ViewResponse struct {
        Total int        `json:"total,omitempty"`
        Data  []*ViewDoc `json:"data,omitempty"`
 }
+
+//PollingDetail record operation history
+type PollingDetail struct {
+       ID             string                 `json:"id,omitempty" 
yaml:"id,omitempty"`
+       SessionID      string                 `json:"session_id,omitempty" 
yaml:"session_id,omitempty"`
+       Domain         string                 `json:"domain,omitempty" 
yaml:"domain,omitempty"`
+       PollingData    map[string]interface{} `json:"polling_data,omitempty" 
yaml:"polling_data,omitempty"`
+       IP             string                 `json:"ip,omitempty" 
yaml:"ip,omitempty"`
+       UserAgent      string                 `json:"user_agent,omitempty" 
yaml:"user_agent,omitempty"`
+       URLPath        string                 `json:"url_path,omitempty" 
yaml:"url_path,omitempty"`
+       ResponseBody   string                 `json:"response_body,omitempty" 
yaml:"response_body,omitempty"`
 
 Review comment:
   ResponseBody   用 struct

----------------------------------------------------------------
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