Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpTrashDao ¶
type ImpTrashDao struct {
markup.Component `id:"TrashDAO"`
Agent dbagent.GormDBAgent `inject:"#GormDBAgent"`
}
ImpTrashDao ...
func (*ImpTrashDao) Delete ¶
func (inst *ImpTrashDao) Delete(holders ...*entity.Holder) error
Delete ...
type ImpTrashService ¶
type ImpTrashService struct {
markup.Component `id:"TrashService" initMethod:"Init"`
TrashDao dao.TrashDAO `inject:"#TrashDAO"`
AutoClean bool `inject:"${wpm.auto-clean-trash.enabled}"`
// contains filtered or unexported fields
}
ImpTrashService ...
func (*ImpTrashService) EnableAutoCleanBeforeInsert ¶ added in v0.1.3
func (inst *ImpTrashService) EnableAutoCleanBeforeInsert(en bool)
EnableAutoCleanBeforeInsert ...
func (*ImpTrashService) OnDelete ¶ added in v0.1.3
func (inst *ImpTrashService) OnDelete()
OnDelete ...
func (*ImpTrashService) OnInsert ¶ added in v0.1.3
func (inst *ImpTrashService) OnInsert()
OnInsert ...
type TheTrashController ¶
type TheTrashController struct {
markup.RestController `class:"rest-controller"`
TrashSer service.TrashService `inject:"#TrashService"`
TrashDao dao.TrashDAO `inject:"#TrashDAO"`
Responder glass.MainResponder `inject:"#glass-main-responder"`
}
TheTrashController Trash 控制器
func (*TheTrashController) Init ¶
func (inst *TheTrashController) Init(ec glass.EngineConnection) error
Init 初始化
Click to show internal directories.
Click to hide internal directories.