[feat] 统一 Http 中间件命名

This commit is contained in:
what 2024-01-29 17:26:16 +08:00
parent 3f3d051c42
commit 8549266703

View File

@ -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)
}