Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { Upload UploadInfo Name string Contents []byte }
File represents an uploaded file
type Store ¶
type Store interface { // Init initializes the store Init() error // SaveFiles saves the given files to the store // // This method is thread-safe and can safely be used by // multiple goroutines concurrently SaveFiles(files ...File) error }
Store represents an abstract store
type UploadInfo ¶
UploadInfo represents information about an uploader of a file
Click to show internal directories.
Click to hide internal directories.