Documentation ¶
Overview ¶
Package lua_client implementes client for fritzbox lua UI API
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type LabelRename ¶
LabelRename regex to replace labels to get rid of translations
type LuaMetricValue ¶
LuaMetricValue single value retrieved from lua page
func GetMetrics ¶
func GetMetrics(labelRenames *[]LabelRename, data map[string]interface{}, metricDef LuaMetricValueDefinition) ([]LuaMetricValue, error)
GetMetrics get metrics from parsed lua page for definition and rename labels
type LuaMetricValueDefinition ¶
LuaMetricValueDefinition definition for a single metric
type LuaSession ¶
type LuaSession struct { BaseURL string Username string Password string SID string SessionInfo SessionInfo }
LuaSession for storing connection data and SID
Click to show internal directories.
Click to hide internal directories.