reader

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrEOF = event.ErrEOF

Functions

This section is empty.

Types

type MultiReader

type MultiReader struct {
	Readers []event.Reader
}

MultiReader is the logical concatenation of its readers. They're read sequentially. Once all readers have returned EOF, Read will return EOF. If any of the readers return a non-nil, non-EOF error, Read will return that error. Readers are closed when they return EOF or when Close() is called.

func (*MultiReader) Close

func (r *MultiReader) Close() error

func (*MultiReader) Read

Jump to

Keyboard shortcuts

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