balancer

package
v0.92.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Scheme = "gitaly-ruby"

Scheme is the name of the address scheme that makes gRPC select this resolver.

Variables

This section is empty.

Functions

func AddAddress

func AddAddress(a string)

AddAddress adds the address of a gitaly-ruby instance to the load balancer.

func RemoveAddress

func RemoveAddress(addr string) bool

RemoveAddress removes the address of a gitaly-ruby instance from the load balancer. Returns false if the pool is too small to remove the address.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL