[feat] 统一 Http 中间件命名
This commit is contained in:
parent
3f3d051c42
commit
8549266703
@ -7,7 +7,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Captcha interface {
|
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
|
Verify(id, answer string, clear bool) bool
|
||||||
Generate(captchaUuid string) (id, answer string)
|
Generate(captchaUuid string) (id, answer string)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user