mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-23 21:54:42 -05:00
12 lines
265 B
Go
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"`
|
|
}
|