Documentation ¶
Overview ¶
Package rpc provides an RPC-based update client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { }
Client is an implementation of the Local interface which uses RPCs to the TrustedOS to perform the updates.
func (Client) GetInstalledVersions ¶
GetInstalledVersions returns the semantic versions of the OS and Applet installed on this device. These will be the same versions that are currently running.
func (Client) InstallApplet ¶
InstallApplet updates the Applet to the version contained in the firmware bundle. If the update is successful, the RPC will not return.
Click to show internal directories.
Click to hide internal directories.