fileutils

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 14, 2019 License: GPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func List

func List(dir string) ([]os.FileInfo, error)

List returns a list of existing log files.

func Tail

func Tail(file string, start bool) (*tail.Tail, error)

Tail the contents of a file.

func Watch

func Watch(dir string) (chan os.FileInfo, error)

Watch for new files added to the directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL