Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service interface { // Upload new file Upload(filename FileRef, source io.Reader) (FileRef, error) // Download existing file Download(file FileRef) (io.ReadCloser, error) // List existing files List() ([]FileRef, error) // Delete existing file Delete(file FileRef) error }
Service defines methods to read, write and manage storage files
func GetService ¶
GetService returns an implementation Service from DI container
Click to show internal directories.
Click to hide internal directories.