Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LeastConnStrategy ¶
type LeastConnStrategy struct {
// contains filtered or unexported fields
}
func (*LeastConnStrategy) Next ¶
func (r *LeastConnStrategy) Next() *model.Worker
func (*LeastConnStrategy) SetPool ¶
func (r *LeastConnStrategy) SetPool(pool *model.Pool)
type LoadBalancingStrategy ¶
type RoundRobinStrategy ¶
type RoundRobinStrategy struct {
// contains filtered or unexported fields
}
func (*RoundRobinStrategy) Next ¶
func (r *RoundRobinStrategy) Next() *model.Worker
func (*RoundRobinStrategy) SetPool ¶
func (r *RoundRobinStrategy) SetPool(pool *model.Pool)
Click to show internal directories.
Click to hide internal directories.