Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
SinkRefs int32 // number of sinks referencing buffer in this message.
PipeID string // ID of pipe which spawned this message.
Buffer signal.Float64 // Buffer of message.
Params state.Params // params for pipe.
}
Message is a main structure for pipe transport
type ProcessFunc ¶ added in v0.6.0
ProcessFunc is closure of pipe.Processor that processes messages.
type Processor ¶
type Processor struct {
ID string
Fn ProcessFunc
Meter metric.ResetFunc
Hooks
}
Processor executes pipe.Processor components.
Click to show internal directories.
Click to hide internal directories.