package
0.0.0-20241205014208-4aab7561cadd
Repository: https://github.com/luke-goddard/taskninja.git
Documentation: pkg.go.dev

# Functions

CompleteTaskById is an event that is used to complete a task by its ID.
DecodeDecreasePriorityEvent will decode the event to decrease the priority of a task.
DecodeDeleteTaskByIdEvent will decode the event to delete a task by its ID.
DecodeErrorEvent will decode the event to report an error.
DecodeIncreasePriorityEvent will decode the event to increase the priority of a task.
DecodeListTasksEvent will decode the event to list all tasks.
DecodeListTasksResponseEvent will decode the event to list all tasks response.
DecodeRunProgramEvent will decode the event to run a program.
DecodeSetPriorityEvent will decode the event to set the priority of a task.
DecodeStartTaskByIdEvent will decode the event to start a task by its ID.
DecodeStartTaskEvent will decode the event to start a new task.
DecodeStopTaskByIdEvent will decode the event to stop a task by its ID.
DecodeTableFuzzySearch will decode the event to search a table by a fuzzy search.
NewCompleteEvent will create a new event to complete a task by its ID.
NewDecreasePriorityEvent will create a new event to decrease the priority of a task.
DeleteTaskById is an event that is used to delete a task by its ID.
NewErrorEvent will create a new event that is used to report an error.
NewIncreasePriorityEvent will create a new event to increase the priority of a task.
NewListTasksEvent will create a new event to list all tasks.
NewListTasksResponse will create a new event to list all tasks response.
NewRunProgramEvent will create a new event to run a program.
NewSetPriorityEvent will create a new event to set the priority of a task.
NewStartTaskByIdEvent will create a new event to start a task by its ID.
Used to start a new task.
NewStopTaskByIdEvent will create a new event to stop a task by its ID.
NewTableFuzzySearch will create a new event to search a table by a fuzzy search.

# Constants

Mark a task as complete.
Decrease the priority of a task.
Delete a task.
Error event.
Increase the priority of a task.
List tasks responses to be consumed by the UI.
ListTasks event.
RunProgram e.g 'add task'.
Set the priority of a task.
Start a task.
Stop a task.
Fuzzy search for a task.

# Structs

CompleteTaskById is an event that is used to complete a task by its ID.
DecreasePriority is an event to decrease the priority of a task.
DeleteTaskById is an event that is used to delete a task by its ID.
No description provided by the author
IncreasePriority is an event to increase the priority of a task.
ListTasks is an event to list all tasks.
ListTasksResponse is the response to list all tasks event.
EventRunProgram is the event type for running a program e.g "add 'task'".
No description provided by the author
No description provided by the author
StartTaskById is an event that starts a task by its ID.
StopTaskById is an event that stops a task by its ID.
TableFuzzySearch Is an event that is used to search a table by a fuzzy search.

# Interfaces

Subscriber is an interface that must be implemented by any subscriber.

# Type aliases

No description provided by the author