pull_pushable

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ender

type Ender func(end error)

type OnClose

type OnClose func(end error)

type Option

type Option func(*Pushable)

func WithName

func WithName(name string) Option

func WithOnClose

func WithOnClose(onClose OnClose) Option

type Push

type Push func(data interface{})

type Pushable

type Pushable struct {
	Read  pull.Read
	Ender Ender
	Push  Push
	// contains filtered or unexported fields
}

func NewPushable

func NewPushable(opts ...Option) *Pushable

Jump to

Keyboard shortcuts

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