pull

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2019 License: MIT Imports: 0 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pull

func Pull(opts ...interface{}) interface{}

Types

type EndOrError

type EndOrError string
const (
	End  EndOrError = "END"
	Err  EndOrError = "ERR"
	Null EndOrError = "NULL"
)

func (EndOrError) End

func (e EndOrError) End() bool

func (EndOrError) Error

func (e EndOrError) Error() bool

func (EndOrError) Yes

func (e EndOrError) Yes() bool

type Read

type Read func(end EndOrError, cb SourceCallback)

type Sink

type Sink func(read Read)

type SourceCallback

type SourceCallback func(end EndOrError, data interface{})

type SourceCallbackMap

type SourceCallbackMap func(cb SourceCallback) SourceCallback

type Through

type Through func(read Read) Read

Jump to

Keyboard shortcuts

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