watchcat

package module
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2019 License: MIT Imports: 8 Imported by: 0

README

watchcat

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Watcher

type Watcher struct {
	Position         int64
	WatchInterval    time.Duration
	NoChangedSeconds int
	FileSize         int64
	File             string
	Debug            bool
	Logger           *log.Logger
	Command          string
	// contains filtered or unexported fields
}

func NewWatcher

func NewWatcher() *Watcher

func (*Watcher) Cat

func (w *Watcher) Cat() error

func (*Watcher) CloseFP

func (w *Watcher) CloseFP() error

Source Files

Directories

Path Synopsis
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL