Documentation ¶
Index ¶
Constants ¶
View Source
const ( FileType = "file" ErrorType = "error" )
Variables ¶
This section is empty.
Functions ¶
func ReadFilesFromStream ¶
func ReadFilesFromStream(multipartReader *multipart.Reader, fileWritersFunc FileWriterFunc) error
Types ¶
type FileWriterFunc ¶
type FileWriterFunc func(fileName string) (writers []io.WriteCloser, err error)
The expected type of function that should be provided to the ReadFilesFromStream func, that returns the writer that should handle each file
type MultipartError ¶
Click to show internal directories.
Click to hide internal directories.