task

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentInstallingApps

func GetCurrentInstallingApps() []model.InstalledApp

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 model.InstalledApp

	InvalidAccounts map[string]bool
	// contains filtered or unexported fields
}

func (*Task) Run

func (t *Task) Run()

func (*Task) RunSchedule

func (t *Task) RunSchedule() error

func (*Task) Start

func (t *Task) Start()

func (*Task) StartInstallApp

func (t *Task) StartInstallApp(v model.InstalledApp)

func (*Task) Stop

func (t *Task) Stop()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL