Documentation
¶
Index ¶
- type FileService
- func (s *FileService) DeleteByAge() error
- func (s *FileService) DeleteBySize() error
- func (s *FileService) List(subpath string) ([]string, error)
- func (s *FileService) ListFiles() ([]LogFile, error)
- func (s *FileService) ListLogDirs() []LogDir
- func (s *FileService) ListLogDirsWithSize() []LogDir
- func (s *FileService) ListTargets() []LogDir
- func (s *FileService) Prune()
- func (s *FileService) Scanner(subpath string) (*bufio.Scanner, error)
- type LogDir
- type LogFile
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileService ¶
func (*FileService) DeleteByAge ¶
func (s *FileService) DeleteByAge() error
func (*FileService) DeleteBySize ¶
func (s *FileService) DeleteBySize() error
func (*FileService) ListFiles ¶
func (s *FileService) ListFiles() ([]LogFile, error)
func (*FileService) ListLogDirs ¶
func (s *FileService) ListLogDirs() []LogDir
func (*FileService) ListLogDirsWithSize ¶
func (s *FileService) ListLogDirsWithSize() []LogDir
func (*FileService) ListTargets ¶
func (s *FileService) ListTargets() []LogDir
func (*FileService) Prune ¶ added in v0.2.11
func (s *FileService) Prune()
Click to show internal directories.
Click to hide internal directories.