Documentation ¶
Index ¶
- func ConsistentHashLoadBalance(sessions *sync.Map, xid string) getty.Session
- func LeastActiveLoadBalance(sessions *sync.Map, xid string) getty.Session
- func RandomLoadBalance(sessions *sync.Map, xid string) getty.Session
- func RoundRobinLoadBalance(sessions *sync.Map, s string) getty.Session
- func Select(loadBalanceType string, sessions *sync.Map, xid string) getty.Session
- func XidLoadBalance(sessions *sync.Map, xid string) getty.Session
- type Consistent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeastActiveLoadBalance ¶
Types ¶
type Consistent ¶
Click to show internal directories.
Click to hide internal directories.