Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardHandler ¶
type DashboardHandler struct {
Assets *assetfs.AssetFS
}
DashboardHandler expose dashboard routes
func (DashboardHandler) AddRoutes ¶
func (g DashboardHandler) AddRoutes(router *mux.Router)
AddRoutes add dashboard routes on a router
type DebugHandler ¶
type DebugHandler struct{}
DebugHandler expose debug routes
func (DebugHandler) AddRoutes ¶
func (g DebugHandler) AddRoutes(router *mux.Router)
AddRoutes add debug routes on a router
type Handler ¶
type Handler struct { EntryPoint string `description:"EntryPoint" export:"true"` Dashboard bool `description:"Activate dashboard" export:"true"` Debug bool `export:"true"` CurrentConfigurations *safe.Safe Statistics *types.Statistics `description:"Enable more detailed statistics" export:"true"` Stats *thoas_stats.Stats `json:"-"` StatsRecorder *middlewares.StatsRecorder `json:"-"` DashboardAssets *assetfs.AssetFS }
Handler expose api routes
Click to show internal directories.
Click to hide internal directories.