Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶ added in v0.4.0
type Router struct {
// contains filtered or unexported fields
}
Router represents `chooser` router.
func NewRouter ¶ added in v0.4.0
func NewRouter(controller *controller.Controller) *Router
NewRouter creates new instance of `chooser` router.
func (*Router) AddGlobalMiddleware ¶ added in v0.6.0
AddGlobalMiddleware adds a global middleware which will be applied for each route.
Click to show internal directories.
Click to hide internal directories.