Documentation ¶
Index ¶
- type Handler
- type Middleware
- type Options
- type Route
- type Router
- func (r *Router) Delete(uri string, handler Handler) *Router
- func (r *Router) Get(uri string, handler Handler) *Router
- func (r *Router) Group(options *Options, routes func(r *Router)) *Router
- func (r *Router) Head(uri string, handler Handler) *Router
- func (r *Router) Patch(uri string, handler Handler) *Router
- func (r *Router) Post(uri string, handler Handler) *Router
- func (r *Router) Put(uri string, handler Handler) *Router
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Middleware ¶
Middleware represents a route middleware.
type Options ¶
type Options struct { Prefix string Middleware Middleware }
Options represents the route options.
type Router ¶
Router determines how a route is.
var Routes Router
Routes representrs the global application routes.
Click to show internal directories.
Click to hide internal directories.