32 lines
537 B
Go
32 lines
537 B
Go
|
package webresponse
|
||
|
|
||
|
import (
|
||
|
"git.agecem.com/agecem/agecem-org/apiresponse"
|
||
|
"git.agecem.com/agecem/agecem-org/models"
|
||
|
)
|
||
|
|
||
|
type HandleAdminDocumentsUploadResponse struct {
|
||
|
apiresponse.Response
|
||
|
Data struct {
|
||
|
Buckets []models.Bucket
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type HandleDocumentationResponse struct {
|
||
|
apiresponse.Response
|
||
|
Data struct {
|
||
|
Buckets []models.Bucket
|
||
|
}
|
||
|
}
|
||
|
|
||
|
type UploadDocumentResponse struct {
|
||
|
apiresponse.Response
|
||
|
Data UploadDocumentResponseData
|
||
|
}
|
||
|
|
||
|
type UploadDocumentResponseData struct {
|
||
|
Bucket string
|
||
|
Object string
|
||
|
Size float64
|
||
|
}
|