Tags: golang-queue/queue
Tags
docs: clarify and expand documentation across core subsystems - Improve and clarify documentation for errors, options, logger, metric, ring buffer, and thread management throughout the codebase - Expand comments to explain default behaviors, thread safety, and usage examples for queue configuration and job options - Add detailed descriptions of buffer resizing, shutdown, and task handling logic in the ring buffer implementation - Enhance logger and metric interfaces with usage guidance and method explanations - Document thread management utilities for goroutine lifecycle control Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
feat: implement listener for asynchronous notifications in queue (#146) - Add `notify` channel to `Queue` - Notify worker in the `queue` function without blocking the main thread - Add case to listen for `notify` channel in the `start` function Signed-off-by: appleboy <appleboy.tw@gmail.com>
refactor: rename `core.QueuedMessage` to `core.TaskMessage` throughou… …t codebase - Rename `core.QueuedMessage` to `core.TaskMessage` in the `work` function - Rename `core.QueuedMessage` to `core.TaskMessage` in the `run` function - Rename `core.QueuedMessage` to `core.TaskMessage` in the `tasks` channel initialization Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
docs: improve code documentation and comments across functions - Remove redundant comments for `NewTask` and `Encode` functions - Add detailed comments for `Decode` function, including parameters and return values Signed-off-by: appleboy <appleboy.tw@gmail.com>
ci: update GoReleaser and GitHub Actions configurations - Replace `go-version-file` and `check-latest` with `go-version` in GitHub Actions workflow - Remove `project_name` from GoReleaser config - Change `skip` to `disable` in GoReleaser changelog config - Change `use` from `git` to `github` in GoReleaser changelog config - Update regular expressions for changelog titles in GoReleaser config - Add new changelog categories: `Refactor`, `Build process updates`, and `Documentation updates` - Remove `filters` section from GoReleaser config Signed-off-by: appleboy <appleboy.tw@gmail.com>
PreviousNext