package
0.0.0-20241128134039-f99744f1e241
Repository: https://github.com/starmoonzhao/go_gateway.git
Documentation: pkg.go.dev

# Functions

获取指定策略的负载均衡器.
获取指定策略的负载均衡器 同时根据传入配置初始化负载均衡器.
哈希负载均衡器生成.
默认构造器.
默认构造器.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

哈希连续的负载均衡器.
负载均衡可用服务配置:用于主动探测服务活性 实现LoadBalance、Observer接口.
负载均衡可用服务配置:用于zk服务注册查看服务活性 实现LoadBalance、Observer接口.
随机策略的负载均衡器.
轮询策略的负载均衡器.
权重节点.
权重轮询的负载均衡器.

# Interfaces

负载均衡器.
配置主体接口.
观察者接口:负载均衡器会实现该接口中的Update方法 LoadBalance作为观察者嵌入LoadBalanceConf对象中,当LoadBalanceConf配置发生变化时调用Update方法使LoadBalance同步配置.

# Type aliases

hash函数.
定义负载均衡器的策略 作为负载均衡器的工厂类生成对应策略的负载均衡器.
No description provided by the author