contracts/captcha.go
2024-05-09 13:15:24 +08:00

10 lines
231 B
Go

package contracts
import "git.fsdpf.net/go/req"
type Captcha interface {
req.RouteMiddleware
Verify(answer string, clear bool) error
Generate(captchaUuid, recipient, ip string, u req.User) (body string, id int64, err error)
}