Files
cluster/handler/version.go
2025-11-09 15:19:11 +08:00

12 lines
229 B
Go

package handler
import (
"github.com/gofiber/fiber/v3"
)
// VersionCheck API 版本检查
func VersionCheck(c fiber.Ctx) error {
c.Set("Docker-Distribution-API-Version", "registry/2.0")
return c.SendStatus(fiber.StatusOK)
}