add read log file param start_line_number

This commit is contained in:
liugq 2023-06-14 09:46:01 +08:00
parent ea47e02a27
commit bf343c8c49
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ func (h *APIHandler) getLogFileContent(w http.ResponseWriter, req *http.Request,
LogsPath string `json:"logs_path"`
Offset int `json:"offset"`
Lines int `json:"lines"`
StartLineNumber int64 `json:"start_line_number"`
}{}
err = h.DecodeJSON(req, &reqBody)
if err != nil {