add read log file param start_line_number
This commit is contained in:
parent
ea47e02a27
commit
bf343c8c49
|
@ -61,6 +61,7 @@ func (h *APIHandler) getLogFileContent(w http.ResponseWriter, req *http.Request,
|
||||||
LogsPath string `json:"logs_path"`
|
LogsPath string `json:"logs_path"`
|
||||||
Offset int `json:"offset"`
|
Offset int `json:"offset"`
|
||||||
Lines int `json:"lines"`
|
Lines int `json:"lines"`
|
||||||
|
StartLineNumber int64 `json:"start_line_number"`
|
||||||
}{}
|
}{}
|
||||||
err = h.DecodeJSON(req, &reqBody)
|
err = h.DecodeJSON(req, &reqBody)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue