logs

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	File  string
	Lines int
}

Config holds the log configuration

type Tailer

type Tailer struct {
	// contains filtered or unexported fields
}

Tailer represents a log tailing instance

func New

func New(config Config) *Tailer

New creates a new log tailer instance

func (*Tailer) Tail

func (t *Tailer) Tail() (string, error)

Tail returns the last N lines from the log file

Jump to

Keyboard shortcuts

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