Documentation
¶
Overview ¶
SPDX-License-Identifier: AGPL-3.0-or-later
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) HandleContent ¶
func (h *Handler) HandleContent(w http.ResponseWriter, r *http.Request)
func (*Handler) HandleStorageConfig ¶
func (h *Handler) HandleStorageConfig(w http.ResponseWriter, r *http.Request)
func (*Handler) HandleUpload ¶
func (h *Handler) HandleUpload(w http.ResponseWriter, r *http.Request)
type UploadResponse ¶
type UploadResponse struct {
DocID string `json:"doc_id"`
Title string `json:"title"`
StorageKey string `json:"storage_key"`
StorageProvider string `json:"storage_provider"`
FileSize int64 `json:"file_size"`
MimeType string `json:"mime_type"`
Checksum string `json:"checksum"`
ChecksumAlgorithm string `json:"checksum_algorithm"`
CreatedAt time.Time `json:"created_at"`
IsNew bool `json:"is_new"`
}
Click to show internal directories.
Click to hide internal directories.