Documentation ¶
Index ¶
Constants ¶
View Source
const ( BalanceTCP = "tcp" BalanceHTTP = "http" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Balancer ¶
type Balancer struct {
// contains filtered or unexported fields
}
func Init ¶
func Init(listenSpec string, config BalancerConfig) *Balancer
func (*Balancer) BalanceHTTP ¶
func (*Balancer) BalanceTCP ¶
type BalancerConfig ¶
type TLSBalancerConfig ¶
Click to show internal directories.
Click to hide internal directories.