Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager A route/router manager
func NewManager ¶
func NewManager(conf *runtime.Configuration, serviceManager *service.Manager, middlewaresBuilder *middleware.Builder, modifierBuilder *responsemodifiers.Builder, ) *Manager
NewManager Creates a new Manager
type RouteAppenderAggregator ¶
type RouteAppenderAggregator struct {
// contains filtered or unexported fields
}
RouteAppenderAggregator RouteAppender that aggregate other RouteAppender
func NewRouteAppenderAggregator ¶
func NewRouteAppenderAggregator(ctx context.Context, chainBuilder chainBuilder, conf static.Configuration, entryPointName string, runtimeConfiguration *runtime.Configuration) *RouteAppenderAggregator
NewRouteAppenderAggregator Creates a new RouteAppenderAggregator
func (*RouteAppenderAggregator) AddAppender ¶
func (r *RouteAppenderAggregator) AddAppender(router types.RouteAppender)
AddAppender adds a router in the aggregator
func (*RouteAppenderAggregator) Append ¶
func (r *RouteAppenderAggregator) Append(systemRouter *mux.Router)
Append Adds routes to the router
type RouteAppenderFactory ¶
type RouteAppenderFactory struct {
// contains filtered or unexported fields
}
RouteAppenderFactory A factory of RouteAppender
func NewRouteAppenderFactory ¶
func NewRouteAppenderFactory(staticConfiguration static.Configuration, entryPointName string, acmeProvider []*acme.Provider) *RouteAppenderFactory
NewRouteAppenderFactory Creates a new RouteAppenderFactory
func (*RouteAppenderFactory) NewAppender ¶
func (r *RouteAppenderFactory) NewAppender(ctx context.Context, middlewaresBuilder *middleware.Builder, runtimeConfiguration *runtime.Configuration) types.RouteAppender
NewAppender Creates a new RouteAppender
type WithMiddleware ¶
type WithMiddleware struct {
// contains filtered or unexported fields
}
WithMiddleware router with internal middleware
func (*WithMiddleware) Append ¶
func (wm *WithMiddleware) Append(systemRouter *mux.Router)
Append Adds routes to the router
Source Files ¶
Click to show internal directories.
Click to hide internal directories.