[feat] 统一 Http 中间件命名
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user