package
0.0.0-20240821223603-da046c24767f
Repository: https://github.com/sinderpl/asynctaskprocessor.git
Documentation: pkg.go.dev

# Functions

CreateTask creates and validates a task with the supplied options and converts the data to the concrete implementation.
WithBackoffTime sets created by user id.
WithCreatedBy *Required* sets created by user id.
WithPayload sets created by user id.
WithPriority sets tasks processing priority.
WithType *Required* sets task type.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

CPUProcess simulates CPU processing time.
GenerateReport simulates generating a report.
SendEmail simulates sending a email.
No description provided by the author

# Interfaces

Processable interface is implemented by each task allowing us to implement custom processing logic easier there is also a validate method to validate parameters after parsing from the requests.

# Type aliases

CurrentStatus enum describing current state of the task.
ExecutionPriority enum describing execution priority of the task.
TypeOf enum describing supported type of report.