Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UpdateChargeProgress ¶
UpdateChargeProgress accumulates the charge delta and uploads at given interval. This interval must be smaller that the apis expiry interval for treating power values as current.
Types ¶
type ChargeProgress ¶
type InstanceChargeProgress ¶
type InstanceChargeProgress struct { InstanceID string `json:"instanceId"` ChargeProgress }
Click to show internal directories.
Click to hide internal directories.