tail

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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