wip: oci image management
This commit is contained in:
11
handler/version.go
Normal file
11
handler/version.go
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user