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