Files
cluster/api/v1/routes.go
2025-11-09 15:19:11 +08:00

14 lines
251 B
Go

package v1
import (
"gitea.loveuer.com/loveuer/cluster/handler"
"github.com/gofiber/fiber/v3"
)
// SetupRoutes 设置 v1 API 路由
func SetupRoutes(api fiber.Router) {
reg := api.Group("/registry")
reg.Get("/image/list", handler.ListImages)
}