def

package
v2.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dispatch

type Dispatch string

无状态路由消息分发策略

const (
	Random             Dispatch = "random" // 随机
	RoundRobin         Dispatch = "rr"     // 轮询
	WeightedRoundRobin Dispatch = "wrr"    // 加权轮询
	ConsistentHash     Dispatch = "ch"     // 一致性哈希分发
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL