1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-24 11:14:41 -05:00
sub2clash/validator/short_link.go
nitezs 2339b7d256 feat: 增加重复节点检测
feat: 增加节点名称字符串替换
feat: 增加节点删除
feat: 增加短链密码设定
modify: 修改模板解析逻辑
2023-09-22 23:43:26 +08:00

12 lines
265 B
Go

package validator
type ShortLinkGenValidator struct {
Url string `form:"url" binding:"required"`
Password string `form:"password"`
}
type ShortLinkGetValidator struct {
Hash string `form:"hash" binding:"required"`
Password string `form:"password"`
}