package
0.0.4
Repository: https://github.com/donetkit/contrib_cache.git
Documentation: pkg.go.dev

# Functions

Bytes converts string to byte slice.
DeleteContext delete value in cache.
GenerateRandomNumber 生成count(默认为end)个[start,end)结束的不重复的随机数.
GetContext get value from cache.
GetLocalIp 获取本地IP.
GetOutBoundIp 获取本地外网IP.
IsExistContext check value exists in cache.
Join concatenates the elements of its first argument to create a single string.
RandAllString 生成随机字符串([a~zA~Z0~9]) lenNum 长度 */.
RandNumString 生成随机数字字符串([0~9]) lenNum 长度 */.
RandString 生成随机字符串(a~zA~Z]) lenNum 长度 */.
SetContext set value to cache.
String converts byte slice to string.

# Variables

No description provided by the author

# Interfaces

ContextCache interface.
No description provided by the author
No description provided by the author
WorkCache interface.