update
This commit is contained in:
30
app/internal/types/types.go
Normal file
30
app/internal/types/types.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user