Documentation ¶
Index ¶
- Constants
- type AboutServiceImpl
- type AppDataServiceImpl
- func (inst *AppDataServiceImpl) GetAppDataDirectory() string
- func (inst *AppDataServiceImpl) GetBackupDumpDirectory() string
- func (inst *AppDataServiceImpl) GetBackupExecutableFile(sum util.Hex) string
- func (inst *AppDataServiceImpl) GetMainRepositoryPath() string
- func (inst *AppDataServiceImpl) GetSQLiteDBFile() string
- func (inst *AppDataServiceImpl) Ready() bool
- func (inst *AppDataServiceImpl) Setup() error
- type ExampleServiceImpl
- func (inst *ExampleServiceImpl) Find(ctx context.Context, id dxo.ExampleID) (*dto.Example, error)
- func (inst *ExampleServiceImpl) Insert(ctx context.Context, o *dto.Example) (*dto.Example, error)
- func (inst *ExampleServiceImpl) ListAll(ctx context.Context) ([]*dto.Example, error)
- func (inst *ExampleServiceImpl) Remove(ctx context.Context, id dxo.ExampleID) error
- func (inst *ExampleServiceImpl) Update(ctx context.Context, id dxo.ExampleID, o *dto.Example) (*dto.Example, error)
- type FileQueryServiceImpl
- type FileSystemServiceImpl
- type UUIDGenServiceImpl
Constants ¶
View Source
const ( AppDataFileDB = "wpm.db" AppDataMainGit = "main/.git" AppDataBackupDumpDir = "backups/dumps" AppDataBackupExeDir = "backups/executables" )
定义 app-data 文件名
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AboutServiceImpl ¶ added in v0.0.7
type AboutServiceImpl struct { markup.Component `id:"AboutService"` Profile string `inject:"${application.profiles.active}"` Name string `inject:"${application.about.name}"` Title string `inject:"${application.about.title}"` Copyright string `inject:"${application.about.copyright}"` ServerPort int `inject:"${server.port}"` EnableDebug bool `inject:"${wpm.options.debug}"` PlatformService service.PlatformService `inject:"#PlatformService"` ProfileService service.ProfileService `inject:"#ProfileService"` AppRuntimeService service.AppRuntimeService `inject:"#AppRuntimeService"` }
AboutServiceImpl ...
func (*AboutServiceImpl) IsDebug ¶ added in v0.1.1
func (inst *AboutServiceImpl) IsDebug() bool
IsDebug ...
func (*AboutServiceImpl) IsRelease ¶ added in v0.1.1
func (inst *AboutServiceImpl) IsRelease() bool
IsRelease ...
type AppDataServiceImpl ¶
type AppDataServiceImpl struct { markup.Component `id:"AppDataService"` ProfileService service.ProfileService `inject:"#ProfileService"` AppRuntimeService service.AppRuntimeService `inject:"#AppRuntimeService"` FS service.FileSystemService `inject:"#FileSystemService"` DatabaseName string `inject:"${datasource.wpm.database}"` // contains filtered or unexported fields }
AppDataServiceImpl ...
func (*AppDataServiceImpl) GetAppDataDirectory ¶
func (inst *AppDataServiceImpl) GetAppDataDirectory() string
GetAppDataDirectory 。。。
func (*AppDataServiceImpl) GetBackupDumpDirectory ¶ added in v0.1.1
func (inst *AppDataServiceImpl) GetBackupDumpDirectory() string
GetBackupDumpDirectory 。。。
func (*AppDataServiceImpl) GetBackupExecutableFile ¶ added in v0.1.1
func (inst *AppDataServiceImpl) GetBackupExecutableFile(sum util.Hex) string
GetBackupExecutableFile ...
func (*AppDataServiceImpl) GetMainRepositoryPath ¶
func (inst *AppDataServiceImpl) GetMainRepositoryPath() string
GetMainRepositoryPath ...
func (*AppDataServiceImpl) GetSQLiteDBFile ¶
func (inst *AppDataServiceImpl) GetSQLiteDBFile() string
GetSQLiteDBFile ...
type ExampleServiceImpl ¶
ExampleServiceImpl ...
type FileQueryServiceImpl ¶ added in v0.0.7
type FileQueryServiceImpl struct { markup.Component `id:"FileQueryService"` HandlerRegistryList []filequery.HandlerRegistry `inject:".filequery-handler-registry"` // contains filtered or unexported fields }
FileQueryServiceImpl ...
type FileSystemServiceImpl ¶ added in v0.0.12
type FileSystemServiceImpl struct { markup.Component `id:"FileSystemService"` // contains filtered or unexported fields }
FileSystemServiceImpl ...
func (*FileSystemServiceImpl) FS ¶ added in v0.0.12
func (inst *FileSystemServiceImpl) FS() afs.FS
FS ...
type UUIDGenServiceImpl ¶
type UUIDGenServiceImpl struct { markup.Component `id:"UUIDGenService" initMethod:"Init"` // contains filtered or unexported fields }
UUIDGenServiceImpl ...
func (*UUIDGenServiceImpl) GenerateUUID ¶
func (inst *UUIDGenServiceImpl) GenerateUUID(seed string) dxo.UUID
GenerateUUID ...
Click to show internal directories.
Click to hide internal directories.