package
0.0.0-20250218190523-b123c3ebbebe
Repository: https://github.com/paulwaldo/building-microservices-with-go.git
Documentation: pkg.go.dev

# Functions

NewLoadBalancer creates a new loadbalancer and setting the given strategy.

# Structs

LoadBalancer is returns endpoints for downstream calls.
RandomStrategy implements Strategy for random endopoint selection.

# Interfaces

Strategy is an interface to be implemented by loadbalancing strategies like round robin or random.