balancer

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: MulanPSL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Random

func Random(services []*registry.Service) selector.Next

Random is a random strategy algorithm for node selection

func RoundRobin

func RoundRobin(services []*reg.Service) selector.Next

RoundRobin is a roundrobin strategy algorithm for node selection

Types

This section is empty.

Jump to

Keyboard shortcuts

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