mirror of
https://github.com/snowykami/neo-blog.git
synced 2025-09-03 15:56:22 +00:00
13 lines
232 B
Go
13 lines
232 B
Go
package middleware
|
|
|
|
import (
|
|
"context"
|
|
"github.com/cloudwego/hertz/pkg/app"
|
|
)
|
|
|
|
func UseCaptcha() app.HandlerFunc {
|
|
return func(ctx context.Context, c *app.RequestContext) {
|
|
// TODO: Implement captcha validation logic here
|
|
}
|
|
}
|