Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-28 20:56:11 +01:00
forgejo/vendor/github.com/go-chi/chi/middleware
Lunny Xiao 15a475b7db
Fix recovery middleware to render gitea style page. (#13857)
* Some changes to fix recovery

* Move Recovery to middlewares

* Remove trace code

* Fix lint

* add session middleware and remove dependent on macaron for sso

* Fix panic 500 page rendering

* Fix bugs

* Fix fmt

* Fix vendor

* recover unnecessary change

* Fix lint and addd some comments about the copied codes.

* Use util.StatDir instead of com.StatDir

Co-authored-by: 6543 <6543@obermui.de>
2021-01-05 21:05:40 +08:00
..
basic_auth.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
clean_path.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
compress.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
content_charset.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
content_encoding.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
content_type.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
get_head.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
heartbeat.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
logger.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
middleware.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
nocache.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
profiler.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
realip.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
recoverer.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
request_id.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
route_headers.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
strip.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
terminal.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
throttle.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
timeout.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
url_format.go Fix recovery middleware to render gitea style page. (#13857) 2021-01-05 21:05:40 +08:00
value.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00
wrap_writer.go Introduce go chi web framework as frontend of macaron, so that we can move routes from macaron to chi step by step (#7420) 2020-11-13 14:51:07 +02:00