Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SWUpdater ¶
type SWUpdater struct {
// contains filtered or unexported fields
}
SWUpdater represents a software updater.
func NewSWUpdater ¶
func NewSWUpdater(hostName string, port uint16, notifications chan SWUpdaterNotification) *SWUpdater
NewSWUpdater creates a new instance of SWUpdater with the specified host name and port.
func (*SWUpdater) Restart ¶ added in v2.6.0
Restart reboots the device by sending a POST request to the restart endpoint.
type SWUpdaterNotification ¶
Click to show internal directories.
Click to hide internal directories.