Versions in this module Expand all Collapse all v1 v1.1.0 Aug 29, 2023 v1.0.1 May 2, 2023 Changes in this version + func ParseJSON(jsonData []byte) (map[string]interface{}, error) + type LabelRename struct + Name string + Pattern regexp.Regexp + type LuaMetricValue struct + Labels map[string]string + Name string + Value float64 + func GetMetrics(labelRenames *[]LabelRename, data map[string]interface{}, ...) ([]LuaMetricValue, error) + type LuaMetricValueDefinition struct + Key string + Labels []string + OkValue string + Path string + type LuaPage struct + Params string + Path string + type LuaSession struct + BaseURL string + Password string + SID string + SessionInfo SessionInfo + Username string + func (lua *LuaSession) LoadData(page LuaPage) ([]byte, error) + func (lua *LuaSession) Login() error + type SessionInfo struct + BlockTime int + Challenge string + Rights string + SID string