{"id":63517,"library":"chimeracoder-tokenbucket","title":"Token Bucket","description":"A token bucket rate limiting implementation in Go.","status":"active","version":"0.0.0-20131201223612-c5a927568de7","language":"go","source_language":null,"source_url":"https://github.com/ChimeraCoder/tokenbucket","tags":["rate-limiting","token-bucket","throttling"],"install":[{"cmd":"go get github.com/ChimeraCoder/tokenbucket","lang":"bash","label":"Install github.com/ChimeraCoder/tokenbucket"}],"dependencies":[],"imports":[{"symbol":"tokenbucket","correct":"github.com/ChimeraCoder/tokenbucket"}],"quickstart":{"code":"package main\n\nimport (\n\t\"fmt\"\n\t\"time\"\n\t\"github.com/ChimeraCoder/tokenbucket\"\n)\n\nfunc main() {\n\tbucket := tokenbucket.NewBucket(10*time.Second, 10)\n\tfmt.Println(bucket.TakeAvailable(1))\n}","lang":"go","description":"Creates a token bucket and takes one token."},"warnings":[],"env_vars":null,"search_vec":"'bucket':2,5,16 'go':10 'implement':8 'limit':7,13 'rate':6,12 'rate-limit':11 'throttl':17 'token':1,4,15 'token-bucket':14","created_at":"2026-06-17T16:44:53.929489+00:00","updated_at":"2026-06-17T16:44:53.929489+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/ChimeraCoder/tokenbucket","github":"https://github.com/ChimeraCoder/tokenbucket","docs":"https://pkg.go.dev/github.com/ChimeraCoder/tokenbucket#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}}