tail

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Line

type Line struct {
	Text  string
	Time  time.Time
	Error error
}

type Tail

type Tail struct {
	Filename string
	Lines    chan Line
	Config   config.Config
	// contains filtered or unexported fields
}

func TailFile

func TailFile(Filename string, cfg config.Config) (*Tail, error)

func (*Tail) Stop

func (t *Tail) Stop()

Jump to

Keyboard shortcuts

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