package
0.1.6
Repository: https://github.com/trainking/goboot.git
Documentation: pkg.go.dev

# Functions

NewClient 从配置信息中创建client.
NewSpinLock 创建一个重试锁.
NewStringCache new一个StringCache,codec 默认使用.

# Variables

No description provided by the author
DefaultSpinMutexConfig 默认一份自旋锁配置.

# Structs

SpinLock 自旋锁.
SpinMutexConfig 自旋锁配置 * Retry 定义锁重试次数,到达次数还无法获得锁,则抛出retry to out * Sleep 每次重试后,阻塞时间,建议不要太长 * Timout 持有锁的最长时间,即每次事务最长执行时间.
No description provided by the author

# Interfaces

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

# Type aliases

No description provided by the author