An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.6% on proxy.golang.org
Top 4.8% dependent repos on proxy.golang.org
Top 6.4% forks on proxy.golang.org

proxy.golang.org : github.com/olivere/balancers

Copyright (c) 2014-2015 Oliver Eilhard. All rights reserved. Use of this source code is governed by the MIT license. See LICENSE file for details. Copyright (c) 2014-2015 Oliver Eilhard. All rights reserved. Use of this source code is governed by the MIT license. See LICENSE file for details. Copyright (c) 2014-2015 Oliver Eilhard. All rights reserved. Use of this source code is governed by the MIT license. See LICENSE file for details. Copyright (c) 2014-2015 Oliver Eilhard. All rights reserved. Use of this source code is governed by the MIT license. See LICENSE file for details. Package balancers provides implementations of HTTP load-balancers. It has two key interfaces: A Balancer is the implementation of a load-balancer that chooses from a set of Connections. You can e.g. use the balancer from the roundrobin package to rewrite HTTP requests and use URLs from a given set of HTTP connections. Suppose you have a cluster of two servers (on two different URLs) and you want to load-balance between the two in a round-robin fashion, you can use code like this: Copyright (c) 2014-2015 Oliver Eilhard. All rights reserved. Use of this source code is governed by the MIT license. See LICENSE file for details. Most of the code here is taken from the Google OAuth2 client library at https://github.com/golang/oauth2, especially https://github.com/golang/oauth2/blob/master/transport.go.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/olivere/balancers
License: MIT
Latest release: over 6 years ago
First release: over 7 years ago
Namespace: github.com/olivere
Dependent repositories: 1
Stars: 52 on GitHub
Forks: 10 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/olivere
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...