Versions in this module Expand all Collapse all v0 v0.1.0 Nov 1, 2026 Changes in this version + func Attempt(ctx context.Context, handler Handler, payload []byte) (error, bool) + func Process(ctx context.Context, delivery Delivery, name string, payload []byte, ...) (error, error) + type Classification struct + Decode func(error) (error, bool) + Permanent func(error) bool + Rejected func(error) bool + RetryAfter func(error) (time.Duration, bool) + Unknown func(string) error + type Delivery interface + Acknowledge func(context.Context) error + Fail func(context.Context, error) error + Reject func(context.Context) error + Retry func(context.Context, time.Duration) error + type Handler struct + Attempts int + Backoff func(int) time.Duration + Run func(context.Context, []byte) error + Timeout time.Duration + type Notifications struct + Failed func(context.Context, error) + Rejected func(context.Context, error) + Retried func(context.Context, time.Duration, error) + RetryAttempts func() int + TimedOut func(context.Context)