Documentation
¶
Overview ¶
Package dto provides data transfer objects for the ephemeralfiles API. These structures define the request and response formats used in API communications.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct {
FileID string `json:"file_id"`
OwnerID string `json:"owner_id"`
FileName string `json:"filename"`
Size int64 `json:"size"`
UpdateDateBegin time.Time `json:"update_date_begin"`
UpdateDateEnd time.Time `json:"update_date_end"`
ExpirationDate time.Time `json:"expiration_date"`
}
File is the struct that represents a file in the API.
type InfoFile ¶
type InfoFile struct {
Filename string `json:"filename"`
Size int64 `json:"size"`
NbParts int `json:"nb_parts"`
}
InfoFile contains information about a file to be uploaded.
type RequestAESKey ¶
type RequestAESKey struct {
AESKey string `json:"aeskey"`
}
RequestAESKey contains the AES encryption key for E2E encrypted operations.
Click to show internal directories.
Click to hide internal directories.