fiber/middleware
nickajacks1 97da409533
🎨 Style!: Update CSRF and Limiter to remove repetitive names (#2846)
chore!: Update CSRF and Limiter to remove repetitive names

The `exported` rule of revive warns to not repeat the package name in
method names. For example, prefer `csrf.FromCookie` over
`csrf.CsrfFromCookie`.

This is a breaking change for v3.

It appears that these issues will not be caught by the linter until the
`exported` rule is reenabled. This requires comments on all exported
symbols, which is a much broader effort.
2024-02-10 19:50:29 +01:00
..
adaptor ci: Update golangci-lint to v1.55.2 (#2817) 2024-01-30 09:53:17 +01:00
basicauth ♻️ v3: fix!: ContextKey collisions (#2781) 2024-01-04 09:44:45 +01:00
cache chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
compress chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
cors Merge branch 'master' into v3-beta 2023-11-07 20:22:31 +03:00
csrf 🎨 Style!: Update CSRF and Limiter to remove repetitive names (#2846) 2024-02-10 19:50:29 +01:00
earlydata ♻️ v3: fix!: ContextKey collisions (#2781) 2024-01-04 09:44:45 +01:00
encryptcookie Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
envvar chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
etag 🎨 Style: Clean up errcheck config 2024-02-09 12:23:59 -08:00
expvar Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
favicon chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
filesystem chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
helmet Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
idempotency ♻️ v3: fix!: ContextKey collisions (#2781) 2024-01-04 09:44:45 +01:00
keyauth chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
limiter 🎨 Style!: Update CSRF and Limiter to remove repetitive names (#2846) 2024-02-10 19:50:29 +01:00
logger ♻️ Refactor: Remove mutex lock in logger middleware (#2840) 2024-02-10 03:32:37 +03:00
pprof chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
proxy chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
recover chore: change interface{} to any (#2796) 2024-01-14 23:04:54 +03:00
redirect chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
requestid chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
rewrite chore: Fix testifylint errors in middleware (#2805) 2024-01-21 08:32:23 +01:00
session 🎨 Style: Clean up errcheck config 2024-02-09 12:23:59 -08:00
skip Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00
timeout Merge remote-tracking branch 'origin/master' into v3-beta 2023-08-05 22:02:01 +03:00