Documentation ¶
Overview ¶
Package remoteobserverprocessor can be positioned anywhere in a pipeline, allowing data to pass through to the next component. Simultaneously, it makes a portion of the data accessible to WebSocket clients connecting on a configurable port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type Config ¶
type Config struct { confighttp.HTTPServerSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct // Limit is a float that indicates the maximum number of messages repeated // through the websocket by this processor in messages per second. Defaults to 1. Limit rate.Limit `mapstructure:"limit"` }
Click to show internal directories.
Click to hide internal directories.