package
1.1.8
Repository: https://github.com/ibuilding-x/driver-box.git
Documentation: pkg.go.dev

# Functions

NewClient 创建新的client.
WitchHandler 配置handler.
WitchPanicHandle 发生panic回调,主要用于调试.
WitchRetryRandValue 单位ms 默认随机值上限,它影响当超时请求入ready队列时, 当队列满,会启动一个随机时间rand.Intn(v)*1ms 延迟入队 用于需要重试的延迟重试时间.
WithReadyQueueSize 就绪队列长度.

# Constants

DefaultRandValue 单位ms 默认随机值上限,它影响当超时请求入ready队列时, 当队列满,会启动一个随机时间rand.Intn(v)*1ms 延迟入队 用于需要重试的延迟重试时间.
DefaultReadyQueuesLength 默认就绪列表长度.

# Structs

Client 客户端.
No description provided by the author
Request 请求.
Result 某个请求的结果与参数.

# Interfaces

Handler 处理函数.

# Type aliases

Option 可选项.