Documentation
¶
Index ¶
- func AddApp(app applicationInterface)
- func BeforeClose(ctx context.Context) bool
- func GetApps() []applicationInterface
- func Shutdown(ctx context.Context)
- func Startup(ctx context.Context)
- type ConfigApp
- func (app *ConfigApp) Close(ctx context.Context)
- func (app *ConfigApp) GetAllValues() (map[string]string, error)
- func (app *ConfigApp) GetConfigValue(key string) (string, error)
- func (app *ConfigApp) PutAllValues(values map[string]string) error
- func (app *ConfigApp) PutConfigValue(key, value string) error
- func (app *ConfigApp) Shutdown(ctx context.Context)
- func (app *ConfigApp) Startup(ctx context.Context)
- type FileApp
- func (app *FileApp) Close(ctx context.Context)
- func (app *FileApp) DeletefileByPath(path string)
- func (app *FileApp) GetAllDir() []*fileutil.Dir
- func (app *FileApp) GetByRootpath(rootpath string) []*fileutil.Dir
- func (app *FileApp) GetByRootpaths() []*RootpathInfo
- func (app *FileApp) OpenDirectoryDialog() string
- func (app *FileApp) OpenfileByPath(path string)
- func (app *FileApp) RemoveAll2Trash(path string)
- func (app *FileApp) Shutdown(ctx context.Context)
- func (app *FileApp) Startup(ctx context.Context)
- type RootpathInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeforeClose ¶
Types ¶
type ConfigApp ¶
type ConfigApp struct {
// contains filtered or unexported fields
}
func NewConfigApp ¶
func NewConfigApp() *ConfigApp
func (*ConfigApp) PutConfigValue ¶
type FileApp ¶
type FileApp struct {
// contains filtered or unexported fields
}
func (*FileApp) DeletefileByPath ¶
func (*FileApp) GetByRootpaths ¶
func (app *FileApp) GetByRootpaths() []*RootpathInfo
func (*FileApp) OpenDirectoryDialog ¶
func (*FileApp) OpenfileByPath ¶
func (*FileApp) RemoveAll2Trash ¶
type RootpathInfo ¶
Click to show internal directories.
Click to hide internal directories.