diff options
| author | Bobby <[email protected]> | 2026-02-06 15:55:04 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2026-02-06 15:55:04 +0530 |
| commit | 8cb229a3bc07387067ca76a34c05b44ff7a3039a (patch) | |
| tree | ce30b2c9cde158487e0909019c043ce5f9cddcbb /types/task_manager.go | |
| parent | 4300955f9d90dae98c5503b3bab88a5a22dd5bba (diff) | |
| download | metachan-8cb229a3bc07387067ca76a34c05b44ff7a3039a.tar.xz metachan-8cb229a3bc07387067ca76a34c05b44ff7a3039a.zip | |
Refactor TVDBAuthResponse to use TMDBAuthData for token management; remove Task and TaskStatus types
Diffstat (limited to 'types/task_manager.go')
| -rw-r--r-- | types/task_manager.go | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/types/task_manager.go b/types/task_manager.go deleted file mode 100644 index 9ce6e56..0000000 --- a/types/task_manager.go +++ /dev/null @@ -1,20 +0,0 @@ -package types - -import ( - "time" -) - -type Task struct { - Name string - Interval time.Duration - Execute func() error - LastRun time.Time - Dependencies []string // List of task names that must complete before this task runs -} - -type TaskStatus struct { - Registered bool - Running bool - LastRun *time.Time - NextRun *time.Time -} |
