executables

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Index

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

Init 初始化

type ExecutableDaoImpl

type ExecutableDaoImpl struct {
	markup.Component `id:"ExecutableDAO"`

	Agent          dbagent.GormDBAgent    `inject:"#GormDBAgent"`
	UUIDGenService service.UUIDGenService `inject:"#UUIDGenService"`
}

ExecutableDaoImpl ...

func (*ExecutableDaoImpl) Find

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

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

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

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"`
}

ExecutableImportServiceImpl ...

func (*ExecutableImportServiceImpl) ImportPresets

func (inst *ExecutableImportServiceImpl) ImportPresets(ctx context.Context) error

ImportPresets ...

func (*ExecutableImportServiceImpl) Locate

Locate ...

func (*ExecutableImportServiceImpl) Save

Save ...

type ExecutableServiceImpl

type ExecutableServiceImpl struct {
	markup.Component `id:"ExecutableService"`

	ExecutableDAO     dao.ExecutableDAO         `inject:"#ExecutableDAO"`
	IconService       service.AppIconService    `inject:"#AppIconService"`
	FileSystemService service.FileSystemService `inject:"#FileSystemService"`
}

ExecutableServiceImpl ...

func (*ExecutableServiceImpl) Find

Find ...

func (*ExecutableServiceImpl) FindByName

func (inst *ExecutableServiceImpl) FindByName(ctx context.Context, name string) (*dto.Executable, error)

FindByName ...

func (*ExecutableServiceImpl) FindByPath

func (inst *ExecutableServiceImpl) FindByPath(ctx context.Context, path string) (*dto.Executable, error)

FindByPath ...

func (*ExecutableServiceImpl) Insert

Insert ...

func (*ExecutableServiceImpl) ListAll

func (inst *ExecutableServiceImpl) ListAll(ctx context.Context) ([]*dto.Executable, error)

ListAll ...

func (*ExecutableServiceImpl) Remove

Remove ...

func (*ExecutableServiceImpl) Update

Update ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL