ui

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTimeout = errors.New("timeout")

Functions

func HackReadLineWithTimeout

func HackReadLineWithTimeout(f io.Reader, timeout time.Duration) (string, error)

NOTE: On timeout, this function leaks a goroutine which will consume some data from the input file, as it becomes available. TODO: Implement a proper Read operation with a Context argument.

Types

This section is empty.

Jump to

Keyboard shortcuts

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