contracts/captcha.go
2024-01-30 17:48:30 +08:00

8 lines
192 B
Go

package contracts
type Captcha interface {
RouteMiddleware
Verify(answer string, clear bool) error
Generate(captchaUuid, recipient, ip string, u User) (body string, id int64, err error)
}