Documentation
¶
Index ¶
- type BoltDbQueue
- type ChanQueue
- type ComposeFunc
- func Compose(fs ...ComposeFunc) ComposeFunc
- func Filter(f FilterFunc) ComposeFunc
- func FilterTo(outQ Queue, f FilterFunc) ComposeFunc
- func ForkJoin(f ForkJoinFunc, cfs ...ComposeFunc) ComposeFunc
- func ForkJoinTo(outQ Queue, f ForkJoinFunc, cfs ...ComposeFunc) ComposeFunc
- func Map(f MapFunc) ComposeFunc
- func MapTo(outQ Queue, f MapFunc) ComposeFunc
- func Partition(f PartitionFunc) ComposeFunc
- func PartitionTo(outQ Queue, f PartitionFunc) ComposeFunc
- func Reduce(f ReduceFunc) ComposeFunc
- func ReduceTo(outQ Queue, f ReduceFunc) ComposeFunc
- type FilterFunc
- type ForkJoinFunc
- type ListQueue
- type MapFunc
- type PartitionFunc
- type Queue
- type ReduceFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltDbQueue ¶
type BoltDbQueue struct {
Db *bolt.DB
ElementTypes []interface{}
// contains filtered or unexported fields
}
func (*BoltDbQueue) Close ¶
func (q *BoltDbQueue) Close() error
func (*BoltDbQueue) Dequeue ¶
func (q *BoltDbQueue) Dequeue(peek ...bool) (interface{}, bool, error)
func (*BoltDbQueue) Enqueue ¶
func (q *BoltDbQueue) Enqueue(v interface{}) error
func (*BoltDbQueue) Open ¶
func (q *BoltDbQueue) Open() error
type ComposeFunc ¶
func Compose ¶
func Compose(fs ...ComposeFunc) ComposeFunc
func Filter ¶
func Filter(f FilterFunc) ComposeFunc
func FilterTo ¶
func FilterTo(outQ Queue, f FilterFunc) ComposeFunc
func ForkJoin ¶
func ForkJoin(f ForkJoinFunc, cfs ...ComposeFunc) ComposeFunc
func ForkJoinTo ¶
func ForkJoinTo(outQ Queue, f ForkJoinFunc, cfs ...ComposeFunc) ComposeFunc
func Map ¶
func Map(f MapFunc) ComposeFunc
func MapTo ¶
func MapTo(outQ Queue, f MapFunc) ComposeFunc
func Partition ¶
func Partition(f PartitionFunc) ComposeFunc
func PartitionTo ¶
func PartitionTo(outQ Queue, f PartitionFunc) ComposeFunc
func Reduce ¶
func Reduce(f ReduceFunc) ComposeFunc
func ReduceTo ¶
func ReduceTo(outQ Queue, f ReduceFunc) ComposeFunc
type FilterFunc ¶
type ForkJoinFunc ¶
type PartitionFunc ¶
type PartitionFunc func(partition, v interface{}) (interface{}, error)
type ReduceFunc ¶
type ReduceFunc func(acc, v interface{}) (interface{}, error)
Click to show internal directories.
Click to hide internal directories.