Documentation ¶
Overview ¶
Package etlio contains logic do handle io stuff.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AsReader ¶
func AsReader(it Iter) io.ReadCloser
AsReader returns an io.Reader that reads from the iterator
Types ¶
type Iter ¶
Iter is an etl.Iter.
func FromReadCloser ¶
func FromReadCloser(rd io.ReadCloser, opts ...ReaderOptFunc) Iter
FromReadCloser returns an iterator that reads from the io.ReadCloser Closing the iter will close the io.ReadCloser
func FromReader ¶
func FromReader(rd io.Reader, opts ...ReaderOptFunc) Iter
FromReader returns an iterator that reads from the io.Reader
type ReaderOptFunc ¶
type ReaderOptFunc func(*readerOptions)
func WithBufSize ¶
func WithBufSize(size int) ReaderOptFunc
Click to show internal directories.
Click to hide internal directories.