This commit is contained in:
2025-10-24 21:44:15 +08:00
parent 2f56813874
commit 289812aac3
18 changed files with 576 additions and 100 deletions

View File

@@ -0,0 +1,30 @@
// Code generated by goctl. DO NOT EDIT.
// goctl 1.8.4
package types
type DownloadPresignedURLReq struct {
File_key string `json:"file_key"` // Key to identify the file to download
}
type DownloadPresignedURLResp struct {
Url string `json:"url"` // Presigned URL for download
Expire_at int64 `json:"expire_at"` // Expiration timestamp
}
type PingReq struct {
}
type PingResp struct {
Ok bool `json:"ok"`
}
type UploadPresignedURLReq struct {
File_name string `json:"file_name"` // Original file name
}
type UploadPresignedURLResp struct {
Url string `json:"url"` // Presigned URL for upload
File_key string `json:"file_key"` // Key to identify the uploaded file
Expire_at int64 `json:"expire_at"` // Expiration timestamp
}