linebuffer

package
v0.0.0-...-60aa128 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2020 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultSize = 1024

Variables

This section is empty.

Functions

This section is empty.

Types

type LineBuffer

type LineBuffer struct {
	Size int
	// contains filtered or unexported fields
}

func (*LineBuffer) Append

func (lb *LineBuffer) Append(line string) error

func (*LineBuffer) Do

func (lb *LineBuffer) Do(x func(string) error) error

func (*LineBuffer) WriteTo

func (lb *LineBuffer) WriteTo(w io.Writer) (int64, error)

Jump to

Keyboard shortcuts

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