contracts/captcha.go

8 lines
202 B
Go
Raw Normal View History

2024-01-29 17:24:51 +08:00
package contracts
type Captcha interface {
2024-01-30 16:50:17 +08:00
RouteMiddleware
2024-01-30 11:13:06 +08:00
Verify(id int64, answer string, clear bool) error
Generate(captchaUuid, recipient, ip string, u User) (body string, id int64, err error)
2024-01-29 17:24:51 +08:00
}