Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterInfo ¶
type ClusterInfo struct { TiDB struct { Nodes []clusterinfo.TiDBInfo `json:"nodes"` Err *string `json:"err"` } `json:"tidb"` TiKV struct { Nodes []clusterinfo.TiKVInfo `json:"nodes"` Err *string `json:"err"` } `json:"tikv"` PD struct { Nodes []clusterinfo.PDInfo `json:"nodes"` Err *string `json:"err"` } `json:"pd"` Grafana *clusterinfo.GrafanaInfo `json:"grafana"` AlertManager *clusterinfo.AlertManagerInfo `json:"alert_manager"` }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewService ¶
func (*Service) Register ¶
func (s *Service) Register(r *gin.RouterGroup, auth *user.AuthService)
Click to show internal directories.
Click to hide internal directories.