Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardHandler ¶
DashboardHandler expose dashboard routes
func (DashboardHandler) Append ¶
func (g DashboardHandler) Append(router *mux.Router)
Append add dashboard routes on a router
type DebugHandler ¶
type DebugHandler struct{}
DebugHandler expose debug routes
func (DebugHandler) Append ¶
func (g DebugHandler) Append(router *mux.Router)
Append add debug routes on a router
type Handler ¶
type Handler struct {
EntryPoint string
Dashboard bool
Debug bool
CurrentConfigurations *safe.Safe
Statistics *types.Statistics
Stats *thoasstats.Stats
// StatsRecorder *middlewares.StatsRecorder // FIXME stats
DashboardAssets *assetfs.AssetFS
}
Handler expose api routes
type MiddlewareRepresentation ¶
type MiddlewareRepresentation struct {
*config.Middleware
ID string `json:"id"`
}
MiddlewareRepresentation extended version of a middleware configuration with an ID
type ProviderRepresentation ¶
type ProviderRepresentation struct {
Routers []ResourceIdentifier `json:"routers,omitempty"`
Middlewares []ResourceIdentifier `json:"middlewares,omitempty"`
Services []ResourceIdentifier `json:"services,omitempty"`
}
ProviderRepresentation a provider with resource identifiers
type ResourceIdentifier ¶
ResourceIdentifier a resource identifier
type RouterRepresentation ¶
RouterRepresentation extended version of a router configuration with an ID
type ServiceRepresentation ¶
ServiceRepresentation extended version of a service configuration with an ID
Click to show internal directories.
Click to hide internal directories.