Documentation ¶
Index ¶
- type RouteHandler
- type RouteHandlers
- type Router
- func (r *Router) Add(method string, path string, handler tree.Handler)
- func (r *Router) Delete(path string, handler tree.Handler)
- func (r *Router) Get(path string, handler tree.Handler)
- func (r *Router) GetHandler(path, method string) (tree.Handler, map[string]string)
- func (r *Router) Post(path string, handler tree.Handler)
- func (r *Router) Put(path string, handler tree.Handler)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RouteHandler ¶
type RouteHandlers ¶
type RouteHandlers map[string]interface{}
type Router ¶
func (*Router) GetHandler ¶
Click to show internal directories.
Click to hide internal directories.