channel

package
v0.0.0-...-c2f863f Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2012 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	Each(func(goutil.Data))
	Map(func(goutil.Data) goutil.Data) Channel
	String() string
	Any(func(goutil.Data) bool) bool
	All(func(goutil.Data) bool) bool
}

func NewChannel

func NewChannel() Channel

func NewChannelFromSlice

func NewChannelFromSlice() Channel

type DataChannel

type DataChannel chan goutil.Data

func (DataChannel) All

func (c DataChannel) All(func(goutil.Data) bool) bool

func (DataChannel) Any

func (c DataChannel) Any(func(goutil.Data) bool) bool

func (DataChannel) Each

func (c DataChannel) Each(f func(goutil.Data))

func (DataChannel) Map

func (c DataChannel) Map(f func(goutil.Data) goutil.Data) Channel

func (DataChannel) String

func (c DataChannel) String() string

type NumberChannel

type NumberChannel chan goutil.Number

func NewNumberChannel

func NewNumberChannel() NumberChannel

func NewNumberChannelFromSlice

func NewNumberChannelFromSlice() NumberChannel

type StringChannel

type StringChannel chan string

func NewStringChannel

func NewStringChannel() StringChannel

func NewStringChannelFromFile

func NewStringChannelFromFile(filename string) StringChannel

func NewStringChannelFromSlice

func NewStringChannelFromSlice() StringChannel

Jump to

Keyboard shortcuts

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