flush

package
v0.87.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithPeriod

func WithPeriod(splitFunc bufio.SplitFunc, period time.Duration) bufio.SplitFunc

WithPeriod wraps a bufio.SplitFunc with a timer. When the timer expires, an incomplete token may be returned. The timer will reset any time the data parameter changes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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