weighted

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2015 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package weighted contains all weighted upstream balancing algorithm implementations.

Index

Constants

This section is empty.

Variables

View Source
var Algorithms = map[string]func() types.UpstreamBalancingAlgorithm{

	"ketama": func() types.UpstreamBalancingAlgorithm {
		return ketama.New()
	},

	"legacyketama": func() types.UpstreamBalancingAlgorithm {
		return legacyketama.New()
	},

	"random": func() types.UpstreamBalancingAlgorithm {
		return random.New()
	},

	"rendezvous": func() types.UpstreamBalancingAlgorithm {
		return rendezvous.New()
	},
}

Algorithms contains all weighted upstream balancing algorithm implementations.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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