mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-02-14 18:09:51 +00:00
* no message * infinite scroll + new ws implementation * no message * scrolling top * fetch button * more Backend changes * fix go mod and sum * mire fixes against develop * unused code * small ui refactor Co-authored-by: Roee Gadot <roee.gadot@up9.com>
17 lines
497 B
Go
17 lines
497 B
Go
package routes
|
|
|
|
import (
|
|
"github.com/gofiber/fiber/v2"
|
|
"mizuserver/pkg/controllers"
|
|
)
|
|
|
|
// EntriesRoutes func for describe group of public routes.
|
|
func EntriesRoutes(fiberApp *fiber.App) {
|
|
routeGroup := fiberApp.Group("/api")
|
|
|
|
routeGroup.Get("/entries", controllers.GetEntries) // get entries (base/thin entries)
|
|
routeGroup.Get("/entries/:entryId", controllers.GetEntry) // get single (full) entry
|
|
|
|
routeGroup.Get("/resetDB", controllers.DeleteAllEntries) // get single (full) entry
|
|
}
|