Documentation ¶
Index ¶
- type ExecutableController
- type ExecutableDaoImpl
- func (inst *ExecutableDaoImpl) Find(id dxo.ExecutableID) (*entity.Executable, error)
- func (inst *ExecutableDaoImpl) FindByName(name string) (*entity.Executable, error)
- func (inst *ExecutableDaoImpl) FindByPath(path string) (*entity.Executable, error)
- func (inst *ExecutableDaoImpl) Insert(o *entity.Executable) (*entity.Executable, error)
- func (inst *ExecutableDaoImpl) ListAll() ([]*entity.Executable, error)
- func (inst *ExecutableDaoImpl) Remove(id dxo.ExecutableID) error
- func (inst *ExecutableDaoImpl) Update(id dxo.ExecutableID, o1 *entity.Executable) (*entity.Executable, error)
- type ExecutableImportController
- type ExecutableImportServiceImpl
- func (inst *ExecutableImportServiceImpl) ImportPresets(ctx context.Context) error
- func (inst *ExecutableImportServiceImpl) Locate(ctx context.Context, o1 *vo.ExecutableImport) (*vo.ExecutableImport, error)
- func (inst *ExecutableImportServiceImpl) Save(ctx context.Context, o1 *vo.ExecutableImport) (*vo.ExecutableImport, error)
- type ExecutableServiceImpl
- func (inst *ExecutableServiceImpl) Find(ctx context.Context, id dxo.ExecutableID, opt *service.ExecutableOptions) (*dto.Executable, error)
- func (inst *ExecutableServiceImpl) FindByName(ctx context.Context, name string, opt *service.ExecutableOptions) (*dto.Executable, error)
- func (inst *ExecutableServiceImpl) FindByPath(ctx context.Context, path string, opt *service.ExecutableOptions) (*dto.Executable, error)
- func (inst *ExecutableServiceImpl) Insert(ctx context.Context, o1 *dto.Executable, opt *service.ExecutableOptions) (*dto.Executable, error)
- func (inst *ExecutableServiceImpl) ListAll(ctx context.Context, opt *service.ExecutableOptions) ([]*dto.Executable, error)
- func (inst *ExecutableServiceImpl) Remove(ctx context.Context, id dxo.ExecutableID, opt *service.ExecutableOptions) error
- func (inst *ExecutableServiceImpl) Update(ctx context.Context, id dxo.ExecutableID, o1 *dto.Executable, ...) (*dto.Executable, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutableController ¶
type ExecutableController struct { markup.RestController `class:"rest-controller"` ExecutableService service.ExecutableService `inject:"#ExecutableService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
ExecutableController 仓库控制器
func (*ExecutableController) Init ¶
func (inst *ExecutableController) Init(ec glass.EngineConnection) error
Init 初始化
type ExecutableDaoImpl ¶
type ExecutableDaoImpl struct { markup.Component `id:"ExecutableDAO"` Agent dbagent.GormDBAgent `inject:"#GormDBAgent"` TrashService service.TrashService `inject:"#TrashService"` UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"` }
ExecutableDaoImpl ...
func (*ExecutableDaoImpl) Find ¶
func (inst *ExecutableDaoImpl) Find(id dxo.ExecutableID) (*entity.Executable, error)
Find ...
func (*ExecutableDaoImpl) FindByName ¶
func (inst *ExecutableDaoImpl) FindByName(name string) (*entity.Executable, error)
FindByName ...
func (*ExecutableDaoImpl) FindByPath ¶
func (inst *ExecutableDaoImpl) FindByPath(path string) (*entity.Executable, error)
FindByPath ...
func (*ExecutableDaoImpl) Insert ¶
func (inst *ExecutableDaoImpl) Insert(o *entity.Executable) (*entity.Executable, error)
Insert ...
func (*ExecutableDaoImpl) ListAll ¶
func (inst *ExecutableDaoImpl) ListAll() ([]*entity.Executable, error)
ListAll ...
func (*ExecutableDaoImpl) Remove ¶
func (inst *ExecutableDaoImpl) Remove(id dxo.ExecutableID) error
Remove ...
func (*ExecutableDaoImpl) Update ¶
func (inst *ExecutableDaoImpl) Update(id dxo.ExecutableID, o1 *entity.Executable) (*entity.Executable, error)
Update ...
type ExecutableImportController ¶
type ExecutableImportController struct { markup.RestController `class:"rest-controller"` ExecutableImportService service.ExecutableImportService `inject:"#ExecutableImportService"` Responder glass.MainResponder `inject:"#glass-main-responder"` }
ExecutableImportController 仓库控制器
func (*ExecutableImportController) Init ¶
func (inst *ExecutableImportController) Init(ec glass.EngineConnection) error
Init 初始化
type ExecutableImportServiceImpl ¶
type ExecutableImportServiceImpl struct { markup.Component `id:"ExecutableImportService"` AC application.Context `inject:"context"` ExecutableService service.ExecutableService `inject:"#ExecutableService"` FileSystemService service.FileSystemService `inject:"#FileSystemService"` PresetService service.PresetService `inject:"#PresetService"` }
ExecutableImportServiceImpl ...
func (*ExecutableImportServiceImpl) ImportPresets ¶
func (inst *ExecutableImportServiceImpl) ImportPresets(ctx context.Context) error
ImportPresets ...
func (*ExecutableImportServiceImpl) Locate ¶
func (inst *ExecutableImportServiceImpl) Locate(ctx context.Context, o1 *vo.ExecutableImport) (*vo.ExecutableImport, error)
Locate ...
func (*ExecutableImportServiceImpl) Save ¶
func (inst *ExecutableImportServiceImpl) Save(ctx context.Context, o1 *vo.ExecutableImport) (*vo.ExecutableImport, error)
Save ...
type ExecutableServiceImpl ¶
type ExecutableServiceImpl struct { markup.Component `id:"ExecutableService"` ExecutableDAO dao.ExecutableDAO `inject:"#ExecutableDAO"` FileSystemService service.FileSystemService `inject:"#FileSystemService"` LocationService service.LocationService `inject:"#LocationService"` }
ExecutableServiceImpl ...
func (*ExecutableServiceImpl) Find ¶
func (inst *ExecutableServiceImpl) Find(ctx context.Context, id dxo.ExecutableID, opt *service.ExecutableOptions) (*dto.Executable, error)
Find ...
func (*ExecutableServiceImpl) FindByName ¶
func (inst *ExecutableServiceImpl) FindByName(ctx context.Context, name string, opt *service.ExecutableOptions) (*dto.Executable, error)
FindByName ...
func (*ExecutableServiceImpl) FindByPath ¶
func (inst *ExecutableServiceImpl) FindByPath(ctx context.Context, path string, opt *service.ExecutableOptions) (*dto.Executable, error)
FindByPath ...
func (*ExecutableServiceImpl) Insert ¶
func (inst *ExecutableServiceImpl) Insert(ctx context.Context, o1 *dto.Executable, opt *service.ExecutableOptions) (*dto.Executable, error)
Insert ...
func (*ExecutableServiceImpl) ListAll ¶
func (inst *ExecutableServiceImpl) ListAll(ctx context.Context, opt *service.ExecutableOptions) ([]*dto.Executable, error)
ListAll ...
func (*ExecutableServiceImpl) Remove ¶
func (inst *ExecutableServiceImpl) Remove(ctx context.Context, id dxo.ExecutableID, opt *service.ExecutableOptions) error
Remove ...
func (*ExecutableServiceImpl) Update ¶
func (inst *ExecutableServiceImpl) Update(ctx context.Context, id dxo.ExecutableID, o1 *dto.Executable, opt *service.ExecutableOptions) (*dto.Executable, error)
Update ...
Click to show internal directories.
Click to hide internal directories.