Documentation ¶
Index ¶
Constants ¶
View Source
const ( TypeWR = "wr" TypeWrr = "wrr" TypeDwrr = "dwrr" TypeP2C = "p2c" TypeICMP = "icmp" )
Variables ¶
This section is empty.
Functions ¶
func ExtractAddress ¶
func GenerateAddress ¶
Types ¶
type HandleInfo ¶
type Node ¶
type Node interface { Address() string Weight() int Meta() Meta Statistics() Statistics }
type Statistics ¶
Directories ¶
Path | Synopsis |
---|---|
dwrr is Dynamic Weighted Round Robin
|
dwrr is Dynamic Weighted Round Robin |
icmp is load balance by ping rtt
|
icmp is load balance by ping rtt |
p2c is reference https://exceting.github.io/2020/08/13/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1-P2C%E7%AE%97%E6%B3%95/
|
p2c is reference https://exceting.github.io/2020/08/13/%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1-P2C%E7%AE%97%E6%B3%95/ |
wr is Weighted random
|
wr is Weighted random |
wrr is Weighted Round Robin reference Nginx https://blog.csdn.net/zhangskd/article/details/50194069
|
wrr is Weighted Round Robin reference Nginx https://blog.csdn.net/zhangskd/article/details/50194069 |
Click to show internal directories.
Click to hide internal directories.