浏览代码

forward and backward continue times for agent

Alexander Belanger 3 年之前
父节点
当前提交
773e5b09ca
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      api/types/incident.go

+ 3 - 2
api/types/incident.go

@@ -116,8 +116,9 @@ type LogLine struct {
 }
 
 type GetLogResponse struct {
-	ContinueTime *time.Time `json:"continue_time"`
-	Logs         []LogLine  `json:"logs"`
+	BackwardContinueTime *time.Time `json:"backward_continue_time"`
+	ForwardContinueTime  *time.Time `json:"forward_continue_time"`
+	Logs                 []LogLine  `json:"logs"`
 }
 
 type GetEventRequest struct {