blocks

package
v0.0.0-...-33acbe3 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block interface {
	Run(public, private *buses.Bus)
}

type DecodedBlock

type DecodedBlock struct {
	Inner Block
}

func (*DecodedBlock) UnmarshalJSON

func (b *DecodedBlock) UnmarshalJSON(data []byte) error

type End

type End struct{}

func (*End) Run

func (b *End) Run(_, _ *buses.Bus)

type Mapper

type Mapper struct {
	// contains filtered or unexported fields
}

Mapper - block provide "map" flow

func (*Mapper) Run

func (b *Mapper) Run(public, private *buses.Bus)

Run - standard method for run block

type Reducer

type Reducer struct {
	// contains filtered or unexported fields
}

Reducer - block block provides "reduce" flow

func (*Reducer) Run

func (b *Reducer) Run(public, private *buses.Bus)

Run - standard method for run block

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func (*Runner) Run

func (b *Runner) Run(public, private *buses.Bus)

type Toggler

type Toggler struct {
	// contains filtered or unexported fields
}

Toggler - block block provides conditional switch

func (*Toggler) Run

func (f *Toggler) Run(public, private *buses.Bus)

Run - standard method for run block

Jump to

Keyboard shortcuts

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