Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct {
// contains filtered or unexported fields
}
Exporter represents a Prometheus exporter converting modbus information retrieved from remote targets via TCP as Prometheus style metrics.
func NewExporter ¶
NewExporter returns a new modbus exporter.
type InsufficientRegistersError ¶
type InsufficientRegistersError struct {
// contains filtered or unexported fields
}
InsufficientRegistersError is returned in Parse() whenever not enough registers are provided for the given data type.
func (*InsufficientRegistersError) Error ¶
func (e *InsufficientRegistersError) Error() string
Error implements the Golang error interface.
Click to show internal directories.
Click to hide internal directories.