Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
Balancer is the main data struct for the load balancer
func NewTest ¶
func NewTest(startVIP, toConnect net.IP, capacity, readTimeout, writeTimeout int) (*Balancer, error)
NewTest creates new Balancer with the testing flag on
func (*Balancer) WaitForUnlock ¶
func (b *Balancer) WaitForUnlock()
WaitForUnlock waits until the mutex lock is freed
Click to show internal directories.
Click to hide internal directories.