Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MultiReadSeeker ¶ added in v0.146.0
func MultiReadSeeker(readers ...io.ReadSeeker) (io.ReadSeeker, error)
func NewMultipartReader ¶
func NewMultipartReader(field string, fileInfo storage.FileInfo, src io.Reader) (io.Reader, string, error)
NewMultipartReader creates a new io.Reader that serves multipart form-data from src. Also returns the form data content type (see multipart.Writer#FormDataContentType).
Types ¶
type SizedReadSeeker ¶ added in v0.146.0
type SizedReadSeeker struct {
// contains filtered or unexported fields
}
SizedReadSeeker is a ReadSeeker that also knows its size.
Click to show internal directories.
Click to hide internal directories.