{"id":52428,"library":"cenk-backoff","title":"Backoff","description":"Package backoff implements backoff algorithms for retrying operations.","status":"active","version":"2.2.1+incompatible","language":"go","source_language":null,"source_url":"https://github.com/cenk/backoff","tags":["backoff","retry","exponential"],"install":[{"cmd":"go get github.com/cenk/backoff","lang":"bash","label":"Install github.com/cenk/backoff"}],"dependencies":[],"imports":[{"symbol":"backoff","correct":"github.com/cenk/backoff"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\t\"github.com/cenk/backoff\"\n)\n\nfunc main() {\n\tb := backoff.NewExponentialBackOff()\n\tfmt.Println(b.NextBackOff())\n}","lang":"go","description":"Create an exponential backoff timer and get the next backoff duration."},"warnings":[{"fix":"Use the v3 version or consider using cenkalti/backoff which is actively maintained.","message":"The latest version is tagged as incompatible with Go modules (v2.2.1+incompatible).","severity":"gotcha","affected_versions":">=2.0.0"}],"env_vars":null,"search_vec":"'algorithm':6 'backoff':1,3,5,10 'exponenti':12 'implement':4 'oper':9 'packag':2 'retri':8,11","created_at":"2026-06-15T06:53:56.832812+00:00","updated_at":"2026-06-15T06:53:56.832812+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/cenk/backoff","github":"https://github.com/cenk/backoff","docs":"https://pkg.go.dev/github.com/cenk/backoff#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}