Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentInstallingApps ¶
func GetCurrentInstallingApps() []model.InstalledApp
func RefreshApp ¶ added in v0.3.1
func RefreshApp(v model.InstalledApp)
func RefreshDeviceApps ¶ added in v0.3.0
func ReloadTask ¶
func ReloadTask() error
func ScheduleRefreshApps ¶
func ScheduleRefreshApps() error
Types ¶
type BatchInfo ¶ added in v0.3.4
type BatchInfo struct {
ID string
TotalCount int
SuccessCount int
FailedApps []FailedAppInfo
Notify bool
}
type FailedAppInfo ¶ added in v0.3.4
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) StartInstallApps ¶ added in v0.3.3
func (t *Task) StartInstallApps(apps []model.InstalledApp, notify bool)
Click to show internal directories.
Click to hide internal directories.