Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DashboardWireSet = wire.NewSet( GetConfig, NewDashboardRouterImpl, wire.Bind(new(DashboardRouter), new(*DashboardRouterImpl)), )
Functions ¶
func NewDashboardHTTPReverseProxy ¶
func NewDashboardHTTPReverseProxy(serverAddr string, transport http.RoundTripper) func(writer http.ResponseWriter, request *http.Request)
Types ¶
type Config ¶
type DashboardRouter ¶ added in v0.3.9
type DashboardRouterImpl ¶ added in v0.3.9
type DashboardRouterImpl struct {
// contains filtered or unexported fields
}
func NewDashboardRouterImpl ¶ added in v0.3.9
func NewDashboardRouterImpl(logger *zap.SugaredLogger, dashboardCfg *Config) *DashboardRouterImpl
func (DashboardRouterImpl) InitDashboardRouter ¶ added in v0.3.9
func (router DashboardRouterImpl) InitDashboardRouter(dashboardRouter *mux.Router)
Click to show internal directories.
Click to hide internal directories.