Documentation ¶
Index ¶
Constants ¶
View Source
const TransformInvalidFactoryConfig = errors.Error("TransformInvalidFactoryConfig")
TransformInvalidFactoryConfig is used when an unsupported Transform is referenced in Factory.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Process ¶
Process contains this transform's configuration settings. More information is available in the README.
type Transfer ¶
type Transfer struct{}
Transfer contains this transform's configuration settings. More information is available in the README.
type Transform ¶
type Transform interface {
Transform(context.Context, <-chan []byte, chan<- []byte, chan struct{}) error
}
Transform is the interface used by all Substation transforms. Transforms read channels of bytes, can optionally write channels of bytes, and are interruptable via an anonymous struct channel.
Click to show internal directories.
Click to hide internal directories.