Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
RouterTable
}
Router 路由器结构
func (*Router) Register ¶
func (r *Router) Register(path string, c BaseController.Controller)
Router.Register 路由注册
type RouterTable ¶
type RouterTable struct {
PathToController map[string]BaseController.Controller
}
RouterTable 路由表结构
Click to show internal directories.
Click to hide internal directories.