cml04-falcon-ui/routes/routes.go

14 lines
314 B
Go
Raw Normal View History

2024-10-04 20:02:51 +02:00
package routes
import (
"git.espin.casa/albert/cml04-falcon-ui/handlers"
"git.espin.casa/albert/cml04-falcon-ui/storage"
"github.com/julienschmidt/httprouter"
)
func CreateRoutes(r *httprouter.Router, storage storage.Storager) {
r.GET("/", handlers.IndexHandler())
2024-10-05 18:43:25 +02:00
r.GET("/hbcp", handlers.HBCPHandler())
2024-10-04 20:02:51 +02:00
}