Documentation
¶
Index ¶
Constants ¶
View Source
const RandomPort = 0
Variables ¶
Functions ¶
func ResetLoadBalancer ¶
ResetLoadBalancer will delete the local state file for the load balancer 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) SetDefault ¶
func (lb *LoadBalancer) SetDefault(serverAddress string)
func (*LoadBalancer) Update ¶
func (lb *LoadBalancer) Update(serverAddresses []string)
Click to show internal directories.
Click to hide internal directories.