| 12345678910111213141516171819202122 |
- // Code scaffolded by goctl. Safe to edit.
- // goctl 1.10.0
- package middleware
- import "net/http"
- type ProductLoginRateLimitMiddleware struct {
- }
- func NewProductLoginRateLimitMiddleware() *ProductLoginRateLimitMiddleware {
- return &ProductLoginRateLimitMiddleware{}
- }
- func (m *ProductLoginRateLimitMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc {
- return func(w http.ResponseWriter, r *http.Request) {
- // TODO generate middleware implement function, delete after code implementation
- // Passthrough to next handler if need
- next(w, r)
- }
- }
|