umputun / reproxy

Simple edge server / reverse proxy
http://reproxy.io
MIT License
1.21k stars 90 forks source link

make LBSelector interface and implement all the current methods plus roundrobin #167

Closed umputun closed 7 months ago

umputun commented 7 months ago

implements #158

It wraps LBSelector into an interface with implementation of random, roundrobin and failover. It also provides a functional adapter to make other strategies easily.