Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clock ¶
type Clock struct {
// contains filtered or unexported fields
}
Clock return items one by one
type Random ¶
type Random struct {
// contains filtered or unexported fields
}
Random return items randomally
type SWrr ¶
type SWrr struct {
// contains filtered or unexported fields
}
SWrr implemented smooth weighted round robin
type Selector ¶
type Selector interface { Name() string Add(weight int32, client resolver.DNSClient) Empty() bool Start() Get() *Item SetHealth(item *Item, score int32) }
Selector implemented round robins
Click to show internal directories.
Click to hide internal directories.