14 lines
251 B
Go
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)
|
|
}
|