Versions in this module Expand all Collapse all v1 v1.0.5 Aug 21, 2023 Changes in this version + var UnopenedReadErr = errors.New("attempted to read unopened file") + type FileReader struct + ArchiveMethod string + Ext string + MimeType string + Name string + Paths []string + ProgressWriter io.Writer + func (f *FileReader) Close() error + func (f *FileReader) GetProgress() int64 + func (f *FileReader) Lock() + func (f *FileReader) Open() error + func (f *FileReader) Read(p []byte) (n int, err error) + func (f *FileReader) ReadCount() int + func (f *FileReader) RequestCount() int + func (f *FileReader) Requested() + func (f *FileReader) Reset() error + func (f *FileReader) Size() int64 + func (f *FileReader) Unlock() + type FileWriter struct + MIMEType string + Path string + ProgressWriter io.Writer + func (f *FileWriter) Close() error + func (f *FileWriter) GetLocation() string + func (f *FileWriter) GetProgress() int64 + func (f *FileWriter) GetSize() int64 + func (f *FileWriter) Name() string + func (f *FileWriter) Open() error + func (f *FileWriter) Reset() error + func (f *FileWriter) SetName(name string, fromRemote bool) + func (f *FileWriter) SetSize(size int64) + func (f *FileWriter) Write(p []byte) (n int, err error)