Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Backend ¶
type Backend struct {
Config *Config
}
Backend object
func NewBackend ¶
NewBackend instantiate a new File Data Backend from configuration passed as argument
func (*Backend) AddFile ¶
func (b *Backend) AddFile(file *common.File, fileReader io.Reader) (backendDetails string, err error)
AddFile implementation for file data backend will creates a new file for the given upload and save it on filesystem with the given file reader
Click to show internal directories.
Click to hide internal directories.