Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MimeReader ¶
func NewMimeReader ¶
func NewMimeReader(r io.Reader) (*MimeReader, error)
func (*MimeReader) DetectContentType ¶
func (mr *MimeReader) DetectContentType() (string, error)
func (*MimeReader) Init ¶
func (mr *MimeReader) Init() error
type ReadIgnoreCloser ¶
type ReadIgnoreCloser struct {
io.ReadCloser
}
func NewReadIgnoreCloser ¶
func NewReadIgnoreCloser(rc io.ReadCloser) *ReadIgnoreCloser
func (*ReadIgnoreCloser) Close ¶
func (wcl *ReadIgnoreCloser) Close() error
func (*ReadIgnoreCloser) ForceClose ¶
func (wcl *ReadIgnoreCloser) ForceClose() error
type WriteIgnoreCloser ¶
type WriteIgnoreCloser struct {
io.WriteCloser
}
func NewWriteIgnoreCloser ¶
func NewWriteIgnoreCloser(wc io.WriteCloser) *WriteIgnoreCloser
func (*WriteIgnoreCloser) Close ¶
func (wcl *WriteIgnoreCloser) Close() error
func (*WriteIgnoreCloser) ForceClose ¶
func (wcl *WriteIgnoreCloser) ForceClose() error
Click to show internal directories.
Click to hide internal directories.