package
Version:
v0.48.2
Opens a new window with list of versions in this module.
Published: Oct 29, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package ina this is blank for mac
type Config struct {
I2CBus string `json:"i2c_bus"`
I2cAddr int `json:"i2c_addr,omitempty"`
MaxCurrent float64 `json:"max_current_amps,omitempty"`
ShuntResistance float64 `json:"shunt_resistance,omitempty"`
}
Config is used for converting config attributes.
Validate ensures all parts of the config are valid.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.