mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 13:39:19 -06:00
20 lines
428 B
Go
20 lines
428 B
Go
|
package models
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
)
|
||
|
|
||
|
type DatasourceInfo struct {
|
||
|
HTTPClient *http.Client
|
||
|
Token string
|
||
|
URL string
|
||
|
|
||
|
Database string `json:"database"`
|
||
|
Version string `json:"version"`
|
||
|
HTTPMode string `json:"httpMode"`
|
||
|
TimeInterval string `json:"timeInterval"`
|
||
|
DefaultBucket string `json:"defaultBucket"`
|
||
|
Organization string `json:"organization"`
|
||
|
MaxSeries int `json:"maxSeries"`
|
||
|
}
|