client

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleInstall added in v0.3.1

func HandleInstall(uninstall bool) error

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 (tm *TaskManager) CreateTask(chore bool, nonWork bool, toil bool, description string) error

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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