async

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: EPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallbackReader

func CallbackReader(reader io.Reader, consumer func(*string, error) bool)

func ChannelReader

func ChannelReader(reader io.Reader, data chan string)

Types

type Reader

type Reader interface {
	Close() error

	ReadLine(ctx context.Context) *string
}

func NewReader

func NewReader(reader io.Reader) Reader

Jump to

Keyboard shortcuts

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