Documentation ¶
Index ¶
- Variables
- func HasDirExpired(dir string, expire time.Duration) bool
- func NewReader(meta *reader.Meta, conf conf.MapConf) (reader.Reader, error)
- type Reader
- func (r *Reader) Close() error
- func (r *Reader) Name() string
- func (r *Reader) ReadLine() (string, error)
- func (r *Reader) Reset() error
- func (r *Reader) SetMode(mode string, v interface{}) error
- func (r *Reader) Source() string
- func (r *Reader) Start() error
- func (r *Reader) Status() StatsInfo
- func (r *Reader) SyncMeta()
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAlreadyExist = errors.New("runner already exist")
Functions ¶
func HasDirExpired ¶
HasDirExpired 当指定目录内的所有文件都超过指定过期时间后返回 true,否则返回 false
Types ¶
Click to show internal directories.
Click to hide internal directories.