Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Node ¶
type Node struct {
// contains filtered or unexported fields
}
func (*Node) DeepRange ¶
func (node *Node) DeepRange(f func(handle *RouterInfo))
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
func (*Router) AddRoute ¶
func (router *Router) AddRoute(Type, method, url string, handle *RouterInfo) error
func (*Router) GetRouter ¶
func (router *Router) GetRouter(Type, method, url string) *RouterInfo
func (*Router) RangeRoute ¶
func (router *Router) RangeRoute(f func(Type, method string, route *RouterInfo))
Click to show internal directories.
Click to hide internal directories.