tail

package
v0.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Window = 4096

Window is the read window size for tail scanning.

Variables

This section is empty.

Functions

func SeekLines

func SeekLines(r io.ReadSeeker, lines int) error

SeekLines seeks the passed io.ReadSeeker so that it's -N lines from the tail.

SeekLines might modify file offset even in case of error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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