package
1.2.0
Repository: https://github.com/sweet-go/stdlib.git
Documentation: pkg.go.dev

# Functions

DefaultHealtCheckFn is the default health check function for worker.
IsRateLimitError check if error is caused of rate limited.
NewClient create a new worker client.
NewServer creates a new worker server.
NewWorkerRateLimitError create new WorkerRateLimitError based on supplied interval.

# Variables

DefaultEnqueueTaskFailureHandler is the default enqueue task failure handler.
DefaultIsFailureCheckerFn check if the error is due to rate limitting.
DefaultQueue is the default queue for worker.
DefaultRetryDelayFn is the default retry delay function for worker.
list worker priority.
list worker priority.
list worker priority.

# Structs

WorkerRateLimitError is used to indicate that the task is error because rate limited.

# Interfaces

Client is the worker client.
Server is the worker server.

# Type aliases

Priority is worker priority.