Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentInstallingApps ¶
func GetCurrentInstallingApps() []model.InstalledApp
func RefreshDeviceApps ¶ added in v0.3.0
func ReloadTask ¶
func ReloadTask() error
func RunInstallApp ¶
func RunInstallApp(v model.InstalledApp)
func ScheduleRefreshApps ¶
func ScheduleRefreshApps() error
Types ¶
type Task ¶
type Task struct {
InstallingApps sync.Map
InstallAppQueue chan TaskItem
InvalidAccounts map[string]bool
// RefreshingDevices prevents concurrent refresh operations for the same device UDID
RefreshingDevices sync.Map
// contains filtered or unexported fields
}
func (*Task) RunSchedule ¶
func (*Task) StartInstallApp ¶
func (t *Task) StartInstallApp(v model.InstalledApp)
type TaskItem ¶ added in v0.3.0
type TaskItem struct {
App model.InstalledApp
Notify bool
}
Click to show internal directories.
Click to hide internal directories.