Documentation ¶
Index ¶
Constants ¶
View Source
const RandomPort = 0
Variables ¶
Functions ¶
func ResetLoadBalancer ¶ added in v1.21.9
ResetLoadBalancer will delete the local state file for the load balacner on disk
Types ¶
type LoadBalancer ¶
type LoadBalancer struct { ServerURL string ServerAddresses []string Listener net.Listener // contains filtered or unexported fields }
func (*LoadBalancer) LoadBalancerServerURL ¶
func (lb *LoadBalancer) LoadBalancerServerURL() string
func (*LoadBalancer) Update ¶
func (lb *LoadBalancer) Update(serverAddresses []string)
Click to show internal directories.
Click to hide internal directories.