retry

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 15, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package retry is the Stage-1 namespace for retry-queue types in package engine. See ../REFACTOR_PLAN.md.

New code in hawk should import this package instead of reaching into engine for retry symbols. Implementation will move here in Stage 2.

Note: hawk also has a top-level `github.com/GrayCodeAI/hawk/retry` package for low-level HTTP/transport retry. This sub-package is specifically the engine's higher-level retry queue (work items deferred for later attempt).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item = engine.RetryItem

Item is a single deferred work item awaiting retry.

type Queue

type Queue = engine.RetryQueue

Queue is the FIFO of pending retry items with backoff and dedup.

func NewQueue

func NewQueue() *Queue

NewQueue returns an empty retry queue with default backoff settings.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL