package
Version:
v0.12.0
Opens a new window with list of versions in this module.
Published: Oct 30, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 9
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 int `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.