Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/syahrulbhudif/gotasker
GoTasker is a Go library for background task processing. Im lazy, cause i wrote this
https://github.com/syahrulbhudif/gotasker
golang
Last synced: 20 days ago
JSON representation
GoTasker is a Go library for background task processing. Im lazy, cause i wrote this
- Host: GitHub
- URL: https://github.com/syahrulbhudif/gotasker
- Owner: SyahrulBhudiF
- Created: 2024-12-17T17:15:52.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-12-17T18:44:47.000Z (24 days ago)
- Last Synced: 2024-12-17T19:37:39.460Z (24 days ago)
- Topics: golang
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GoTasker
GoTasker is a Go library for background task processing, providing a simple and efficient way to manage task execution
asynchronously using goroutines, Redis for task queuing, and logging with Logrus. It supports task cancellation and
timeout features, and provides an easy-to-use function-based API for registering and executing tasks.> **Note**: This project is still under development and may not be suitable for production use. Please use it at your
> own risk.> **Reason**: Im lazy to use the existing library, so I create my own library.
## Features
- **Concurrency**: Utilizes Go's goroutines to handle multiple tasks in parallel.
- **Timeout and Cancellation**: Supports cancellation and timeout using context.
- **Redis Integration**: Uses Redis as a task queue for handling background tasks.
- **Logging**: Integrated with [Logrus](https://github.com/sirupsen/logrus) for structured logging.
- **Modular**: Easily extendable for adding more features or custom task handlers.## Installation
To use **GoTasker** in your Go project, run the following command:
```bash
go get github.com/SyahrulBhudiF/GoTasker