Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Router represents `admin` router.
func NewRouter ¶
func NewRouter(controller *controller.Controller) *Router
NewRouter creates new instance of `admin` 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.