Split réponses webs de apiresponse -> webresponse
This commit is contained in:
parent
206b45d41e
commit
ce0f387ebd
4 changed files with 37 additions and 30 deletions
31
webresponse/webresponse.go
Normal file
31
webresponse/webresponse.go
Normal file
|
@ -0,0 +1,31 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue