Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMIMENotAllowed = errors.New("MIME not allowed")
Functions ¶
This section is empty.
Types ¶
type ReadCloser ¶
type ReadCloser struct {
*Reader
}
func NewReadCloser ¶
func NewReadCloser(r io.Reader, mime1 string, mimeN ...string) *ReadCloser
func (*ReadCloser) Close ¶
func (rc *ReadCloser) Close() error
Click to show internal directories.
Click to hide internal directories.