Initial commit
This commit is contained in:
12
cpone-dashboard/menu/dashboard/route.go
Normal file
12
cpone-dashboard/menu/dashboard/route.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package dashboard
|
||||
|
||||
import "github.com/go-chi/chi/v5"
|
||||
|
||||
func Routes(r chi.Router) {
|
||||
r.Get("/", Index)
|
||||
r.Get("/stream", SSEStream) // SSE endpoint
|
||||
r.Get("/kpi", KPI)
|
||||
r.Get("/stations", Stations)
|
||||
r.Get("/arrivals", Arrivals)
|
||||
r.Get("/patients", Patients)
|
||||
}
|
||||
Reference in New Issue
Block a user