mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-06-24 15:24:17 +00:00
status to statusCode
This commit is contained in:
parent
d715473088
commit
b886af2242
@ -28,7 +28,7 @@ func GetEntries(c *fiber.Ctx) error {
|
||||
Url: entry.Url,
|
||||
Service: entry.Service,
|
||||
Path: entry.Path,
|
||||
Status: entry.Status,
|
||||
StatusCode: entry.Status,
|
||||
Method: entry.Method,
|
||||
Timestamp: entry.Timestamp,
|
||||
})
|
||||
@ -40,7 +40,6 @@ func GetEntries(c *fiber.Ctx) error {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
func GetEntry(c *fiber.Ctx) error {
|
||||
var entryData models.EntryData
|
||||
database.GetEntriesTable().
|
||||
|
@ -22,7 +22,7 @@ type BaseEntryDetails struct {
|
||||
Url string `json:"url,omitempty"`
|
||||
Service string `json:"service,omitempty"`
|
||||
Path string `json:"path,omitempty"`
|
||||
Status int `json:"status,omitempty"`
|
||||
StatusCode int `json:"statusCode,omitempty"`
|
||||
Method string `json:"method,omitempty"`
|
||||
Timestamp int64 `json:"timestamp,omitempty"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user