Documentation ¶
Index ¶
- type App
- func (t *App) BatchUploadFile() *internal.Response
- func (t *App) CheckFile(filepath string) error
- func (t *App) CopyFileUrl(fileUrl string) *internal.Response
- func (t *App) DeleteFile(filePath string) *internal.Response
- func (t *App) GetConfig() *internal.Response
- func (t *App) GetList() *internal.Response
- func (t *App) Menu() *menu.Menu
- func (t *App) OnBeforeClose(ctx context.Context) bool
- func (t *App) OnDomReady(ctx context.Context)
- func (t *App) OnShutdown(ctx context.Context)
- func (t *App) OnStartup(ctx context.Context)
- func (t *App) SetConfig(content string) *internal.Response
- func (t *App) SyncDatabase()
- func (t *App) UpdateFileName(filePath string, fileName string) *internal.Response
- func (t *App) Upload(filepath string, clis ...bool) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct { Ctx context.Context Log *logrus.Logger Git *internal.Git DB *gorm.DB CfgFile string LogFile string DBFile string }
App ...
func (*App) BatchUploadFile ¶ added in v0.1.0
BatchUploadFile ...
func (*App) CopyFileUrl ¶
CopyFileUrl 复制链接到粘贴板
func (*App) DeleteFile ¶
DeleteFile 删除文件
func (*App) OnBeforeClose ¶ added in v0.1.0
OnBeforeClose ...
func (*App) OnDomReady ¶ added in v0.1.0
OnDomReady ...
func (*App) OnShutdown ¶ added in v0.1.0
OnShutdown ...
func (*App) UpdateFileName ¶ added in v0.0.5
UpdateFileName 更新文件名称
Click to show internal directories.
Click to hide internal directories.