balancer

package
v0.59.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2017 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