tail

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2024 License: MPL-2.0 Imports: 2 Imported by: 1

README

go-tail

Package tail implements tailing of [io.ReadSeeker].

Documentation

Overview

Package tail implements tailing of io.ReadSeeker.

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