Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
Types ¶
type Config ¶
type Config struct { // Path of the file to read from. Path is relative to current directory. Path string `mapstructure:"path"` // Throttle determines how fast telemetry is replayed. A value of zero means // that it will be replayed as fast as the system will allow. A value of 1 means // that it will be replayed at the same rate as the data came in, as indicated // by the timestamps on the input file's telemetry data. Higher values mean that // replay will be slower by a corresponding amount. Use a value between 0 and 1 // to replay telemetry at a higher speed. Default: 1. Throttle float64 `mapstructure:"throttle"` }
Config defines the configuration for the file receiver.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.