Documentation
¶
Index ¶
- func GetAssetsDir() string
- func GetAvahiTimeout() (time.Duration, error)
- func GetDbDir() string
- func GetDbPath() string
- func GetDependentLogLevel() log.Level
- func GetHotspotDeleteDelay() (time.Duration, error)
- func GetHotspotPassword() string
- func GetHotspotSSID() string
- func GetLockFileLocation() string
- func GetLogLevel() log.Level
- func GetLongBluetoothTimeout() (time.Duration, error)
- func GetLoopDelay() (time.Duration, error)
- func GetPauseDelay() (time.Duration, error)
- func GetShortBluetoothTimeout() (time.Duration, error)
- func GetSuperAPIKey() string
- func GetSuperAddr() string
- func GetSupervisorCheckDelay() (time.Duration, error)
- func GetUpdateRetries() (int, error)
- func GetVersion() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAssetsDir ¶
func GetAssetsDir() string
GetAssetsDir returns the root directory used to store the database and application commits
func GetAvahiTimeout ¶
GetAvahiTimeout returns the timeout for each Avahi scan operation
func GetDbPath ¶ added in v1.3.0
func GetDbPath() string
GetDbPath returns the path used to store the database
func GetDependentLogLevel ¶ added in v1.0.0
GetDependentLogLevel returns the log level for dependent devices
func GetHotspotDeleteDelay ¶
GetHotspotDeleteDelay returns the time delay in seconds between hotspot deletion and creation
func GetHotspotPassword ¶ added in v1.4.1
func GetHotspotPassword() string
GetHotspotPassword returns the password to be used for the hotspot
func GetHotspotSSID ¶ added in v1.4.1
func GetHotspotSSID() string
GetHotspotSSID returns the SSID to be used for the hotspot
func GetLockFileLocation ¶ added in v1.0.0
func GetLockFileLocation() string
GetLockFileLocation returns the location of the lock file
func GetLongBluetoothTimeout ¶ added in v1.2.1
GetLongBluetoothTimeout returns the timeout for each long running bluetooth operation
func GetLoopDelay ¶
GetLoopDelay returns the time delay in seconds between each application process loop
func GetPauseDelay ¶ added in v0.1.2
GetPauseDelay returns the time delay in seconds between each pause check
func GetShortBluetoothTimeout ¶ added in v1.2.1
GetShortBluetoothTimeout returns the timeout for each instantaneous bluetooth operation
func GetSuperAPIKey ¶
func GetSuperAPIKey() string
GetSuperAPIKey returns the API key used to communicate with the supervisor
func GetSuperAddr ¶
func GetSuperAddr() string
GetSuperAddr returns the address used to communicate with the supervisor
func GetSupervisorCheckDelay ¶
GetSupervisorCheckDelay returns the time delay in seconds between each supervisor check at startup
func GetUpdateRetries ¶ added in v1.3.0
GetUpdateRetries returns the number of times the firmware update process should be attempted
func GetVersion ¶
func GetVersion() string
GetVersion returns the API version used to communicate with the supervisor
Types ¶
This section is empty.