12 lines
229 B
Go
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)
|
|
}
|