Skip to content

Commit

Permalink
fix: move middleware to gin-contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkgos committed May 12, 2023
1 parent 8673c16 commit ea9a691
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 58 deletions.
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ require (
github.com/gin-gonic/gin v1.9.0
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/stretchr/testify v1.8.2
github.com/things-go/limiter v0.0.3
github.com/things-go/x v0.1.1
go.uber.org/zap v1.24.0
golang.org/x/exp v0.0.0-20230321023759-10a507213a29
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8=
github.com/stretchr/testify v1.8.2/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/things-go/limiter v0.0.3 h1:j5FdBLrxpGW8GMStdIaguzVROAlAOREOgLI90tbt01k=
github.com/things-go/limiter v0.0.3/go.mod h1:btGJUDvtenYwWdzXGas3guQpDlffHCS710KuQfzWakM=
github.com/things-go/x v0.1.1 h1:wuKa3p/KliaD+HugTG64czjaOHakd36FGLN5ZjOngGQ=
github.com/things-go/x v0.1.1/go.mod h1:GURI7Q7v27OqDkuOXUc6BFl0FCzF7JEcfciDl70u6Vw=
github.com/twitchyliquid64/golang-asm v0.15.1 h1:SU5vSMR7hnwNxj24w34ZyCi/FmDZTkS4MhqMhdFk5YI=
Expand Down
23 changes: 0 additions & 23 deletions middleware/max_bytes.go

This file was deleted.

32 changes: 0 additions & 32 deletions middleware/max_conns.go

This file was deleted.

0 comments on commit ea9a691

Please sign in to comment.