Documentation ¶
Index ¶
- func GetAppModule() application.Module
- func SetAppModule(m application.Module)
- type AboutService
- type AppDataService
- type AppIconService
- type ExampleService
- type ExecutableImportService
- type ExecutableService
- type FileQueryService
- type FileSystemService
- type IntentHandlerService
- type IntentService
- type IntentTemplateService
- type LocalRepositoryFinder
- type LocalRepositoryOptions
- type LocalRepositoryService
- type LocalRepositoryStateLoader
- type MainRepositoryService
- type MediaService
- type PlatformProvider
- type PlatformProviderRegistration
- type PlatformProviderRegistry
- type PlatformService
- type ProfileService
- type ProjectImportService
- type ProjectService
- type RemoteRepositoryService
- type RepositoryImportService
- type UUIDGenService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AboutService ¶ added in v0.0.7
AboutService ...
type AppDataService ¶
type AppDataService interface { GetAppDataDirectory() string GetSQLiteDBFile() string GetMainRepositoryPath() string Ready() bool Setup() error }
AppDataService ...
type AppIconService ¶
type AppIconService interface {
FillWithIconURL(o1 *dto.Executable) error
}
AppIconService ...
type ExampleService ¶
type ExampleService interface { Find(ctx context.Context, id dxo.ExampleID) (*dto.Example, error) ListAll(ctx context.Context) ([]*dto.Example, error) Insert(ctx context.Context, o *dto.Example) (*dto.Example, error) Update(ctx context.Context, id dxo.ExampleID, o *dto.Example) (*dto.Example, error) Remove(ctx context.Context, id dxo.ExampleID) error }
ExampleService ...
type ExecutableImportService ¶
type ExecutableImportService interface { Save(ctx context.Context, o *vo.ExecutableImport) (*vo.ExecutableImport, error) Locate(ctx context.Context, o *vo.ExecutableImport) (*vo.ExecutableImport, error) }
ExecutableImportService ...
type ExecutableService ¶
type ExecutableService interface { Find(ctx context.Context, id dxo.ExecutableID) (*dto.Executable, error) FindByPath(ctx context.Context, path string) (*dto.Executable, error) ListAll(ctx context.Context) ([]*dto.Executable, error) Insert(ctx context.Context, o *dto.Executable) (*dto.Executable, error) Update(ctx context.Context, id dxo.ExecutableID, o *dto.Executable) (*dto.Executable, error) Remove(ctx context.Context, id dxo.ExecutableID) error }
ExecutableService ...
type FileQueryService ¶ added in v0.0.7
type FileQueryService interface {
Query(ctx context.Context, q *vo.FileQuery) (*vo.FileQuery, error)
}
FileQueryService ...
type FileSystemService ¶ added in v0.0.12
FileSystemService ...
type IntentHandlerService ¶
IntentHandlerService ...
type IntentService ¶
IntentService ...
type IntentTemplateService ¶
type IntentTemplateService interface { Find(ctx context.Context, id dxo.IntentTemplateID) (*dto.IntentTemplate, error) ListAll(ctx context.Context) ([]*dto.IntentTemplate, error) Insert(ctx context.Context, o *dto.IntentTemplate) (*dto.IntentTemplate, error) Update(ctx context.Context, id dxo.IntentTemplateID, o *dto.IntentTemplate) (*dto.IntentTemplate, error) Remove(ctx context.Context, id dxo.IntentTemplateID) error }
IntentTemplateService ...
type LocalRepositoryFinder ¶
type LocalRepositoryFinder interface { Search(ctx context.Context, path string, depthLimit int) ([]*dto.LocalRepository, error) Locate(ctx context.Context, path string) (*dto.LocalRepository, error) }
LocalRepositoryFinder 。。。
type LocalRepositoryOptions ¶ added in v0.0.12
type LocalRepositoryOptions struct { WithFileState bool WithGitStatus bool WithProjects bool All bool }
LocalRepositoryOptions ...
type LocalRepositoryService ¶
type LocalRepositoryService interface { Find(ctx context.Context, id dxo.LocalRepositoryID, opt *LocalRepositoryOptions) (*dto.LocalRepository, error) FindByName(ctx context.Context, name string, opt *LocalRepositoryOptions) (*dto.LocalRepository, error) ListAll(ctx context.Context, opt *LocalRepositoryOptions) ([]*dto.LocalRepository, error) ListByIds(ctx context.Context, ids []dxo.LocalRepositoryID, opt *LocalRepositoryOptions) ([]*dto.LocalRepository, error) Insert(ctx context.Context, o *dto.LocalRepository) (*dto.LocalRepository, error) Update(ctx context.Context, id dxo.LocalRepositoryID, o *dto.LocalRepository) (*dto.LocalRepository, error) Remove(ctx context.Context, id dxo.LocalRepositoryID) error ConvertEntityToDto(e *entity.LocalRepository) (*dto.LocalRepository, error) ConvertDtoToEntity(e *dto.LocalRepository) (*entity.LocalRepository, error) }
LocalRepositoryService ...
type LocalRepositoryStateLoader ¶
type LocalRepositoryStateLoader interface {
LoadState(ctx context.Context, repo *dto.LocalRepository) error
}
LocalRepositoryStateLoader 。。。
type MainRepositoryService ¶
type MainRepositoryService interface { GetInfo(ctx context.Context) (*dto.MainRepository, error) GetRepository(ctx context.Context) (store.Repository, error) }
MainRepositoryService ...
type MediaService ¶
type MediaService interface { Find(ctx context.Context, id dxo.MediaID) (*dto.Media, error) FindByPath(ctx context.Context, path string) (*dto.Media, error) PrepareForDownload(ctx context.Context, me *dto.Media) (*dto.Media, error) ListAll(ctx context.Context) ([]*dto.Media, error) Insert(ctx context.Context, o *dto.Media) (*dto.Media, error) Update(ctx context.Context, id dxo.MediaID, o *dto.Media) (*dto.Media, error) Remove(ctx context.Context, id dxo.MediaID) error }
MediaService ...
type PlatformProvider ¶
PlatformProvider ...
type PlatformProviderRegistration ¶
type PlatformProviderRegistration struct {
Provider PlatformProvider
}
PlatformProviderRegistration ...
type PlatformProviderRegistry ¶
type PlatformProviderRegistry interface {
GetRegistration() *PlatformProviderRegistration
}
PlatformProviderRegistry ...
type PlatformService ¶
type PlatformService interface { GetPlatform() (*dto.Platform, error) GetProvider() (PlatformProvider, error) }
PlatformService ...
type ProfileService ¶
ProfileService ...
type ProjectImportService ¶
type ProjectImportService interface { Find(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error) FindOrLocate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error) Locate(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error) Save(ctx context.Context, o *vo.ProjectImport) (*vo.ProjectImport, error) }
ProjectImportService ...
type ProjectService ¶
type ProjectService interface { Find(ctx context.Context, id dxo.ProjectID) (*dto.Project, error) FindByOwnerRepository(ctx context.Context, id dxo.LocalRepositoryID) ([]*dto.Project, error) ListAll(ctx context.Context) ([]*dto.Project, error) Insert(ctx context.Context, o *dto.Project) (*dto.Project, error) Update(ctx context.Context, id dxo.ProjectID, o *dto.Project) (*dto.Project, error) Remove(ctx context.Context, id dxo.ProjectID) error }
ProjectService ...
type RemoteRepositoryService ¶
type RemoteRepositoryService interface { Find(ctx context.Context, id dxo.RemoteRepositoryID) (*dto.RemoteRepository, error) FindByName(ctx context.Context, name string) (*dto.RemoteRepository, error) ListAll(ctx context.Context) ([]*dto.RemoteRepository, error) Insert(ctx context.Context, o *dto.RemoteRepository) (*dto.RemoteRepository, error) Update(ctx context.Context, id dxo.RemoteRepositoryID, o *dto.RemoteRepository) (*dto.RemoteRepository, error) Remove(ctx context.Context, id dxo.RemoteRepositoryID) error }
RemoteRepositoryService ...
type RepositoryImportService ¶
type RepositoryImportService interface { Find(ctx context.Context, o *vo.RepositoryImport) (*vo.RepositoryImport, error) Locate(ctx context.Context, o *vo.RepositoryImport) (*vo.RepositoryImport, error) FindOrLocate(ctx context.Context, o *vo.RepositoryImport) (*vo.RepositoryImport, error) Save(ctx context.Context, o *vo.RepositoryImport) (*vo.RepositoryImport, error) }
RepositoryImportService ...
type UUIDGenService ¶
UUIDGenService ...
Source Files ¶
Click to show internal directories.
Click to hide internal directories.