Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadPackageFile ¶
func DownloadPackageFile(ctx *context.APIContext)
DownloadPackageFile serves the content of a package file ListPackageFiles gets all files of a package GetPackage gets a package @Tags DownloadPackageFile @Summary 下载包文件 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 @Router /api/v1/packages/{username}/{type}/{name}/{version}/files/{fileid} [get]
func GetPackageInfo ¶
func GetPackageInfo(ctx *context.APIContext)
GetPackage gets a package @Tags GetPackageInfo @Summary 查询包信息详情 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} structs.Package "查询包信息详情api" @Router /api/v1/packages/{username}/{type}/{name}/{version} [get]
func ListPackageFiles ¶
func ListPackageFiles(ctx *context.APIContext)
ListPackageFiles gets all files of a package GetPackage gets a package @Tags ListPackageFiles @Summary 查询包文件列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Success 200 {object} structs.PackageFile "查询包列表api" @Router /api/v1/packages/{username}/{type}/{name}/{version}/files [get]
func ListPackages ¶
func ListPackages(ctx *context.APIContext)
ListPackages gets all packages of an owner delete @Tags list @Summary 查询包列表 @Security ApiKeyAuth @accept application/json @Produce application/json @Param data body request.ListPackages true "权角色id" @Success 200 {object} dto_common.PageResult "查询包列表api" @Router /api/v1/packages/{username} [post]
func SearchPackageVersions ¶
func SearchPackageVersions(ctx *context.APIContext)
Types ¶
This section is empty.