package
Version:
v0.0.0-...-f73c5c5
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Data struct {
Result []Result `json:"result"`
ResultType string `json:"resultType"`
}
type QueryResult struct {
Status string `json:"status"`
Data Data `json:"data"`
}
type Result struct {
Metric map[string]string `json:"metric"`
Value []interface{}
}
Result structure assumes that resultType is always == "vector"
Source Files
¶
Click to show internal directories.
Click to hide internal directories.