Files
IPAGo/models/download.go
trojvn d763b0b652 🚀 chore: add initial project setup with docker, go modules, and basic api structure
Add docker configuration for building and running the application, including a dockerfile and docker-compose.yml. Set up go modules with dependencies and create the basic api structure with main.go, models, and wrapper files. Include .dockerignore and .gitignore files to manage ignored files and directories. Add constants for ipatool path and global flags.
2026-03-10 03:41:41 +03:00

14 lines
384 B
Go

package models
import "github.com/danielgtaylor/huma/v2"
type DownloadInput struct {
BundleID string `query:"bundleID" doc:"ID приложения" minLength:"3" example:"com.zhiliaoapp.musically"`
}
type DownloadOutput struct {
Body func(huma.Context)
ContentDisposition string `header:"Content-Disposition"`
ContentType string `header:"Content-Type"`
}