balancer

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLBRoundRobin

func GetLBRoundRobin(name string, defaultHost string) string

GetLBRoundRobin - Returns backend server using RoundRobin algorithm.

func InitRoundRobin

func InitRoundRobin(name string, endpoints []string)

InitRoundRobin - Initialise the LB algorithm for round robin.

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