indexer

package
v2.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 19, 2024 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MimeReader

type MimeReader struct {
	io.Reader
	// contains filtered or unexported fields
}

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

func (*MimeReader) Read

func (mr *MimeReader) Read(p []byte) (n int, err 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL