package
0.0.0-20240921075318-a8c716a2f2d8
Repository: https://github.com/8xmx8/easier.git
Documentation: pkg.go.dev
# Functions
base64解码.
base64编码.
判断一个string切片是否包含某个子字符串.
MD5.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetDayInterval 获取当前毫秒时间戳所在天的开始和结束shike.
No description provided by the author
No description provided by the author
No description provided by the author
根据时间获得毫秒级时间戳.
No description provided by the author
IsIPv4 判断地址为IPv4.
IsIPv6 判断地址为IPv6.
No description provided by the author
JudgeNetProtocol 裁决ip字符串类型.
No description provided by the author
Marshal 更加小的序列化.
MatchRootDomain 匹配根域名.
MillisToTime 毫秒数据戳转time.
NewPool 实例化预分配协程池.
NewStringSet 新建集合对象.
解析时间, 如果解析错误, 返回"当前时间".
No description provided by the author
No description provided by the author
No description provided by the author
设置Protocol.
No description provided by the author
TrimProtocol消除Protocol.
No description provided by the author
UnsafeToString []byte to string 无需额外空间.
WithProtocol 含协议字符串.
# Constants
IPv6.
IPv4.
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
No description provided by the author
0.
1.
2.IPv6.
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
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
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
No description provided by the author
No description provided by the author
# Variables
WithExpiryDuration 设置清理协程的时间间隔.
WithLogger 自定义logger.
WithPanicHandler 自定义panic处理逻辑.
# Structs
No description provided by the author
StringSet 定义一个string的set 用来做字符串的"交并补"操作.
# Interfaces
No description provided by the author