Documentation
¶
Index ¶
Constants ¶
View Source
const RELEASE_URL = "https://api.github.com/repos/EV3-OpenAPI/EV3-API/releases/latest"
View Source
const SERVER_FILE_NAME = "ev3api-server"
View Source
const VERSION_FILE_NAME = "version"
Variables ¶
This section is empty.
Functions ¶
func CheckForNewVersion ¶
func CheckForNewVersion()
CheckForNewVersion checks if there is a new release, if there is, downloads it. After the download it starts the executable, and if that is successful it replaces the original executable and exits, causing systemd to restart this application.
func GetHostname ¶
func GetHostname() string
func GetHostnameForMac ¶
func GetWlanInterfaceIndex ¶
func GetWlanInterfaceIndex() int
func SetSystemHostname ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.