{"id":75098,"library":"cenkalti-backoff-v2","title":"Cenkalti Backoff v2","description":"Package backoff implements backoff algorithms for retrying operations.","status":"active","version":"2.2.1","language":"go","source_language":null,"source_url":null,"tags":["backoff","retry","exponential","utility"],"install":[{"cmd":"go get gopkg.in/cenkalti/backoff.v2","lang":"bash","label":"Install gopkg.in/cenkalti/backoff.v2"}],"dependencies":[],"imports":[{"symbol":"backoff","correct":"gopkg.in/cenkalti/backoff.v2"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\t\"gopkg.in/cenkalti/backoff.v2\"\n)\n\nfunc main() {\n\tb := backoff.NewExponentialBackOff()\n\tfmt.Println(b.NextBackOff())\n}","lang":"go","description":"Creates an exponential backoff and gets the next backoff duration."},"warnings":[],"env_vars":null,"search_vec":"'algorithm':8 'backoff':2,5,7,12 'cenkalti':1 'exponenti':14 'implement':6 'oper':11 'packag':4 'retri':10,13 'util':15 'v2':3","created_at":"2026-06-17T19:12:24.699804+00:00","updated_at":"2026-06-17T19:12:24.699804+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/cenkalti/backoff","github":null,"docs":"https://pkg.go.dev/gopkg.in/cenkalti/backoff.v2#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-17","next_check":"2026-12-14","install_tag":null}}