Documentation
¶
Index ¶
- func HandleInstall(uninstall bool) error
- type SystemdConfig
- type TaskManager
- func (tm *TaskManager) CreateTask(chore bool, nonWork bool, toil bool, description string) error
- func (tm *TaskManager) GenerateReport() error
- func (tm *TaskManager) GetStatus(quiet bool, notify bool) error
- func (tm *TaskManager) ListTasks(limit int) error
- func (tm *TaskManager) StopCurrentTask() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleInstall ¶ added in v0.3.1
Types ¶
type SystemdConfig ¶ added in v1.0.2
type SystemdConfig struct { SystemdUserConfigDir string StopService systemd.ServiceConfig NotificationService systemd.ServiceConfig NotificationTimer systemd.ServiceConfig }
SystemdConfig holds systemd service configuration
type TaskManager ¶ added in v1.0.2
type TaskManager struct {
// contains filtered or unexported fields
}
TaskManager handles operations related to task management
func NewTaskManager ¶ added in v1.0.2
func NewTaskManager(databasePath string) *TaskManager
NewTaskManager creates a new TaskManager instance
func (*TaskManager) CreateTask ¶ added in v1.0.2
func (*TaskManager) GenerateReport ¶ added in v1.0.2
func (tm *TaskManager) GenerateReport() error
func (*TaskManager) GetStatus ¶ added in v1.0.2
func (tm *TaskManager) GetStatus(quiet bool, notify bool) error
func (*TaskManager) ListTasks ¶ added in v1.0.2
func (tm *TaskManager) ListTasks(limit int) error
func (*TaskManager) StopCurrentTask ¶ added in v1.0.2
func (tm *TaskManager) StopCurrentTask() error
Click to show internal directories.
Click to hide internal directories.