Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func URIAuth ¶
URIAuth 视频URL签名 uri URL链接 rand 算法,默认为0 uid 用户ID,默认为0 key 用户签名key,不可公开,不可为空 exp 过期时间戳, 单位秒
func URIAuthCheck ¶
URIAuthCheck 验证签名串是否合法 uri URL链接 key 用户签名key,不可公开, 不可为空
func URIAuthParse ¶
URIAuthParse 从URL中提取出 path & args
func URIPathAuth ¶ added in v1.0.2
URIPathAuth 直接计算PATH签名 path like: /live/test, 已 / 开头 key 用户签名key,不可公开, 不可为空
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.