Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
APISet api注入
View Source
var DaoSet = wire.NewSet( wire.Struct(new(dao.User), "*"), wire.Struct(new(dao.Authority), "*"), wire.Struct(new(dao.Role), "*"), wire.Struct(new(dao.RoleUser), "*"), wire.Struct(new(dao.RoleAuthority), "*"), wire.Struct(new(dao.OauthClientDetails), "*"), )
DaoSet inject
View Source
var ServiceSet = wire.NewSet( wire.Struct(new(impl.CasbinAdapterService), "*"), wire.Bind(new(persist.Adapter), new(*impl.CasbinAdapterService)), wire.Struct(new(impl.Permission), "*"), wire.Bind(new(service.Permission), new(*impl.Permission)), wire.Struct(new(impl.UserDetail), "*"), wire.Bind(new(service.UserDetail), new(*impl.UserDetail)), wire.Struct(new(impl.Role), "*"), wire.Bind(new(service.Role), new(*impl.Role)), wire.Struct(new(impl.OAuth2Client), "*"), wire.Bind(new(service.OAuth2Client), new(*impl.OAuth2Client)), )
ServiceSet inject
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.