linebuf

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package linebuf provides line-buffered IO utilities.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Writer

func Writer(fn func([]byte)) (_ io.Writer, done func())

Writer return san io.Writer that splits its input on newline, calling fn for each line -- including the trailing newline.

Types

This section is empty.

Jump to

Keyboard shortcuts

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