Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface { // Create 创建/编辑菜单 // @Tags API.menu // @Router /api/menu [post] Create() core.HandlerFunc // Detail 菜单详情 // @Tags API.menu // @Router /api/menu/{id} [get] Detail() core.HandlerFunc // Delete 删除菜单 // @Tags API.menu // @Router /api/menu/{id} [delete] Delete() core.HandlerFunc // UpdateUsed 更新菜单为启用/禁用 // @Tags API.menu // @Router /api/menu/used [patch] UpdateUsed() core.HandlerFunc // UpdateSort 更新菜单排序 // @Tags API.menu // @Router /api/menu/sort [patch] UpdateSort() core.HandlerFunc // List 菜单列表 // @Tags API.menu // @Router /api/menu [get] List() core.HandlerFunc // CreateAction 创建功能权限 // @Tags API.menu // @Router /api/menu_action [post] CreateAction() core.HandlerFunc // ListAction 功能权限列表 // @Tags API.menu // @Router /api/menu_action [get] ListAction() core.HandlerFunc // DeleteAction 删除功能权限 // @Tags API.menu // @Router /api/menu_action/{id} [delete] DeleteAction() core.HandlerFunc // contains filtered or unexported methods }
Click to show internal directories.
Click to hide internal directories.