wip: oci image management

This commit is contained in:
loveuer
2025-11-09 15:19:11 +08:00
commit 8de8234372
58 changed files with 6142 additions and 0 deletions

11
handler/version.go Normal file
View File

@@ -0,0 +1,11 @@
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)
}