Skip to content

Commit f6b97ed

Browse files
authored
doc: add Sunset middleware in readme (#893)
1 parent fcdb132 commit f6b97ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ with `net/http` can be used with chi's mux.
354354
| [RouteHeaders] | Route handling for request headers |
355355
| [SetHeader] | Short-hand middleware to set a response header key/value |
356356
| [StripSlashes] | Strip slashes on routing paths |
357+
| [Sunset] | Sunset set Deprecation/Sunset header to response |
357358
| [Throttle] | Puts a ceiling on the number of concurrent requests |
358359
| [Timeout] | Signals to the request context when the timeout deadline is reached |
359360
| [URLFormat] | Parse extension from url and put it on request context |
@@ -380,6 +381,7 @@ with `net/http` can be used with chi's mux.
380381
[RouteHeaders]: https://pkg.go.dev/github.com/go-chi/chi/middleware#RouteHeaders
381382
[SetHeader]: https://pkg.go.dev/github.com/go-chi/chi/middleware#SetHeader
382383
[StripSlashes]: https://pkg.go.dev/github.com/go-chi/chi/middleware#StripSlashes
384+
[Sunset]: https://pkg.go.dev/github.com/go-chi/chi/v5/middleware#Sunset
383385
[Throttle]: https://pkg.go.dev/github.com/go-chi/chi/middleware#Throttle
384386
[ThrottleBacklog]: https://pkg.go.dev/github.com/go-chi/chi/middleware#ThrottleBacklog
385387
[ThrottleWithOpts]: https://pkg.go.dev/github.com/go-chi/chi/middleware#ThrottleWithOpts

0 commit comments

Comments
 (0)