Versions in this module Expand all Collapse all v0 v0.1.3 Apr 29, 2026 Changes in this version + type ConnectionsServerInfo struct + Connections int + Healthy bool + Index int + type LeastConnections struct + func NewLeastConnections() *LeastConnections + func (r *LeastConnections) Next(servers []server.Server) (int, error) + type ResourceBased struct + func NewResourceBased() *ResourceBased + func (r *ResourceBased) Next(servers []server.Server) (int, error) + type ResourceServerInfo struct + CPUUsage float64 + Healthy bool + Index int + type RoundRobin struct + func NewRoundRobin() *RoundRobin + func (r *RoundRobin) Next(servers []server.Server) (int, error) + type WeightedRoundRobin struct + func NewWeightedRoundRobin() *WeightedRoundRobin + func (r *WeightedRoundRobin) Next(servers []server.Server) (int, error)