Documentation ¶
Index ¶
- func CheckArgContent(selected string, allowedArgs []string) bool
- func CheckAvailableNewVersion() (bool, string)
- func CheckConnectivity(apiKey string, url string, alternateUrl string, jeedomApiUrlSuffix string, ...) (string, string)
- func Find(slice []string, val string) (int, bool)
- func GetApiResult(apiKey string, url string, method string, debugMode bool) (map[string]interface{}, error)
- func GetCurrentVersion() string
- func GetJeedomGlobalStatus(apiKey string, url string, jeedomVersion string, debugMode bool) map[string]string
- func GetJeedomGlobalStatus40(apiKey string, url string, debugMode bool) map[string]string
- func GetJeedomGlobalStatus41(apiKey string, url string, debugMode bool) map[string]string
- func GetJeedomMessage(apiKey string, url string, debugMode bool) int
- func GetJeedomUpdates(apiKey string, url string, debugMode bool) int
- func GetLatestOnlineVersionNumber() (string, error)
- func GetLatestOnlineVersionUrl() (string, error)
- func GetLatestVersion() (bool, string)
- func GetVersion(apiKey string, url string, debugMode bool) (string, error)
- func ReadLastCheckedVersion(lastCheckVersionFile string) string
- func StoreLastVersion(lastCheckVersionFile string, version string) bool
- type JeedomCurrentStatus
- type JeedomEquipmentsBatteryStatus
- type JeedomSummary
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckArgContent ¶ added in v0.6.0
func CheckAvailableNewVersion ¶ added in v0.6.0
func CheckConnectivity ¶ added in v0.8.0
func GetApiResult ¶ added in v0.6.0
func GetCurrentVersion ¶ added in v0.6.0
func GetCurrentVersion() string
func GetJeedomGlobalStatus ¶ added in v1.0.0
func GetJeedomGlobalStatus40 ¶ added in v1.0.0
func GetJeedomGlobalStatus41 ¶ added in v1.0.0
func GetJeedomMessage ¶ added in v1.0.0
func GetJeedomUpdates ¶ added in v1.0.0
func GetLatestOnlineVersionNumber ¶ added in v0.6.0
func GetLatestOnlineVersionUrl ¶ added in v0.6.0
func GetLatestVersion ¶ added in v0.6.0
func GetVersion ¶ added in v0.9.0
func ReadLastCheckedVersion ¶ added in v0.6.0
func StoreLastVersion ¶ added in v0.6.0
Types ¶
type JeedomCurrentStatus ¶ added in v1.0.0
type JeedomCurrentStatus struct { JeedomUrl string JeedomApiUrl string JeedomVersion string JeedomApiKey string JeedomGlobalStatus map[string]string JeedomUpdates int JeedomMessages int BarsType string Style string DebugMode bool }
func BuildGlobalStatus ¶ added in v1.0.0
type JeedomEquipmentsBatteryStatus ¶ added in v1.0.0
func GetJeedomBatteryInfo ¶ added in v1.0.0
func GetJeedomBatteryInfo(apiKey string, url string, ignoreBatteryWarning bool, debugMode bool) JeedomEquipmentsBatteryStatus
type JeedomSummary ¶
type JeedomSummary struct { Alarm string Battery string Door string Humidity string Light string Luminosity string Motion string Outlet string Power string Security string Shutter string Temperature string Updates string Windows string }
func JeedomSummaryEmojiIcons ¶
func JeedomSummaryEmojiIcons() JeedomSummary
func JeedomSummaryFontsIcons ¶
func JeedomSummaryFontsIcons() JeedomSummary
func JeedomSummaryNerdFontsIcons ¶ added in v0.5.0
func JeedomSummaryNerdFontsIcons() JeedomSummary
func JeedomSummaryNoIcons ¶ added in v0.5.0
func JeedomSummaryNoIcons() JeedomSummary
Click to show internal directories.
Click to hide internal directories.