init push

This commit is contained in:
2026-05-21 19:52:45 +08:00
commit e3f75311ab
1280 changed files with 179173 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
package captcha
import gocap "github.com/ackcoder/go-cap"
type Captcha struct {
*gocap.Cap
}
func NewCaptcha() *Captcha {
return &Captcha{
Cap: gocap.New(
gocap.WithChallenge(50, 32, 3),
gocap.WithChallengeExpires(60*2),
gocap.WithTokenExpires(60*5),
),
}
}