{"id":21658268,"url":"https://github.com/bitly/go-hostpool","last_synced_at":"2025-07-17T21:30:40.468Z","repository":{"id":5494746,"uuid":"6693280","full_name":"bitly/go-hostpool","owner":"bitly","description":"Intelligently and flexibly pool among multiple hosts from your Go application","archived":false,"fork":false,"pushed_at":"2020-12-16T15:39:34.000Z","size":41,"stargazers_count":376,"open_issues_count":3,"forks_count":53,"subscribers_count":30,"default_branch":"master","last_synced_at":"2024-06-18T12:37:31.458Z","etag":null,"topics":["hostpool","loadbalancing"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-14T19:17:47.000Z","updated_at":"2024-01-13T20:23:46.000Z","dependencies_parsed_at":"2022-09-10T21:04:10.358Z","dependency_job_id":null,"html_url":"https://github.com/bitly/go-hostpool","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fgo-hostpool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fgo-hostpool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fgo-hostpool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fgo-hostpool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitly","download_url":"https://codeload.github.com/bitly/go-hostpool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226304518,"owners_count":17603610,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hostpool","loadbalancing"],"created_at":"2024-11-25T09:28:59.411Z","updated_at":"2024-11-25T09:29:03.397Z","avatar_url":"https://github.com/bitly.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"go-hostpool\n===========\n\n[![Build Status](https://secure.travis-ci.org/bitly/go-hostpool.png?branch=master)](http://travis-ci.org/bitly/go-hostpool) [![GoDoc](https://godoc.org/github.com/bitly/go-hostpool?status.svg)](https://godoc.org/github.com/bitly/go-hostpool) [![GitHub release](https://img.shields.io/github/release/bitly/go-hostpool.svg)](https://github.com/bitly/go-hostpool/releases/latest)\n\n\nA Go package to intelligently and flexibly pool among multiple hosts from your Go application.\nHost selection can operate in round robin or epsilon greedy mode, and unresponsive hosts are\navoided.\nUsage example:\n\n```go\nhp := hostpool.NewEpsilonGreedy([]string{\"a\", \"b\"}, 0, \u0026hostpool.LinearEpsilonValueCalculator{})\nhostResponse := hp.Get()\nhostname := hostResponse.Host()\nerr := _ // (make a request with hostname)\nhostResponse.Mark(err)\n```\n\nView more detailed documentation on [godoc.org](http://godoc.org/github.com/bitly/go-hostpool)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitly%2Fgo-hostpool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitly%2Fgo-hostpool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitly%2Fgo-hostpool/lists"}