config

package
v3.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2018 License: Apache-2.0 Imports: 5 Imported by: 17

Documentation

Index

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

func GetAvahiTimeout() (time.Duration, error)

GetAvahiTimeout returns the timeout for each Avahi scan operation

func GetDbDir

func GetDbDir() string

GetDbDir returns the directory used to store the database

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

func GetDependentLogLevel() log.Level

GetDependentLogLevel returns the log level for dependent devices

func GetHotspotDeleteDelay

func GetHotspotDeleteDelay() (time.Duration, error)

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 GetLogLevel

func GetLogLevel() log.Level

GetLogLevel returns the log level

func GetLongBluetoothTimeout added in v1.2.1

func GetLongBluetoothTimeout() (time.Duration, error)

GetLongBluetoothTimeout returns the timeout for each long running bluetooth operation

func GetLoopDelay

func GetLoopDelay() (time.Duration, error)

GetLoopDelay returns the time delay in seconds between each application process loop

func GetPauseDelay added in v0.1.2

func GetPauseDelay() (time.Duration, error)

GetPauseDelay returns the time delay in seconds between each pause check

func GetShortBluetoothTimeout added in v1.2.1

func GetShortBluetoothTimeout() (time.Duration, error)

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

func GetSupervisorCheckDelay() (time.Duration, error)

GetSupervisorCheckDelay returns the time delay in seconds between each supervisor check at startup

func GetUpdateRetries added in v1.3.0

func GetUpdateRetries() (int, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL