package
0.6.4
Repository: https://github.com/teaoslab/edgenode.git
Documentation: pkg.go.dev

# Packages

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

# Functions

CeilUnixTime 取整并加1.
CleanPath 清理Path中的多余的字符.
No description provided by the author
DumpResponse 导出响应.
EqualStrings 检查两个字符串slice内容是否一致.
Every 定时运行某个函数.
No description provided by the author
FloorUnixTime 取整.
FormatAddress format address.
FormatAddressList format address list.
No description provided by the author
GMTTime 计算GMT时间.
GMTUnixTime 计算GMT时间戳.
IP2Long 将IP转换为整型 注意IPv6没有顺序.
IsIPv4 是否为IPv4.
IsIPv6 是否为IPv6.
IsLocalIP 判断是否为本地IP.
ListenReuseAddr 监听可重用的端口.
LookupCNAME 获取CNAME.
No description provided by the author
MergePorts 聚合端口 返回 [ [fromPort, toPort], ..
No description provided by the author
NewBufferPool 创建新对象.
NewBytePool 创建新对象.
No description provided by the author
NewHTTPClient 获取一个新的Client.
获取对象.
NewTicker 创建新Ticker.
No description provided by the author
NextMinuteUnixTime 获取下一分钟开始的时间戳.
ParseAddrHost 分析地址中的主机名部分.
No description provided by the author
No description provided by the author
SetRLimit set resource limit.
SetSuitableRLimit set best resource limit value.
SharedHttpClient 获取一个公用的Client.
SimpleDecrypt 解密特殊信息.
No description provided by the author
SimpleEncrypt 加密特殊信息.
No description provided by the author
No description provided by the author
ToValidUTF8string 去除字符串中的非UTF-8字符.
UnixTime 最快获取时间戳的方式,通常用在不需要特别精确时间戳的场景.
UnixTimeMilli 获取时间戳,精确到毫秒.
No description provided by the author
UnsafeBytesToString convert bytes to string.
UnsafeStringToBytes convert string to bytes.
计算版本代号.

# Constants

No description provided by the author

# Variables

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

# Structs

No description provided by the author
BufferPool pool for get byte slice.
BytePool pool for get byte slice.
FreeHoursManager 计算节点空闲时间 以便于我们在空闲时间执行高强度的任务,如清理缓存等.
服务管理器.
Ticker 类似于time.Ticker,但能够真正地停止.
No description provided by the author