Documentation ¶
Overview ¶
Package storage provides a re-usable file storage and storage utility for Ponzu systems to handle multipart form data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { GetAllWithOptions(search *entities.Search) (int, []*entities.FileUpload, error) GetFileUpload(target string) (*entities.FileUpload, error) DeleteFile(target string) error StoreFiles(files map[string]*multipart.FileHeader) (map[string]string, error) driver.StaticFileSystemInterface }
func New ¶
func New( db driver.Database, searchClient driver.SearchInterface, client driver.StorageClientInterface) (Service, error)
Click to show internal directories.
Click to hide internal directories.