package
2.3.0+incompatible
Repository: https://github.com/artalkjs/artalkgo.git
Documentation: pkg.go.dev

# Functions

操作限制 中间件.
No description provided by the author
允许的评论.
No description provided by the author
No description provided by the author
No description provided by the author
检测 Origin 合法性 防止跨域的 CSRF 攻击 @see https://cheatsheetseries.owasp.org/cheatsheets/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html.
评论搜索.
No description provided by the author
评论计数.
销毁图片验证码.
AlwaysMode 是否能 Pass (for 总是需要验证码的选项).
No description provided by the author
No description provided by the author
获取评论查询实例.
#region 图片验证码 获取对应 IP 图片验证码正确的值.
判断 Origin 是否被允许 origin is 'schema://hostname:port', allowURLs is a collection of url strings.
No description provided by the author
No description provided by the author
No description provided by the author
获取新验证码 base64 格式图片.
排序规则.
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
重置操作记录.
RespData is just response data.
RespError is just response error.
RespJSON is normal json result.
RespSuccess is just response success.
根评论 Root comments.
No description provided by the author
No description provided by the author
设置 AlwaysMode 允许 Pass (for 总是需要验证码的选项).
No description provided by the author
站点隔离.
站点隔离 & Origin 控制.
处理来自配置文件的 fronted 配置项.
No description provided by the author
No description provided by the author

# Variables

验证码 5 分钟内有效.
图片目录路由重写路径.
不启用 Origin 控制的 API paths.

# Structs

No description provided by the author
JSONResult JSON 响应数据结构.
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
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
No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author