package
1.0.2
Repository: https://github.com/pangj520/hello.git
Documentation: pkg.go.dev

# Functions

连接redis.
创建一个redis分布式锁输入: client: redis客户端 lockName: 锁名称 expire: 锁超时时间,默认为3s输出: 锁实例指针,如果client为nil或lockName为空,返回nil.

# 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

# Structs

封装redis结构体,建议直接使用Client操作redis.
redis配置.
No description provided by the author
No description provided by the author

# Type aliases

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