executables

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 25 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"`
	TrashService   service.TrashService   `inject:"#TrashService"`
	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"`
	PresetService     service.PresetService     `inject:"#PresetService"`
}

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"`
	FileSystemService service.FileSystemService `inject:"#FileSystemService"`
	LocationService   service.LocationService   `inject:"#LocationService"`
}

ExecutableServiceImpl ...

func (*ExecutableServiceImpl) Find

Find ...

func (*ExecutableServiceImpl) FindByName

FindByName ...

func (*ExecutableServiceImpl) FindByPath

FindByPath ...

func (*ExecutableServiceImpl) Insert

Insert ...

func (*ExecutableServiceImpl) ListAll

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