Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetServiceBuilders ¶
func GetServiceBuilders() []server.HandlerBuilder
GetServiceBuilders returns all ServiceBuilders required by Dashboard
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager is used to control dashboard.
func NewManager ¶
NewManager creates a new Manager.
type Redirector ¶
type Redirector struct {
// contains filtered or unexported fields
}
Redirector is used to redirect when the dashboard is started in another PD.
func (*Redirector) ServeHTTP ¶
func (h *Redirector) ServeHTTP(w http.ResponseWriter, r *http.Request)
ServeHTTP implements http.Handler.
func (*Redirector) SetAddress ¶
func (h *Redirector) SetAddress(addr string)
SetAddress is used to set a new address to be redirected.
Click to show internal directories.
Click to hide internal directories.