Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Sensor ¶
type Sensor interface { // Init performs any sensor-specific initialization. Init() error // Sense queries the sensor for measurements and sets the appropriate // field(s) in the given Measurement. This is so that the same Measurement // may be passed to a series of sensors that each measure different things. Sense(m *mpb.Measurement) error // Shutdown performs an sensor-specific shutdown or cleanup operations. Shutdown() error }
Click to show internal directories.
Click to hide internal directories.