Categorygithub.com/bsm/grpclb
modulepackage
0.5.3
Repository: https://github.com/bsm/grpclb.git
Documentation: pkg.go.dev

# README

grpclb

Build Status GoDoc Gem Version License

External Load Balancing Service solution for gRPC written in Go. The approach follows the proposal outlined by the core gRPC team.

grpclb load-balancer provides a neutral API which can be integrated with various service discovery frameworks. An example service discovery implementation is provided for Consul.

Usage

Load Balancer

Please also see the bootstrap for Consul backed load-balancers as a reference for building load balancers. Either use the command directly or build your very own.

Server

Servers can optionally report load to the Load Balancer. An example:

See Documentation

Client

See Documentation

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Package grpclb_backend_v1 is a generated protocol buffer package.
Package grpclb_balancer_v1 is a generated protocol buffer package.
Package load include helpers for building grpclb compatible servers.

# Functions

NewResolver creates a naming resolver.
PickFirst returns a Balancer that always selects the first address returned from the Resolver.

# Structs

Options is the picker configuration.