Versions in this module Expand all Collapse all v1 v1.5.5 May 18, 2020 v1.5.4 Aug 20, 2019 Changes in this version + type GZ struct + func NewGZ(path string, opt Opts) (*GZ, error) + func (t *GZ) Close() error + func (t *GZ) Lag() (rl *LagInfo, err error) + func (t *GZ) NewSourceIndex() []reader.SourceIndex + func (t *GZ) Read(p []byte) (n int, err error) + func (t *GZ) Source() string + type Opts struct + IgnoreFileSuffixes []string + IgnoreHidden bool + NewFileNewLine bool + ValidFilesRegex string + type Reader struct + func NewReader(meta *reader.Meta, path string, opt Opts) (*Reader, error) + func (r *Reader) Close() error + func (r *Reader) Lag() (rl *LagInfo, err error) + func (r *Reader) Name() string + func (r *Reader) NewSourceIndex() []reader.SourceIndex + func (r *Reader) Read(p []byte) (n int, err error) + func (r *Reader) ReadDone() bool + func (r *Reader) Source() string + func (r *Reader) SyncMeta() error + type SourceReader interface + Lag func() (rl *LagInfo, err error) + Source func() string + type Tar struct + func NewTar(path string, opt Opts) (*Tar, error) + func NewTarGz(path string, opt Opts) (*Tar, error) + func (t *Tar) Close() error + func (t *Tar) Lag() (rl *LagInfo, err error) + func (t *Tar) NewSourceIndex() []reader.SourceIndex + func (t *Tar) Read(p []byte) (n int, err error) + func (t *Tar) Source() string + type ZIP struct + func NewZIP(path string, opt Opts) (*ZIP, error) + func (t *ZIP) Close() error + func (t *ZIP) Lag() (rl *LagInfo, err error) + func (t *ZIP) NewSourceIndex() []reader.SourceIndex + func (t *ZIP) Read(p []byte) (n int, err error) + func (t *ZIP) Source() string