diff --git a/captcha.go b/captcha.go index 70c0636..c56a841 100644 --- a/captcha.go +++ b/captcha.go @@ -7,7 +7,7 @@ import ( ) type Captcha interface { - Middleware(container *do.Injector) func(next http.Handler) http.Handler + HttpMiddleware(container *do.Injector) func(next http.Handler) http.Handler Verify(id, answer string, clear bool) bool Generate(captchaUuid string) (id, answer string) }