Skip to content

Commit

Permalink
feat: remove RateLimiter
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Aug 11, 2023
1 parent fe775fe commit bdc55fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 94 deletions.
62 changes: 0 additions & 62 deletions http/limit/limit.go

This file was deleted.

29 changes: 0 additions & 29 deletions http/rate_limiter.go

This file was deleted.

3 changes: 0 additions & 3 deletions http/service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ type ServiceProvider struct {
}

func (http *ServiceProvider) Register(app foundation.Application) {
app.Singleton(Binding, func(app foundation.Application) (any, error) {
return NewRateLimiter(), nil
})
}

func (http *ServiceProvider) Boot(app foundation.Application) {
Expand Down

0 comments on commit bdc55fe

Please sign in to comment.