Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RouterSet = wire.NewSet(wire.Struct(new(Router), "*"), wire.Bind(new(IRouter), new(*Router)))
RouterSet 注入router
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct { Auth auth.Auther CasbinEnforcer *casbin.SyncedEnforcer DemoAPI *api.Demo LoginAPI *api.Login MenuAPI *api.Menu RoleAPI *api.Role UserAPI *api.User PageManagerAPI *api.PageManager PageVersionHistoryAPI *api.PageVersionHistory SettingAPI *api.Setting AppAPI *api.App GPlatFormAPI *api.GPlatform GTplMallAPI *api.GTplMall }
Router 路由管理器
func (*Router) RegisterAPI ¶
RegisterAPI register api group router
Click to show internal directories.
Click to hide internal directories.