Documentation ¶
Index ¶
- func RegisterArchModule(exts []string, funcArchFiles func(r ReaderAt) []string, ...)
- func RegisterImageModule(exts []string, funcImageRead func(r Reader) *File)
- func SupportType() map[ModuleType][]string
- type File
- type FileReader
- type FileReaderAt
- type Module
- type ModuleType
- type Reader
- type ReaderAt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterArchModule ¶
func RegisterImageModule ¶
func SupportType ¶
func SupportType() map[ModuleType][]string
Types ¶
type FileReader ¶
type FileReader struct { io.ReadCloser // contains filtered or unexported fields }
func (*FileReader) Size ¶
func (o *FileReader) Size() int64
type FileReaderAt ¶
type FileReaderAt struct {
// contains filtered or unexported fields
}
func (*FileReaderAt) Size ¶
func (o *FileReaderAt) Size() int64
type Module ¶
type Module struct { Type ModuleType // archive type FuncArchFiles func(r ReaderAt) []string FuncArchRead func(r ReaderAt, vpath string) *File // image type FuncImageRead func(r Reader) *File // contains filtered or unexported fields }
func GetSupportModule ¶
Click to show internal directories.
Click to hide internal directories.