contracts/captcha.go

8 lines
192 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 17:48:30 +08:00
Verify(answer string, clear bool) error
2024-01-30 11:13:06 +08:00
Generate(captchaUuid, recipient, ip string, u User) (body string, id int64, err error)
2024-01-29 17:24:51 +08:00
}