package
Version:
v1.0.1
Opens a new window with list of versions in this module.
Published: Mar 23, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package handlers provides handler types which implements EventHandler.
DoneFunc handles the end of a stream.
func (DoneFunc) Handle ¶
func (handle DoneFunc) Handle(item interface{})
Handle registers DoneFunc to EventHandler.
ErrFunc handles an error in a stream.
func (ErrFunc) Handle ¶
func (handle ErrFunc) Handle(item interface{})
Handle registers ErrFunc to EventHandler.
type NextFunc func(interface{})
NextFunc handles a next item in a stream.
func (NextFunc) Handle ¶
func (handle NextFunc) Handle(item interface{})
Handle registers NextFunc to EventHandler.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.