cml04-falcon-ui/routes/routes.go
2024-10-05 18:43:25 +02:00

14 lines
314 B
Go

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())
r.GET("/hbcp", handlers.HBCPHandler())
}