1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-25 03:14:41 -05:00
sub2clash/validator/short_link.go

12 lines
265 B
Go
Raw Normal View History

2023-09-17 03:52:37 -04:00
package validator
type ShortLinkGenValidator struct {
Url string `form:"url" binding:"required"`
Password string `form:"password"`
2023-09-17 03:52:37 -04:00
}
type ShortLinkGetValidator struct {
Hash string `form:"hash" binding:"required"`
Password string `form:"password"`
2023-09-17 03:52:37 -04:00
}