Documentation ¶
Index ¶
- type BatchDelayNode
- func (b *BatchDelayNode) Execute()
- func (b *BatchDelayNode) GetName() string
- func (b *BatchDelayNode) GetOutput() chan interface{}
- func (b *BatchDelayNode) PutInput(input interface{}) error
- func (b *BatchDelayNode) SetDelayFunc(f func(int) time.Duration) error
- func (b *BatchDelayNode) SetInput(input chan interface{})
- func (b *BatchDelayNode) Shutdown()
- type BatchPipeline
- func (p *BatchPipeline) AddNode(index int, node CompNode) error
- func (p *BatchPipeline) DeleteNode(index int) error
- func (p *BatchPipeline) GetNode(index int) CompNode
- func (p *BatchPipeline) GetNodes() []CompNode
- func (p *BatchPipeline) GetOutput() chan interface{}
- func (p *BatchPipeline) InputFrom(index int, value interface{}) error
- func (p *BatchPipeline) ShutdownPipeline()
- func (p *BatchPipeline) StartPipeline()
- type CompNode
- type Pipeline
- type Switch
- type TimerTask
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchDelayNode ¶
type BatchDelayNode struct {
// contains filtered or unexported fields
}
func NewBatchDelayNode ¶
func (*BatchDelayNode) Execute ¶
func (b *BatchDelayNode) Execute()
func (*BatchDelayNode) GetName ¶
func (b *BatchDelayNode) GetName() string
func (*BatchDelayNode) GetOutput ¶
func (b *BatchDelayNode) GetOutput() chan interface{}
func (*BatchDelayNode) PutInput ¶
func (b *BatchDelayNode) PutInput(input interface{}) error
func (*BatchDelayNode) SetDelayFunc ¶
func (b *BatchDelayNode) SetDelayFunc(f func(int) time.Duration) error
func (*BatchDelayNode) SetInput ¶
func (b *BatchDelayNode) SetInput(input chan interface{})
func (*BatchDelayNode) Shutdown ¶
func (b *BatchDelayNode) Shutdown()
Nodes after shutdown is not thread safe
type BatchPipeline ¶
type BatchPipeline struct {
// contains filtered or unexported fields
}
func NewBatchPipeline ¶
func NewBatchPipeline() *BatchPipeline
func (*BatchPipeline) DeleteNode ¶
func (p *BatchPipeline) DeleteNode(index int) error
func (*BatchPipeline) GetNode ¶
func (p *BatchPipeline) GetNode(index int) CompNode
func (*BatchPipeline) GetNodes ¶
func (p *BatchPipeline) GetNodes() []CompNode
func (*BatchPipeline) GetOutput ¶
func (p *BatchPipeline) GetOutput() chan interface{}
func (*BatchPipeline) InputFrom ¶
func (p *BatchPipeline) InputFrom(index int, value interface{}) error
func (*BatchPipeline) ShutdownPipeline ¶
func (p *BatchPipeline) ShutdownPipeline()
func (*BatchPipeline) StartPipeline ¶
func (p *BatchPipeline) StartPipeline()
type TimerTask ¶
type TimerTask struct {
// contains filtered or unexported fields
}
func NewTimerTask ¶
func NewTimerTask() *TimerTask
Click to show internal directories.
Click to hide internal directories.