# Functions
数组 array 是否包含 val【reflect实现】
@param array 数组
@param val 数组元素
@return index 数组元素的索引
*/.
Middleware.CORS
*/.
example
*/.
生成 mac 地址 改成大写形式
*/.
No description provided by the author
心跳保活:每次接收到心跳数据就 SetDeadline 延长一个时间段 timeout。如果没有接到心跳数据,5秒后连接关闭。
*/.
心跳发送
*/.
id转化为ip, 例如:10064131001 -> 10.64.131.1.
整形数组 array 是否包含 val【for实现】
@param array 数组
@param val 数组元素
@return index 数组元素的索引
*/.
数组元素是否有序,升序
@param arr 待检查数组
@param length 数组长度
@return true 为是升序
*/.
No description provided by the author
参数非法校验.
参数是否为 float64 类型.
参数是否为 []interface{} 类型.
参数是否为 []string{} 类型.
参数是否为 map[string]interface{} 类型.
参数是否为 string 类型.
to int.
to string.
随机三位数.
随机四位数.
*
*生成随机字符
**/.
No description provided by the author
字符串数组 array 是否包含 val【for实现】
@param array 数组
@param val 数组元素
@return index 数组元素的索引
*/.
UCloudSign 根据一定规则对API请求体进行签名
将结构体的字段,按照 key 升序排序,组成字符串,拼接 privateKey 之后,做 SHA1 求摘要,作为签名
*/.
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
# Interfaces
weixin interface.