package handlers import ( "net/http" "github.com/gin-gonic/gin" ) // VersionCheck API 版本检查 func VersionCheck(c *gin.Context) { c.Header("Docker-Distribution-API-Version", "registry/2.0") c.Status(http.StatusOK) }