Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEOF = event.ErrEOF
Functions ¶
This section is empty.
Types ¶
type MultiReader ¶
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 ¶
func (r *MultiReader) Read(ctx context.Context) (model.MXPGVKEvent, error)
Click to show internal directories.
Click to hide internal directories.