From 8f380d78f68f7f0c631d8f256b5b4f5a419daf50 Mon Sep 17 00:00:00 2001 From: slowwwkiss Date: Fri, 27 Nov 2026 11:37:22 +0700 Subject: [PATCH 1/3] docs: add generated API reference for echo v5 (static/sourcey/) (1/3) --- site/public/sourcey/.sourcey-output.json | 1 + site/public/sourcey/404.html | 24 + .../assets/search-worker-Dzc2-hN_.js | 1 + .../sourcey-lang-icons.css | 10 + .../6aeb69527308be7393c5/sourcey-search.js | 66 + .../6aeb69527308be7393c5/sourcey-theme.js | 41 + .../_assets/6aeb69527308be7393c5/sourcey.css | 3 + .../_assets/6aeb69527308be7393c5/sourcey.js | 1 + .../sourcey/_media/43114fe24090c8f73273.svg | 1 + .../_search/0bfca08a1bf98646e44b/c0.json | 1 + .../_search/0bfca08a1bf98646e44b/c1.json | 1 + .../_search/0bfca08a1bf98646e44b/c10.json | 1 + .../_search/0bfca08a1bf98646e44b/c11.json | 1 + .../_search/0bfca08a1bf98646e44b/c12.json | 1 + .../_search/0bfca08a1bf98646e44b/c13.json | 1 + .../_search/0bfca08a1bf98646e44b/c14.json | 1 + .../_search/0bfca08a1bf98646e44b/c15.json | 1 + .../_search/0bfca08a1bf98646e44b/c16.json | 1 + .../_search/0bfca08a1bf98646e44b/c17.json | 1 + .../_search/0bfca08a1bf98646e44b/c18.json | 1 + .../_search/0bfca08a1bf98646e44b/c19.json | 1 + .../_search/0bfca08a1bf98646e44b/c2.json | 1 + .../_search/0bfca08a1bf98646e44b/c20.json | 1 + .../_search/0bfca08a1bf98646e44b/c21.json | 1 + .../_search/0bfca08a1bf98646e44b/c22.json | 1 + .../_search/0bfca08a1bf98646e44b/c23.json | 1 + .../_search/0bfca08a1bf98646e44b/c24.json | 1 + .../_search/0bfca08a1bf98646e44b/c25.json | 1 + .../_search/0bfca08a1bf98646e44b/c26.json | 1 + .../_search/0bfca08a1bf98646e44b/c27.json | 1 + .../_search/0bfca08a1bf98646e44b/c28.json | 1 + .../_search/0bfca08a1bf98646e44b/c29.json | 1 + .../_search/0bfca08a1bf98646e44b/c3.json | 1 + .../_search/0bfca08a1bf98646e44b/c30.json | 1 + .../_search/0bfca08a1bf98646e44b/c31.json | 1 + .../_search/0bfca08a1bf98646e44b/c32.json | 1 + .../_search/0bfca08a1bf98646e44b/c33.json | 1 + .../_search/0bfca08a1bf98646e44b/c34.json | 1 + .../_search/0bfca08a1bf98646e44b/c35.json | 1 + .../_search/0bfca08a1bf98646e44b/c36.json | 1 + .../_search/0bfca08a1bf98646e44b/c37.json | 1 + .../_search/0bfca08a1bf98646e44b/c38.json | 1 + .../_search/0bfca08a1bf98646e44b/c39.json | 1 + .../_search/0bfca08a1bf98646e44b/c4.json | 1 + .../_search/0bfca08a1bf98646e44b/c40.json | 1 + .../_search/0bfca08a1bf98646e44b/c41.json | 1 + .../_search/0bfca08a1bf98646e44b/c42.json | 1 + .../_search/0bfca08a1bf98646e44b/c43.json | 1 + .../_search/0bfca08a1bf98646e44b/c5.json | 1 + .../_search/0bfca08a1bf98646e44b/c6.json | 1 + .../_search/0bfca08a1bf98646e44b/c7.json | 1 + .../_search/0bfca08a1bf98646e44b/c8.json | 1 + .../_search/0bfca08a1bf98646e44b/c9.json | 1 + .../_search/0bfca08a1bf98646e44b/f0.json | 1 + .../_search/0bfca08a1bf98646e44b/f1.json | 1 + .../_search/0bfca08a1bf98646e44b/f10.json | 1 + .../_search/0bfca08a1bf98646e44b/f11.json | 1 + .../_search/0bfca08a1bf98646e44b/f12.json | 1 + .../_search/0bfca08a1bf98646e44b/f13.json | 1 + .../_search/0bfca08a1bf98646e44b/f14.json | 1 + .../_search/0bfca08a1bf98646e44b/f15.json | 1 + .../_search/0bfca08a1bf98646e44b/f16.json | 1 + .../_search/0bfca08a1bf98646e44b/f17.json | 1 + .../_search/0bfca08a1bf98646e44b/f18.json | 1 + .../_search/0bfca08a1bf98646e44b/f19.json | 1 + .../_search/0bfca08a1bf98646e44b/f2.json | 1 + .../_search/0bfca08a1bf98646e44b/f20.json | 1 + .../_search/0bfca08a1bf98646e44b/f21.json | 1 + .../_search/0bfca08a1bf98646e44b/f22.json | 1 + .../_search/0bfca08a1bf98646e44b/f23.json | 1 + .../_search/0bfca08a1bf98646e44b/f24.json | 1 + .../_search/0bfca08a1bf98646e44b/f25.json | 1 + .../_search/0bfca08a1bf98646e44b/f26.json | 1 + .../_search/0bfca08a1bf98646e44b/f27.json | 1 + .../_search/0bfca08a1bf98646e44b/f28.json | 1 + .../_search/0bfca08a1bf98646e44b/f29.json | 1 + .../_search/0bfca08a1bf98646e44b/f3.json | 1 + .../_search/0bfca08a1bf98646e44b/f30.json | 1 + .../_search/0bfca08a1bf98646e44b/f31.json | 1 + .../_search/0bfca08a1bf98646e44b/f32.json | 1 + .../_search/0bfca08a1bf98646e44b/f33.json | 1 + .../_search/0bfca08a1bf98646e44b/f34.json | 1 + .../_search/0bfca08a1bf98646e44b/f35.json | 1 + .../_search/0bfca08a1bf98646e44b/f36.json | 1 + .../_search/0bfca08a1bf98646e44b/f37.json | 1 + .../_search/0bfca08a1bf98646e44b/f38.json | 1 + .../_search/0bfca08a1bf98646e44b/f39.json | 1 + .../_search/0bfca08a1bf98646e44b/f4.json | 1 + .../_search/0bfca08a1bf98646e44b/f40.json | 1 + .../_search/0bfca08a1bf98646e44b/f41.json | 1 + .../_search/0bfca08a1bf98646e44b/f42.json | 1 + .../_search/0bfca08a1bf98646e44b/f43.json | 1 + .../_search/0bfca08a1bf98646e44b/f44.json | 1 + .../_search/0bfca08a1bf98646e44b/f45.json | 1 + .../_search/0bfca08a1bf98646e44b/f46.json | 1 + .../_search/0bfca08a1bf98646e44b/f47.json | 1 + .../_search/0bfca08a1bf98646e44b/f48.json | 1 + .../_search/0bfca08a1bf98646e44b/f49.json | 1 + .../_search/0bfca08a1bf98646e44b/f5.json | 1 + .../_search/0bfca08a1bf98646e44b/f50.json | 1 + .../_search/0bfca08a1bf98646e44b/f51.json | 1 + .../_search/0bfca08a1bf98646e44b/f52.json | 1 + .../_search/0bfca08a1bf98646e44b/f53.json | 1 + .../_search/0bfca08a1bf98646e44b/f54.json | 1 + .../_search/0bfca08a1bf98646e44b/f55.json | 1 + .../_search/0bfca08a1bf98646e44b/f56.json | 1 + .../_search/0bfca08a1bf98646e44b/f57.json | 1 + .../_search/0bfca08a1bf98646e44b/f58.json | 1 + .../_search/0bfca08a1bf98646e44b/f59.json | 1 + .../_search/0bfca08a1bf98646e44b/f6.json | 1 + .../_search/0bfca08a1bf98646e44b/f60.json | 1 + .../_search/0bfca08a1bf98646e44b/f61.json | 1 + .../_search/0bfca08a1bf98646e44b/f62.json | 1 + .../_search/0bfca08a1bf98646e44b/f63.json | 1 + .../_search/0bfca08a1bf98646e44b/f64.json | 1 + .../_search/0bfca08a1bf98646e44b/f65.json | 1 + .../_search/0bfca08a1bf98646e44b/f66.json | 1 + .../_search/0bfca08a1bf98646e44b/f67.json | 1 + .../_search/0bfca08a1bf98646e44b/f68.json | 1 + .../_search/0bfca08a1bf98646e44b/f69.json | 1 + .../_search/0bfca08a1bf98646e44b/f7.json | 1 + .../_search/0bfca08a1bf98646e44b/f70.json | 1 + .../_search/0bfca08a1bf98646e44b/f8.json | 1 + .../_search/0bfca08a1bf98646e44b/f9.json | 1 + .../_search/0bfca08a1bf98646e44b/v0.json | 1 + .../_search/0bfca08a1bf98646e44b/v1.json | 1 + .../_search/0bfca08a1bf98646e44b/v2.json | 1 + .../_search/0bfca08a1bf98646e44b/v3.json | 1 + .../_search/0bfca08a1bf98646e44b/v4.json | 1 + .../_search/0bfca08a1bf98646e44b/v5.json | 1 + .../_search/context-72cbcbbb591892bb.json | 1 + site/public/sourcey/api.html | 27 + site/public/sourcey/api.md | 3 + site/public/sourcey/api/package-root.html | 2976 +++++++++++++++++ 134 files changed, 3276 insertions(+) create mode 100644 site/public/sourcey/.sourcey-output.json create mode 100644 site/public/sourcey/404.html create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/assets/search-worker-Dzc2-hN_.js create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-lang-icons.css create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-search.js create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-theme.js create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.css create mode 100644 site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.js create mode 100644 site/public/sourcey/_media/43114fe24090c8f73273.svg create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c0.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c1.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c10.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c11.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c12.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c13.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c14.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c15.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c16.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c17.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c18.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c19.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c2.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c20.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c21.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c22.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c23.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c24.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c25.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c26.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c27.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c28.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c29.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c3.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c30.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c31.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c32.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c33.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c34.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c35.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c36.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c37.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c38.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c39.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c4.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c40.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c41.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c42.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c43.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c5.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c6.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c7.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c8.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/c9.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f0.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f1.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f10.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f11.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f12.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f13.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f14.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f15.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f16.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f17.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f18.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f19.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f2.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f20.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f21.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f22.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f23.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f24.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f25.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f26.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f27.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f28.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f29.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f3.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f30.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f31.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f32.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f33.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f34.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f35.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f36.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f37.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f38.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f39.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f4.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f40.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f41.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f42.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f43.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f44.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f45.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f46.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f47.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f48.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f49.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f5.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f50.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f51.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f52.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f53.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f54.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f55.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f56.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f57.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f58.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f59.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f6.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f60.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f61.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f62.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f63.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f64.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f65.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f66.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f67.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f68.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f69.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f7.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f70.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f8.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/f9.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v0.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v1.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v2.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v3.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v4.json create mode 100644 site/public/sourcey/_search/0bfca08a1bf98646e44b/v5.json create mode 100644 site/public/sourcey/_search/context-72cbcbbb591892bb.json create mode 100644 site/public/sourcey/api.html create mode 100644 site/public/sourcey/api.md create mode 100644 site/public/sourcey/api/package-root.html diff --git a/site/public/sourcey/.sourcey-output.json b/site/public/sourcey/.sourcey-output.json new file mode 100644 index 00000000..5eaa445b --- /dev/null +++ b/site/public/sourcey/.sourcey-output.json @@ -0,0 +1 @@ +{"404.html":"8fc682ae8fae80ff3bdd34d81dddd629919d477308f04c2f1dae9bc4354fea1d","_assets/6aeb69527308be7393c5/assets/search-worker-Dzc2-hN_.js":"4bee1b8333ab8c00728c3b37bc83c60b93827de2ff6741c9e99372f7e990c261","_assets/6aeb69527308be7393c5/sourcey-lang-icons.css":"a1bf65b42c5caa7b7371aa00796b1a82a7957995bfb2636fe326ce42b89b235c","_assets/6aeb69527308be7393c5/sourcey-search.js":"094af44250fc4352927f606a084122e7f6860fbe70a9034a25c81bcd46b5f0aa","_assets/6aeb69527308be7393c5/sourcey-theme.js":"6781710a9f9ef87924f765cb5308083cd1fad3b6777de079a313a8c487d1c3c7","_assets/6aeb69527308be7393c5/sourcey.css":"3bcb4988834ec742c579087ccf53c6755e4298eb3785abc1ec406a6caa829549","_assets/6aeb69527308be7393c5/sourcey.js":"c9faced7ade3036e0265df878ffb07ac94d138167e34317e53dd0c6027c56680","_media/43114fe24090c8f73273.svg":"43114fe24090c8f732734dc65ca4f3c428cc5bd6b779dc77f4daa6e13597b3b7","_og/api.png":"a5d01142db1e31d9207bf4efd168082ffb74dc82ea61a9932c1d2a0d3b084b24","_og/api/package-root.png":"b11ae939f1ad6e07a87550a32db8ccd542a192038aa0cd76bf2c92393d0b1afa","_og/guides/binding-error-handling.png":"280816017f536c64b8ed0eab0aaa1d53c60203b6f386537f57816ea24551103a","_og/guides/context-responses.png":"11d241f6e03a738f52ff6dc7f98b71f0d072e49b008fdf0512d6a3e07c657346","_og/guides/middleware.png":"cc764319b16646063d476fa4a058dfca25279e4efe8bfeb5e55b1c89481330f5","_og/guides/migration-v4-v5.png":"737942e316c3ac8ae16e95e0e2231d60cc891bee6e7d8dda1fc64a0ea50ab386","_og/guides/routing-context.png":"b6ff58a6ff7680eaba0e0f461cc59cf7a3213b769093ac03480e9cb119fcc44d","_og/index.png":"c961b01007a76980a9f1647bee69cb90f598ff5f4acf0a2bf7a3197e3d2d0df4","_og/quickstart.png":"d54ec9865457db2c377fad5195a23415970ce08cfb533357029176e6d8bac823","_search/0bfca08a1bf98646e44b/c0.json":"6639a43572f1ad66e15bc218766e8f04150d0a1d9250dc12105303d7085cfcb8","_search/0bfca08a1bf98646e44b/c1.json":"c5553a5426f45a1b40b7e92988f5f7dd415e2194b8c0fbd121e331144acced7e","_search/0bfca08a1bf98646e44b/c10.json":"10d07ebed8cf343ebb36a0978cd57e55dd2dc8491cea56288729832a87892eec","_search/0bfca08a1bf98646e44b/c11.json":"79197a5ccc2fbeeb89e96c1624bfeb78d647fb398e89d3cc489d91653300bb00","_search/0bfca08a1bf98646e44b/c12.json":"0d9e388107c99008d011852d6d1e9dbda715b81746f6ba7b3d30785ef8e3a663","_search/0bfca08a1bf98646e44b/c13.json":"0f06ea0565add3b515c9bcd7f738829914c5b480b268ff418623a45157bf036d","_search/0bfca08a1bf98646e44b/c14.json":"e2082b994cec424a03b78f58cc9027aca513d0f3bc3d52642eb980e60a7bca0c","_search/0bfca08a1bf98646e44b/c15.json":"60b0ae43b4b081e3e596a67773f3f53529b2a8540e2cbfa32369634740ed830a","_search/0bfca08a1bf98646e44b/c16.json":"dd478e8c09a8e27c9c08417b7b47d6c7d207a298857dfc80058744fe49b591bc","_search/0bfca08a1bf98646e44b/c17.json":"7eabdddd7a496ae68a1ba7a6afba751c375dd63e13da71f20ede2bb82c45aca2","_search/0bfca08a1bf98646e44b/c18.json":"5ed3c76820a5b22d1842fb9efa20c2696ecd9f6cc88733b01c27e861933f3255","_search/0bfca08a1bf98646e44b/c19.json":"dea8cec3a17bf3529d14b31ca98ad4fb30654c3dda022f5c7c0822a10bb3a502","_search/0bfca08a1bf98646e44b/c2.json":"bc99005dd27a5cd9e8e4db80bec0121cfd4003d3ec3f59326a90b2fe789caf27","_search/0bfca08a1bf98646e44b/c20.json":"e967c82152627b45a0df3bb378793b535d3a84baaf95c641a0748102640859c1","_search/0bfca08a1bf98646e44b/c21.json":"0d101bda7b3acbb1d564286f8c9d8f372b1570998dcbe8d07d889df9a75ec8a4","_search/0bfca08a1bf98646e44b/c22.json":"31dfa033f41175237c4b55e720d0e52e3368534f1f68c05e6a78ec365ff2c620","_search/0bfca08a1bf98646e44b/c23.json":"b07c53f31f55166f60de86face15cc1ce3b51f8a0b208c72cafd00f1ca86f7cd","_search/0bfca08a1bf98646e44b/c24.json":"95f371885ee2eaa6d4ab96251fe5f9f5a53db109ae62dd1299468f247f7e73bd","_search/0bfca08a1bf98646e44b/c25.json":"d2e3ff5152b50e63538d49f3f229415fbda0d2c383c0ffeabcaf78bfd89a9300","_search/0bfca08a1bf98646e44b/c26.json":"b749ddedba71cffd61569743631e94d624ea64341cb2ab345010671603542165","_search/0bfca08a1bf98646e44b/c27.json":"3a8762db776d6c6ab272dd3b11de3e7756bad145bcae92fd98dc298eb1fa62e8","_search/0bfca08a1bf98646e44b/c28.json":"cc126bddc54e9001b7d0a371d095ab3fd90b92664cceb68cf54796ef192577f5","_search/0bfca08a1bf98646e44b/c29.json":"1c0bb266c91682b448d31a5c6fcfa7fad8c58aca6671c17d4a00e9677787a127","_search/0bfca08a1bf98646e44b/c3.json":"3fc4195d441518d7dacf2c1ca9c4669b28e02ae7c49e641081d342ef7f595c04","_search/0bfca08a1bf98646e44b/c30.json":"f0bac3892e8068024d70fdac843335dee679344b0d4b56529d345de98a09d3e2","_search/0bfca08a1bf98646e44b/c31.json":"8375f32f0ad498c07dd920770547d61905881446dbe781099f09b807c04425ab","_search/0bfca08a1bf98646e44b/c32.json":"b70e355e97e8e4ac369b56aeee013083013bf88e55ac4c6a2862396024cc15e2","_search/0bfca08a1bf98646e44b/c33.json":"ac3d3bde7028b25d590c02c00427f426f6d13bfaae848516ad94b910848febc4","_search/0bfca08a1bf98646e44b/c34.json":"a0f52a2361769b20b9b7e56a31b093538a2481fcf30f54b53ab5ff1b1e8dccca","_search/0bfca08a1bf98646e44b/c35.json":"fcb49aa2a95e32738a9a4559e8f2b0a564f0621dd279844a51f7c2cf1f695721","_search/0bfca08a1bf98646e44b/c36.json":"be08b404a297517facc551954609c2ae7d0f1f8fa6965bd719de9b6ac2e1ee24","_search/0bfca08a1bf98646e44b/c37.json":"ec6a2c43fa42974ea51709c856a875b825f40fc3a59b7d676f0c96e5f3be5bda","_search/0bfca08a1bf98646e44b/c38.json":"00147fe5065a659a055eeb91a496041e9c121a5483ea2631035d5ad48e89eaff","_search/0bfca08a1bf98646e44b/c39.json":"37a550e561423aad947edf105939aea401d1c01aaaef71b12a6d8ba384353ed6","_search/0bfca08a1bf98646e44b/c4.json":"6ace76eb29f2ec89b7bdace853727fe1a226c0ed5976426471fae2caba1897fe","_search/0bfca08a1bf98646e44b/c40.json":"aabcd7b2f9505d4855e647154d8dc195f0aec6506bd0b9b84f0b6aba56066943","_search/0bfca08a1bf98646e44b/c41.json":"814c2b280e3a9adab538d72d1a96f33a1279bd7fa5a2d72e30c4d316f19a8415","_search/0bfca08a1bf98646e44b/c42.json":"a5a1e4093fbd6377835c9337a98f18dbee396866a58a271a14386d79bf7db056","_search/0bfca08a1bf98646e44b/c43.json":"d1820f6ea5c19aa5c6adffc5b728914aa286eb7018b6ca4baadffa1789244269","_search/0bfca08a1bf98646e44b/c5.json":"ff9a374646e7a2cad79afc9b7c965bbfb06c531ed5c83b7597f00127e688feea","_search/0bfca08a1bf98646e44b/c6.json":"cefd08f0d022539aac00aa1569e39506a8f6b74de40ccde2a92e8957f7ddb30d","_search/0bfca08a1bf98646e44b/c7.json":"0a437ae1e33c93daa40d19fd6207b8e8ec7dd092d5eb8154054bb9f3334f7533","_search/0bfca08a1bf98646e44b/c8.json":"5f0d6232d2ccb9fb88837e7cbcdddc3607c703da2d596f70d34e73c6ab4ad6fb","_search/0bfca08a1bf98646e44b/c9.json":"cce4742f630c23d5d3a513c5783f843b15b7d6a4da7cf14580a9893c2488f19e","_search/0bfca08a1bf98646e44b/f0.json":"7e6ac7df2eae3fbaf9f9ba84484927aa84d48cc3552132e42755ebae9d3d3f96","_search/0bfca08a1bf98646e44b/f1.json":"0447cc1ea9ecfbe7f155f33a94f60fcbfb504ffb8ea7f17935a4b2f7acd29268","_search/0bfca08a1bf98646e44b/f10.json":"18b7625f909832e1eb7a93adde1ffdca6aed421f40e4e351c9fc1980dcdd5542","_search/0bfca08a1bf98646e44b/f11.json":"af9195e15661bda74c4e49a8f1bc7c56d0282f6d760045693cd173005ecc3dd1","_search/0bfca08a1bf98646e44b/f12.json":"22ca13ec8356f3f80fc98d08f732b77add657ee41006917342ff68d7066ab754","_search/0bfca08a1bf98646e44b/f13.json":"610c8bf369ba1a9ab3fe6ffa9b4f424f2cd649db050769b96928e1e440b86256","_search/0bfca08a1bf98646e44b/f14.json":"ae288a69e4fa2508ab0587267b3efbcc046ea686b3c1f00eb7dae1a1e3ae6e3f","_search/0bfca08a1bf98646e44b/f15.json":"dc5c9e881f8d18886f4c16df8eda2473e0a4eb2e79254d478ef8f445b87ca648","_search/0bfca08a1bf98646e44b/f16.json":"af234a85452406535fe44b0107ba09dea09e29b03c44d0ddf7e298659bf200b9","_search/0bfca08a1bf98646e44b/f17.json":"0261d2dca6866e5b732517cab7071f2abe87dabc037c6c3f3655994280113396","_search/0bfca08a1bf98646e44b/f18.json":"a8172ecc1426be1a8fd4b6207e095d541586f4af28463779d886f9e659c5566f","_search/0bfca08a1bf98646e44b/f19.json":"44524b46b53577ff4ff1a579aaaedebec334e766dc1f7d94a2f443a34141f2a0","_search/0bfca08a1bf98646e44b/f2.json":"9a14f71152abdc14bd4e64ac0a9f573845226dda9210b2710c06b56518f24ec4","_search/0bfca08a1bf98646e44b/f20.json":"eb04b5329cf2a4308f791585d2022cc29f5940828bc207c0d8c23fedef064963","_search/0bfca08a1bf98646e44b/f21.json":"069c4b6de2eb4016bb0ebe187837250cbb205428c8d2deb20faa921a8dfa7cc8","_search/0bfca08a1bf98646e44b/f22.json":"9c5c6653f993c35d8266860d487b0d102829364b379e246578e925e3032a76ac","_search/0bfca08a1bf98646e44b/f23.json":"741eb98b0210509302fe9527cbc53010af1dbfd03c797373863727d847119cd9","_search/0bfca08a1bf98646e44b/f24.json":"585171a5f831642be4d3a9cc365e2393319a64680deb61c6cb994fc138ea31b1","_search/0bfca08a1bf98646e44b/f25.json":"a0a53d01c17e46b0d5d3ef997d7317a4cec251096fc0f9334b7f4eec7e6edb25","_search/0bfca08a1bf98646e44b/f26.json":"94b72ae446fbe97be700b79d99a7fc23c85ed6947abc6f62be28429772147679","_search/0bfca08a1bf98646e44b/f27.json":"09a6e116c7ddca9b0b6857e450891d04fd176066d46b08967b0612869886d841","_search/0bfca08a1bf98646e44b/f28.json":"049390dfbf1a0b24cc64c6dff91ccaec2d9695eadc7775677d5427fd0796bc6a","_search/0bfca08a1bf98646e44b/f29.json":"ca999478ea367bab0b882df3be99c49ec13a363ef4570fed37c1b0500247e2df","_search/0bfca08a1bf98646e44b/f3.json":"997ab1122cbcd9738d6d1bd4046c52112fc6a70d6e59307a42524fb9984a0a67","_search/0bfca08a1bf98646e44b/f30.json":"35b878daf9f09081606a9d6e2ccd048f8e28bd27ecc2f787d477ed7c967063bd","_search/0bfca08a1bf98646e44b/f31.json":"30c301c791e283cd8e8a8ffd3ccddd76150ed5e1650b24229bc26547603d7b92","_search/0bfca08a1bf98646e44b/f32.json":"9d375dd6db10266112ac5078fcec01cb7df4226aa4d108009a0034ee60a868e6","_search/0bfca08a1bf98646e44b/f33.json":"1cd4f724192a86071d184b258119921d962a801eaa693a012e0797d5b4e45e01","_search/0bfca08a1bf98646e44b/f34.json":"b8d9e58d759ce603361d73dff15bd1cc6b07bb1f21b1bd183dedf0e02496cc6b","_search/0bfca08a1bf98646e44b/f35.json":"7178bf4cd5e115734fb6e75c5f77d028a8017250408d5c8c17e05b9203bce3f3","_search/0bfca08a1bf98646e44b/f36.json":"e08055caf756fd023fafd2271395498db01e09378d45ad5f704f82362e061848","_search/0bfca08a1bf98646e44b/f37.json":"5accfcb2ce836e04bfb1398d531d905e91884ab5115737882a353f5842e320a8","_search/0bfca08a1bf98646e44b/f38.json":"f896868e230dc5571c29946742cff7e29b1136a2d4c1ffea9c9296500c231214","_search/0bfca08a1bf98646e44b/f39.json":"49ac03343236768ed683f7617ebee8c2755c452854bf488b31a90b188a62975e","_search/0bfca08a1bf98646e44b/f4.json":"3bf7d3db72eb9124f084927837c6342f311dc6ddb9f0a7e7b9bb442ad2111244","_search/0bfca08a1bf98646e44b/f40.json":"a084984e823b98313fd2cf6fe52b7dc1cc15c256e3e11c4d91a497c6a96a5dbf","_search/0bfca08a1bf98646e44b/f41.json":"91a2fdd037288e74e1801484a0d7b4af8f1dcfd60ac319de0e903e83ae2afedb","_search/0bfca08a1bf98646e44b/f42.json":"4d555e5ee515533f2589271904719abe95488a6b1af67d0f4e8297437e3783b0","_search/0bfca08a1bf98646e44b/f43.json":"c3fd0907f9c48c55b4f7651914e9d496fc8e9502d054424ceb7f4bae9046c699","_search/0bfca08a1bf98646e44b/f44.json":"21511be6a84bca4c420a2ef7794504400087c8fd330ff0b4d705bf4df2d4055b","_search/0bfca08a1bf98646e44b/f45.json":"7986f7979fceac97073dc80bfa33e3f6d9285d83a7a5ae5295a50721a9d289ee","_search/0bfca08a1bf98646e44b/f46.json":"de30fca3c70e2fb09c390b00938e50a990e417ac8d58b66e4dab45cc49806640","_search/0bfca08a1bf98646e44b/f47.json":"936ff1610cee242b3c6ce3d574c7abf733ce49cb717b31de45b39c5cd136f5f0","_search/0bfca08a1bf98646e44b/f48.json":"251478106d895713e4cff6b4fcbce8f6ad841e1825bbc9422bc5fe775e53fc05","_search/0bfca08a1bf98646e44b/f49.json":"95f275a51383d94f310a90b8e3ba0253cc20b071800a2a42e86efb834f4344dd","_search/0bfca08a1bf98646e44b/f5.json":"c50ed63b6ecd6761d1340a7510bd1343a87fdd2657592abd913124c814dad411","_search/0bfca08a1bf98646e44b/f50.json":"b6df16139d7e9e57ec12f2c765b9cfcfe388dc0648a119c24bf912a28e058556","_search/0bfca08a1bf98646e44b/f51.json":"c66af602c2cd2a1a284443863afe4a1bf9008b6f5b9a48405848d53439e8c888","_search/0bfca08a1bf98646e44b/f52.json":"24867cbed5ba0d968007307dcc2f69a24df6745ed931b46ccc229c4f51815ae0","_search/0bfca08a1bf98646e44b/f53.json":"11c14361965afe7a7c33e7bed56efce08eef09f3601c72c8d69c6fcdaffc771e","_search/0bfca08a1bf98646e44b/f54.json":"368376a3e7ce40d8f930a7a8ee216e7e78e795836cb221cbf9ed6a1a67bde57b","_search/0bfca08a1bf98646e44b/f55.json":"1d07769935b2dd12d0cc0d9f33cfa8f15796c454f974ef699ea423a2239178a8","_search/0bfca08a1bf98646e44b/f56.json":"ffec2901f7db762312f94b4ab1846a8060e8c0a2daa6435f3205da17ee85bba6","_search/0bfca08a1bf98646e44b/f57.json":"608ede5f9d1513c113c5b269c0dd9ce3cef7eb8a966569d9f5bc4b789f42c6af","_search/0bfca08a1bf98646e44b/f58.json":"e6293a3f3e75576cf37f40ad4abe5b49bc3d364fa478caf74f78f61fc5e64c94","_search/0bfca08a1bf98646e44b/f59.json":"9f4adb9216b066dd107135a91181a7bd7e36b6d5525bf4bbabdafe4aaa15ce3f","_search/0bfca08a1bf98646e44b/f6.json":"36694320626700e9657ebe76f0457268cef024948767332802d4b08159149dd9","_search/0bfca08a1bf98646e44b/f60.json":"ac41df58af23101a797eb419cec054b56f8a688cc5c3c68cf494ea165de5d52c","_search/0bfca08a1bf98646e44b/f61.json":"3a87114dca4f5441486b13ac6dcf71f182dde9a3f1914eeb8fd0665c264d11e6","_search/0bfca08a1bf98646e44b/f62.json":"2aeab583b07575506177d6809ced19c97be4843564f50b5ef60d01de5b8adf86","_search/0bfca08a1bf98646e44b/f63.json":"9171325d63d3fabb58e2c43aaab0d79ce2e11b6bdbf7eca1de7264855334a032","_search/0bfca08a1bf98646e44b/f64.json":"56d305f4b1bf18215f85c01cec230f6cbbfcd755e92ff0b461d6a7e8799d7590","_search/0bfca08a1bf98646e44b/f65.json":"bcb624b7fdb641e42cfe4eaaa044efe45ba25fe6a2860dfe431dbcb8fbd7851e","_search/0bfca08a1bf98646e44b/f66.json":"d241e7d6c5b58306d70d18e61c682a5615a60a51976ad01ba2b6d286c41dff51","_search/0bfca08a1bf98646e44b/f67.json":"558cb645360a3f56916848874263122abffebeda272d25d8702f6567269e2cdf","_search/0bfca08a1bf98646e44b/f68.json":"02e06b513d2c60f1f22e11e7212b60a4fca30b62112952f4ab97e8df78ab0581","_search/0bfca08a1bf98646e44b/f69.json":"da624a7c13f060010ec769602a67b009e61bee531dcdd789ebb527c1ad19b549","_search/0bfca08a1bf98646e44b/f7.json":"adea6307b89ad630c4102e5fde4a0cae60415b9f3dd69820d24840ebd140e824","_search/0bfca08a1bf98646e44b/f70.json":"d8eb5fb95b9ad8dfee1fa83ff08f992a52ebf4f22f6a04dde83b1ce68e76ef36","_search/0bfca08a1bf98646e44b/f8.json":"e20d0f08148be0fd6a4dc6bd91547ac8f14581221b58959179a1559dc425fcb7","_search/0bfca08a1bf98646e44b/f9.json":"10cbe4294428b386eb52493a68c35f30d8286f364123701526d67d1ef8930222","_search/0bfca08a1bf98646e44b/v0.json":"d74568f7f7a8baef588198950c0aefc84b394c036f35ae901f82b6da4cfb14b6","_search/0bfca08a1bf98646e44b/v1.json":"47e3cf5c311f526f1713f57dc1c26d966aa2253f1bdf7db564a8a3377d229c3a","_search/0bfca08a1bf98646e44b/v2.json":"bcda78e994fb41c9190a199b0eff47c242ad5e826afeab5459c184e491d09c29","_search/0bfca08a1bf98646e44b/v3.json":"6526d7002d5ec719e7b6a37963e8293d2d98b0c4a3c55a56db57f5f4f4de5a24","_search/0bfca08a1bf98646e44b/v4.json":"68f5f3e950046da29990f1ea748a635001c9be4861cc94b85cf774bcfeeafa09","_search/0bfca08a1bf98646e44b/v5.json":"4a2ccf7afa328d49f0768cce5f1aaa72846fb1b5af30de7f1cf5ed4cc40a72e7","_search/context-72cbcbbb591892bb.json":"9b2b45fd37598cb8fd5426b44851921fe66683358f4c606f37ec8557f11b4a02","api.html":"a490b9ef25f371e02c0a3e9591e0d574fafe4bd2c9197960ecc8cd265e5ad0bc","api.md":"24d2d3e4f21a6824b4738a0f2d6de4c307d0aa8534cad4a8124316127361d609","api/package-root.html":"35e9628e7a646f96c9679dabef040eeff26781c2c17c0b9d306626a992a157d4","api/package-root.md":"244efe5c2c0aa029990432cf71e8cd0b5db8ba9e31f97e66b0bdb1eee94c9acd","documents.json":"56e6f670d7db1419fcddd5e71d50802248e6ab0aaec9a33d2fd3372f45b9232e","guides/binding-error-handling.html":"3036523ebcc222124907018dbafd31281a3f3ace62f3931be7ac6e6908fd8c43","guides/binding-error-handling.md":"19ec34ee393da35a204e6c7cb4d45457482961ce696ef4515095ea573d9046c0","guides/context-responses.html":"c68099d50d1d3f270d228d529eb839d5599e2b3c8f1d22ddc697e486d0647410","guides/context-responses.md":"6295d0456fd126c7cd190139c9724391cd2f874494d1d24eefdabf031fbffca6","guides/middleware.html":"8f408d448045f2b3e3689309ecb7ab7688d8dd006cffaad7ef298a237e24994d","guides/middleware.md":"264f82582435f37d2c277ac5ed1eaef7bbdbde3f8fb19f42ea329a2e291fd57f","guides/migration-v4-v5.html":"df193ef5c637babfcfee44b95310bfefc7c3fd94b68ab298a6e7ab5e9376e0d5","guides/migration-v4-v5.md":"5620345b25dd9e99153d51246f90e93b095a01b74d0967a524bc52db6b182d53","guides/routing-context.html":"ab6997eb2fe509ecd28e66992f08767941ab122c43c91e8c77d3a7ff13186a5b","guides/routing-context.md":"4eea04e1260b8c477576094570873e687ff162ef022f10a0b26ca10a28ba1d2f","index.html":"943dedd28315261c534e8515b91cd2fae400606e9cdf249a2ed2f5efd607e491","index.md":"eb393031044c1ad60d8df3c90cd1f0e31e2966524333d1542ff292903b5d154b","llms-full.txt":"ac40ffd24bfd9390c8eb1424952966358cd082af09298d38913801f5fe511074","llms.txt":"591ffef16a3908301de16fdf1baf8a828aa0efc657397ea0502296ddf8918da2","quickstart.html":"44919938dd474a0b1a0cf2af98ff154c03df751ee2d373c428919a6819197d30","quickstart.md":"5a98311a366e353713a11be29f87f07307ba94d31d932b29079c6b8b3f5da5ed","response-headers.json":"6c3ec0f9958d0992c678f249883f3a5b029281575979e59502e8c071a39b75ee","sitemap.xml":"058d6217bf559dc36d684847afa8aedd4d599edd4031174a475f579f3586e0d3"} \ No newline at end of file diff --git a/site/public/sourcey/404.html b/site/public/sourcey/404.html new file mode 100644 index 00000000..d486d1f6 --- /dev/null +++ b/site/public/sourcey/404.html @@ -0,0 +1,24 @@ + +Page not found - echo

404

Page not found

This address does not point to a documentation page.

Browse the documentation
\ No newline at end of file diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/assets/search-worker-Dzc2-hN_.js b/site/public/sourcey/_assets/6aeb69527308be7393c5/assets/search-worker-Dzc2-hN_.js new file mode 100644 index 00000000..8f159245 --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/assets/search-worker-Dzc2-hN_.js @@ -0,0 +1 @@ +function e(e){return e.normalize(`NFKC`).toLowerCase()}function t(t){return(e(t).match(/[\p{L}\p{N}_]+/gu)??[]).flatMap(e=>{if(!/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}]/u.test(e))return[e];let t=[...e];return[...t,...t.slice(0,-1).map((e,n)=>e+t[n+1])]})}function n(e){let t=[e,`${e}s`,`${e}es`];return e.endsWith(`s`)&&t.push(e.slice(0,-1)),e.endsWith(`es`)&&t.push(e.slice(0,-2)),t}function r(n){let r=e(n.trim());return{normalized:r,terms:t(r).map(e=>({term:e,distance:Math.min(6,Math.round(e.length*.15))}))}}function i(e,t,n){if(Math.abs(e.length-t.length)>n)return n+1;let r=Array.from({length:t.length+1},(e,t)=>t);for(let i=1;i<=e.length;i++){let a=[i],o=i;for(let n=1;n<=t.length;n++)a[n]=Math.min(r[n]+1,a[n-1]+1,r[n-1]+(e[i-1]===t[n-1]?0:1)),o=Math.min(o,a[n]);if(o>n)return n+1;r=a}return r[t.length]}function a(e,t,i){let{normalized:a,terms:o}=r(t);if(!o.length)return[];let s;for(let{term:t}of o){let n=/* @__PURE__ */ new Map,r=(e,t)=>{for(let[r,i]of e)n.set(r,(n.get(r)??0)+t*i)},a=/* @__PURE__ */ new Set;for(let[n,i]of e.prefixed(t)){a.add(n);let e=n.length-t.length;r(i,e?.375*n.length/(n.length+.3*e):1)}for(let[n,o]of i?.get(t)??[])o&&!a.has(n)&&r(e.postings(n)??[],.45*n.length/(n.length+o));if(s){let e=/* @__PURE__ */ new Map;for(let[t,r]of n){let n=s.get(t);n!==void 0&&e.set(t,n+r)}s=e}else s=n;if(!s.size)return[]}if(!s)return[];let c=new Set(o.map(({term:e})=>e)).size,l=new Set(n(a).flatMap(t=>e.named(t)??[]));return[...s].map(([e,t])=>({id:e,score:t*c+(l.has(e)?1e5:0)})).sort((e,t)=>t.score-e.score||e.id-t.id)}const o=e=>[...e].slice(0,2).join(``);function s(e){return[...new Set(r(e).terms.filter(({distance:e})=>e).map(({term:e})=>o(e)))]}function c(e,t,n=!1){let a=/* @__PURE__ */ new Map,s=[...t];for(let{term:t,distance:c}of r(e).terms){if(!c||a.has(t))continue;let e=o(t),r=[];for(let a of s){if(!n&&!a.startsWith(e))continue;let o=i(t,a,c);o<=c&&o>0&&r.push([a,o])}a.set(t,r)}return a}function l(e,t){let n=0,r=e.length;for(;n>1;e[i]<=t?n=i+1:r=i}return Math.max(0,n-1)}const u=e=>{let t=0;return e.map(e=>t+=e)};function d(e,t){let n=``;return t.map(([t,r,i,a,o,s,c,l])=>{let u=String(r).startsWith(`#`)?n+r:String(r);return n=u.split(`#`)[0],{title:String(t),url:u,category:e.categories[Number(i)],tab:e.tabs[Number(a)],...o!=null&&{method:String(o)},...s!=null&&{path:String(s)},...c!=null&&{qualifiedName:String(c)},...l!=null&&{owner:String(l)}}})}async function f(e,t=fetch){let i=async e=>{let n=await t(e);if(!n.ok)throw Error(`Search: ${n.status}`);return{data:await n.json(),url:n.url||e}},{data:o,url:f}=await i(e),p=new URL(o.files,f).href;function m(e,t,n){let r=e.get(t);return r||(r=i(new URL(t,p).href).then(({data:e})=>n(e)),r.catch(()=>e.delete(t)),e.set(t,r)),r}let h=/* @__PURE__ */ new Map,g=/* @__PURE__ */ new Map,_=e=>l(o.chunks,e);function*v(e,t){let n=l(e,t);for(yield n;n+1v(o.chunks,e),b=e=>Promise.all([...new Set(e)].map(e=>m(h,`c${e}.json`,t=>{let[n,r]=t,i={words:new Map(n.map(([e,...t])=>{let n=t.filter((e,t)=>t%2==0),r=t.filter((e,t)=>t%2==1);return[e,u(n).map((e,t)=>[e,r[t]/1e3])]})),names:new Map(r.map(([e,...t])=>[e,u(t)]))};return g.set(e,i),i}))),x={*prefixed(e){for(let t of y(e))for(let[n,r]of g.get(t)?.words??[])n.startsWith(e)&&(yield[n,r])},postings:e=>g.get(_(e))?.words.get(e),named:e=>g.get(_(e))?.names.get(e)},S=/* @__PURE__ */ new Map,C=e=>Promise.all([...new Set(e)].map(e=>m(S,`v${e}.json`,e=>e))).then(e=>e.flat()),w=/* @__PURE__ */ new Map;return{openings:o.openings,async rank(e,t=50){let{normalized:i,terms:l}=r(e);if(!l.length)return[];let u=async(t,n)=>{let r=c(e,await C(t),n);return await b([...r.values()].flatMap(e=>e.map(([e])=>_(e)))),r},[d]=await Promise.all([u(s(e).flatMap(e=>[...v(o.words,e)]),!1),b([...l.flatMap(({term:e})=>[...y(e)]),...n(i).map(_)])]),f=a(x,e,d);return!f.length&&d.size&&(f=a(x,e,await u(o.words.keys(),!0))),f.slice(0,t)},async result(e){let t=Math.floor(e/o.fragment);return(await m(w,`f${t}.json`,e=>d(o,e)))[e-t*o.fragment]}}}let p=[],m,h=0;async function g(e){let t=m,n=[];if(!t||t.id!==e)return{rows:n,more:!1};let r=()=>t.nextp[e].result(t))))t.seen.has(r.url)||t.seen.size>=50||(t.seen.add(r.url),n.push(r))}return{rows:n,more:r()}}self.addEventListener(`message`,async e=>{let t=e.data;try{if(t.kind===`load`){p=await Promise.all(t.urls.map(e=>f(e)));let e=/* @__PURE__ */ new Set,n=p.flatMap(e=>e.openings).sort((e,t)=>e.start-t.start).filter(t=>!e.has(t.url)&&e.add(t.url));self.postMessage({id:t.id,rows:n});return}if(t.kind===`query`){h=t.id;let e=(await Promise.all(p.map(async(e,n)=>(await e.rank(t.query,50)).map(e=>({...e,index:n}))))).flat().sort((e,t)=>t.score-e.score||e.index-t.index||e.id-t.id);if(t.id!==h){self.postMessage({id:t.id,rows:[],more:!1});return}m={id:t.id,ranked:e,next:0,seen:/* @__PURE__ */ new Set}}self.postMessage({id:t.id,...await g(t.kind===`more`?t.of:t.id)})}catch(e){self.postMessage({id:t.id,error:e instanceof Error?e.message:String(e)})}}); \ No newline at end of file diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-lang-icons.css b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-lang-icons.css new file mode 100644 index 00000000..6d002a6d --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-lang-icons.css @@ -0,0 +1,10 @@ +#sourcey .lang-icon[data-lang="bash"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M112.205%2026.129%2071.8%202.142A15.326%2015.326%200%200%200%2064.005%200c-2.688%200-5.386.717-7.796%202.152L15.795%2026.14C10.976%2028.999%208%2034.289%208%2040.018v47.975c0%205.729%202.967%2011.019%207.796%2013.878L56.2%20125.858A15.193%2015.193%200%200%200%2063.995%20128a15.32%2015.32%200%200%200%207.796-2.142l40.414-23.987c4.819-2.86%207.796-8.16%207.796-13.878V40.007c0-5.718-2.967-11.019-7.796-13.878zm-31.29%2074.907.063%203.448c0%20.418-.267.889-.588%201.06l-2.046%201.178c-.321.16-.6-.032-.6-.45l-.032-3.394c-1.745.728-3.523.9-4.647.45-.214-.086-.31-.397-.225-.761l.739-3.116c.064-.246.193-.493.364-.643a.725.725%200%200%201%20.193-.139c.117-.064.235-.075.332-.032%201.22.407%202.773.214%204.272-.535%201.907-.964%203.18-2.913%203.16-4.84-.022-1.757-.964-2.474-3.267-2.496-2.934.01-5.675-.567-5.718-4.894-.032-3.555%201.81-7.26%204.744-9.595l-.032-3.48c0-.428.257-.9.589-1.07l1.98-1.264c.322-.161.6.043.6.46l.033%203.48c1.456-.578%202.72-.738%203.865-.47.247.064.364.406.257.802l-.77%203.084a1.372%201.372%200%200%201-.354.622.825.825%200%200%201-.203.15c-.108.053-.204.064-.3.053-.525-.118-1.767-.385-3.727.6-2.056%201.038-2.773%202.827-2.763%204.155.022%201.585.825%202.066%203.63%202.11%203.738.064%205.344%201.691%205.387%205.45.053%203.684-1.917%207.657-4.937%2010.077zm21.18-5.794c0%20.322-.042.621-.31.771l-10.216%206.211c-.267.161-.482.022-.482-.3V99.29c0-.321.193-.492.46-.653l10.067-6.018c.268-.16.482-.022.482.3zm7.026-58.993L70.89%2059.86c-4.765%202.784-8.278%205.911-8.288%2011.662v47.107c0%203.437%201.392%205.665%203.523%206.318a12.81%2012.81%200%200%201-2.12.204c-2.239%200-4.445-.61-6.383-1.757L17.219%2099.408c-3.951-2.345-6.403-6.725-6.403-11.426V40.007c0-4.7%202.452-9.08%206.403-11.426L57.634%204.594a12.555%2012.555%200%200%201%206.382-1.756c2.238%200%204.444.61%206.382%201.756l40.415%2023.987c3.33%201.981%205.579%205.397%206.21%209.242-1.36-2.86-4.38-3.63-7.902-1.574z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M112.205%2026.129%2071.8%202.142A15.326%2015.326%200%200%200%2064.005%200c-2.688%200-5.386.717-7.796%202.152L15.795%2026.14C10.976%2028.999%208%2034.289%208%2040.018v47.975c0%205.729%202.967%2011.019%207.796%2013.878L56.2%20125.858A15.193%2015.193%200%200%200%2063.995%20128a15.32%2015.32%200%200%200%207.796-2.142l40.414-23.987c4.819-2.86%207.796-8.16%207.796-13.878V40.007c0-5.718-2.967-11.019-7.796-13.878zm-31.29%2074.907.063%203.448c0%20.418-.267.889-.588%201.06l-2.046%201.178c-.321.16-.6-.032-.6-.45l-.032-3.394c-1.745.728-3.523.9-4.647.45-.214-.086-.31-.397-.225-.761l.739-3.116c.064-.246.193-.493.364-.643a.725.725%200%200%201%20.193-.139c.117-.064.235-.075.332-.032%201.22.407%202.773.214%204.272-.535%201.907-.964%203.18-2.913%203.16-4.84-.022-1.757-.964-2.474-3.267-2.496-2.934.01-5.675-.567-5.718-4.894-.032-3.555%201.81-7.26%204.744-9.595l-.032-3.48c0-.428.257-.9.589-1.07l1.98-1.264c.322-.161.6.043.6.46l.033%203.48c1.456-.578%202.72-.738%203.865-.47.247.064.364.406.257.802l-.77%203.084a1.372%201.372%200%200%201-.354.622.825.825%200%200%201-.203.15c-.108.053-.204.064-.3.053-.525-.118-1.767-.385-3.727.6-2.056%201.038-2.773%202.827-2.763%204.155.022%201.585.825%202.066%203.63%202.11%203.738.064%205.344%201.691%205.387%205.45.053%203.684-1.917%207.657-4.937%2010.077zm21.18-5.794c0%20.322-.042.621-.31.771l-10.216%206.211c-.267.161-.482.022-.482-.3V99.29c0-.321.193-.492.46-.653l10.067-6.018c.268-.16.482-.022.482.3zm7.026-58.993L70.89%2059.86c-4.765%202.784-8.278%205.911-8.288%2011.662v47.107c0%203.437%201.392%205.665%203.523%206.318a12.81%2012.81%200%200%201-2.12.204c-2.239%200-4.445-.61-6.383-1.757L17.219%2099.408c-3.951-2.345-6.403-6.725-6.403-11.426V40.007c0-4.7%202.452-9.08%206.403-11.426L57.634%204.594a12.555%2012.555%200%200%201%206.382-1.756c2.238%200%204.444.61%206.382%201.756l40.415%2023.987c3.33%201.981%205.579%205.397%206.21%209.242-1.36-2.86-4.38-3.63-7.902-1.574z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="javascript"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M2%201v125h125V1H2zm66.119%20106.513c-1.845%203.749-5.367%206.212-9.448%207.401-6.271%201.44-12.269.619-16.731-2.059-2.986-1.832-5.318-4.652-6.901-7.901l9.52-5.83c.083.035.333.487.667%201.071%201.214%202.034%202.261%203.474%204.319%204.485%202.022.69%206.461%201.131%208.175-2.427%201.047-1.81.714-7.628.714-14.065C58.433%2078.073%2058.48%2068%2058.48%2058h11.709c0%2011%20.06%2021.418%200%2032.152.025%206.58.596%2012.446-2.07%2017.361zm48.574-3.308c-4.07%2013.922-26.762%2014.374-35.83%205.176-1.916-2.165-3.117-3.296-4.26-5.795%204.819-2.772%204.819-2.772%209.508-5.485%202.547%203.915%204.902%206.068%209.139%206.949%205.748.702%2011.531-1.273%2010.234-7.378-1.333-4.986-11.77-6.199-18.873-11.531-7.211-4.843-8.901-16.611-2.975-23.335%201.975-2.487%205.343-4.343%208.877-5.235l3.688-.477c7.081-.143%2011.507%201.727%2014.756%205.355.904.916%201.642%201.904%203.022%204.045-3.772%202.404-3.76%202.381-9.163%205.879-1.154-2.486-3.069-4.046-5.093-4.724-3.142-.952-7.104.083-7.926%203.403-.285%201.023-.226%201.975.227%203.665%201.273%202.903%205.545%204.165%209.377%205.926%2011.031%204.474%2014.756%209.271%2015.672%2014.981.882%204.916-.213%208.105-.38%208.581z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M2%201v125h125V1H2zm66.119%20106.513c-1.845%203.749-5.367%206.212-9.448%207.401-6.271%201.44-12.269.619-16.731-2.059-2.986-1.832-5.318-4.652-6.901-7.901l9.52-5.83c.083.035.333.487.667%201.071%201.214%202.034%202.261%203.474%204.319%204.485%202.022.69%206.461%201.131%208.175-2.427%201.047-1.81.714-7.628.714-14.065C58.433%2078.073%2058.48%2068%2058.48%2058h11.709c0%2011%20.06%2021.418%200%2032.152.025%206.58.596%2012.446-2.07%2017.361zm48.574-3.308c-4.07%2013.922-26.762%2014.374-35.83%205.176-1.916-2.165-3.117-3.296-4.26-5.795%204.819-2.772%204.819-2.772%209.508-5.485%202.547%203.915%204.902%206.068%209.139%206.949%205.748.702%2011.531-1.273%2010.234-7.378-1.333-4.986-11.77-6.199-18.873-11.531-7.211-4.843-8.901-16.611-2.975-23.335%201.975-2.487%205.343-4.343%208.877-5.235l3.688-.477c7.081-.143%2011.507%201.727%2014.756%205.355.904.916%201.642%201.904%203.022%204.045-3.772%202.404-3.76%202.381-9.163%205.879-1.154-2.486-3.069-4.046-5.093-4.724-3.142-.952-7.104.083-7.926%203.403-.285%201.023-.226%201.975.227%203.665%201.273%202.903%205.545%204.165%209.377%205.926%2011.031%204.474%2014.756%209.271%2015.672%2014.981.882%204.916-.213%208.105-.38%208.581z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="typescript"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M2%2063.91v62.5h125v-125H2zm100.73-5a15.56%2015.56%200%20017.82%204.5%2020.58%2020.58%200%20013%204c0%20.16-5.4%203.81-8.69%205.85-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%2000-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.58%204.58%200%2000.54%202.34c.83%201.73%202.38%202.76%207.24%204.86%208.95%203.85%2012.78%206.39%2015.16%2010%202.66%204%203.25%2010.46%201.45%2015.24-2%205.2-6.9%208.73-13.83%209.9a38.32%2038.32%200%2001-9.52-.1A23%2023%200%200180%20109.19c-1.15-1.27-3.39-4.58-3.25-4.82a9.34%209.34%200%20011.15-.73l4.6-2.64%203.59-2.08.75%201.11a16.78%2016.78%200%20004.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%2000.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48%2016.48%200%2001-3.43-6.25%2025%2025%200%2001-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.66%2031.66%200%20019.49.26zm-29.34%205.24v5.12H57.16v46.23H45.65V69.26H29.38v-5a49.19%2049.19%200%2001.14-5.16c.06-.08%2010-.12%2022-.1h21.81z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M2%2063.91v62.5h125v-125H2zm100.73-5a15.56%2015.56%200%20017.82%204.5%2020.58%2020.58%200%20013%204c0%20.16-5.4%203.81-8.69%205.85-.12.08-.6-.44-1.13-1.23a7.09%207.09%200%2000-5.87-3.53c-3.79-.26-6.23%201.73-6.21%205a4.58%204.58%200%2000.54%202.34c.83%201.73%202.38%202.76%207.24%204.86%208.95%203.85%2012.78%206.39%2015.16%2010%202.66%204%203.25%2010.46%201.45%2015.24-2%205.2-6.9%208.73-13.83%209.9a38.32%2038.32%200%2001-9.52-.1A23%2023%200%200180%20109.19c-1.15-1.27-3.39-4.58-3.25-4.82a9.34%209.34%200%20011.15-.73l4.6-2.64%203.59-2.08.75%201.11a16.78%2016.78%200%20004.74%204.54c4%202.1%209.46%201.81%2012.16-.62a5.43%205.43%200%2000.69-6.92c-1-1.39-3-2.56-8.59-5-6.45-2.78-9.23-4.5-11.77-7.24a16.48%2016.48%200%2001-3.43-6.25%2025%2025%200%2001-.22-8c1.33-6.23%206-10.58%2012.82-11.87a31.66%2031.66%200%20019.49.26zm-29.34%205.24v5.12H57.16v46.23H45.65V69.26H29.38v-5a49.19%2049.19%200%2001.14-5.16c.06-.08%2010-.12%2022-.1h21.81z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="python"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M49.33%2062h29.159C86.606%2062%2093%2055.132%2093%2046.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805%201.191C37.098%206.188%2035%2010.758%2035%2019.183V30h29v4H23.776c-8.484%200-15.914%205.108-18.237%2014.811-2.681%2011.12-2.8%2017.919%200%2029.53C7.614%2086.983%2012.569%2093%2021.054%2093H31V79.952C31%2070.315%2039.428%2062%2049.33%2062zm-1.838-39.11c-3.026%200-5.478-2.479-5.478-5.545%200-3.079%202.451-5.581%205.478-5.581%203.015%200%205.479%202.502%205.479%205.581-.001%203.066-2.465%205.545-5.479%205.545zm74.789%2025.921C120.183%2040.363%20116.178%2034%20107.682%2034H97v12.981C97%2057.031%2088.206%2065%2078.489%2065H49.33C41.342%2065%2035%2072.326%2035%2080.326v27.8c0%207.91%206.745%2012.564%2014.462%2014.834%209.242%202.717%2017.994%203.208%2029.051%200C85.862%20120.831%2093%20116.549%2093%20108.126V97H64v-4h43.682c8.484%200%2011.647-5.776%2014.599-14.66%203.047-9.145%202.916-17.799%200-29.529zm-41.955%2055.606c3.027%200%205.479%202.479%205.479%205.547%200%203.076-2.451%205.579-5.479%205.579-3.015%200-5.478-2.502-5.478-5.579%200-3.068%202.463-5.547%205.478-5.547z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M49.33%2062h29.159C86.606%2062%2093%2055.132%2093%2046.981V19.183c0-7.912-6.632-13.856-14.555-15.176-5.014-.835-10.195-1.215-15.187-1.191-4.99.023-9.612.448-13.805%201.191C37.098%206.188%2035%2010.758%2035%2019.183V30h29v4H23.776c-8.484%200-15.914%205.108-18.237%2014.811-2.681%2011.12-2.8%2017.919%200%2029.53C7.614%2086.983%2012.569%2093%2021.054%2093H31V79.952C31%2070.315%2039.428%2062%2049.33%2062zm-1.838-39.11c-3.026%200-5.478-2.479-5.478-5.545%200-3.079%202.451-5.581%205.478-5.581%203.015%200%205.479%202.502%205.479%205.581-.001%203.066-2.465%205.545-5.479%205.545zm74.789%2025.921C120.183%2040.363%20116.178%2034%20107.682%2034H97v12.981C97%2057.031%2088.206%2065%2078.489%2065H49.33C41.342%2065%2035%2072.326%2035%2080.326v27.8c0%207.91%206.745%2012.564%2014.462%2014.834%209.242%202.717%2017.994%203.208%2029.051%200C85.862%20120.831%2093%20116.549%2093%20108.126V97H64v-4h43.682c8.484%200%2011.647-5.776%2014.599-14.66%203.047-9.145%202.916-17.799%200-29.529zm-41.955%2055.606c3.027%200%205.479%202.479%205.479%205.547%200%203.076-2.451%205.579-5.479%205.579-3.015%200-5.478-2.502-5.478-5.579%200-3.068%202.463-5.547%205.478-5.547z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="go"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zM2.004%2060.404c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zM79.58%2053.738c-3.819.97-6.425%201.697-10.182%202.666-.91.243-.97.303-1.758-.606-.909-1.03-1.576-1.697-2.848-2.303-3.819-1.878-7.516-1.333-10.97.91-4.121%202.666-6.242%206.605-6.182%2011.514.06%204.849%203.394%208.849%208.182%209.516%204.121.545%207.576-.91%2010.303-4%20.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818.788-1.879%202.242-5.03%203.09-6.606.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91-.667%204.363-2.303%208.363-4.97%2011.878-4.364%205.758-10.06%209.333-17.273%2010.303-5.939.788-11.454-.364-16.302-4-4.485-3.394-7.03-7.879-7.697-13.454-.788-6.606%201.151-12.546%205.151-17.758%204.303-5.636%2010-9.212%2016.97-10.485%205.697-1.03%2011.151-.363%2016.06%202.97%203.212%202.121%205.515%205.03%207.03%208.545.364.546.122.849-.606%201.03z%20M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334-3.576-3.09-5.818-7.03-6.545-11.697-1.091-6.848.787-12.909%204.909-18.302%204.424-5.819%209.757-8.849%2016.97-10.122%206.181-1.09%2012-.484%2017.272%203.091%204.788%203.273%207.757%207.697%208.545%2013.515%201.03%208.182-1.333%2014.849-6.97%2020.546-4%204.06-8.909%206.606-14.545%207.757-1.636.303-3.273.364-4.848.546zm14.424-24.485c-.06-.788-.06-1.394-.182-2-1.09-6-6.606-9.394-12.363-8.06-5.637%201.272-9.273%204.848-10.606%2010.545-1.091%204.727%201.212%209.515%205.575%2011.454%203.334%201.455%206.667%201.273%209.879-.363%204.788-2.485%207.394-6.364%207.697-11.576z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M11.156%2054.829c-.243%200-.303-.122-.182-.303l1.273-1.637c.12-.182.424-.303.666-.303H34.55c.243%200%20.303.182.182.364l-1.03%201.576c-.121.181-.424.363-.606.363zM2.004%2060.404c-.242%200-.303-.12-.182-.303l1.273-1.636c.121-.182.424-.303.667-.303h27.636c.242%200%20.364.182.303.364l-.485%201.454c-.06.243-.303.364-.545.364zM16.67%2065.98c-.242%200-.302-.182-.181-.364l.848-1.515c.122-.182.364-.363.607-.363h12.12c.243%200%20.364.181.364.424l-.12%201.454c0%20.243-.243.425-.425.425zM79.58%2053.738c-3.819.97-6.425%201.697-10.182%202.666-.91.243-.97.303-1.758-.606-.909-1.03-1.576-1.697-2.848-2.303-3.819-1.878-7.516-1.333-10.97.91-4.121%202.666-6.242%206.605-6.182%2011.514.06%204.849%203.394%208.849%208.182%209.516%204.121.545%207.576-.91%2010.303-4%20.545-.667%201.03-1.394%201.636-2.243H56.064c-1.272%200-1.575-.788-1.151-1.818.788-1.879%202.242-5.03%203.09-6.606.183-.364.607-.97%201.516-.97h22.06c-.12%201.637-.12%203.273-.363%204.91-.667%204.363-2.303%208.363-4.97%2011.878-4.364%205.758-10.06%209.333-17.273%2010.303-5.939.788-11.454-.364-16.302-4-4.485-3.394-7.03-7.879-7.697-13.454-.788-6.606%201.151-12.546%205.151-17.758%204.303-5.636%2010-9.212%2016.97-10.485%205.697-1.03%2011.151-.363%2016.06%202.97%203.212%202.121%205.515%205.03%207.03%208.545.364.546.122.849-.606%201.03z%20M99.64%2087.253c-5.515-.122-10.546-1.697-14.788-5.334-3.576-3.09-5.818-7.03-6.545-11.697-1.091-6.848.787-12.909%204.909-18.302%204.424-5.819%209.757-8.849%2016.97-10.122%206.181-1.09%2012-.484%2017.272%203.091%204.788%203.273%207.757%207.697%208.545%2013.515%201.03%208.182-1.333%2014.849-6.97%2020.546-4%204.06-8.909%206.606-14.545%207.757-1.636.303-3.273.364-4.848.546zm14.424-24.485c-.06-.788-.06-1.394-.182-2-1.09-6-6.606-9.394-12.363-8.06-5.637%201.272-9.273%204.848-10.606%2010.545-1.091%204.727%201.212%209.515%205.575%2011.454%203.334%201.455%206.667%201.273%209.879-.363%204.788-2.485%207.394-6.364%207.697-11.576z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="ruby"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27m35.971%20111.33%2081.958%2011.188c-9.374-15.606-18.507-30.813-27.713-46.144Zm89.71-86.383L93.513%2073.339c-.462.696-1.061%201.248-.41%202.321%208.016%2013.237%2015.969%2026.513%2023.942%2039.777%201.258%202.095%202.53%204.182%204.157%206.192l4.834-96.58zM16.252%2066.22c.375.355%201.311.562%201.747.347%207.689-3.779%2015.427-7.474%2022.948-11.564%202.453-1.333%204.339-3.723%206.452-5.661%206.997-6.417%2013.983-12.847%2020.966-19.278.427-.395.933-.777%201.188-1.275%202.508-4.902%204.973-9.829%207.525-14.898-3.043-1.144-5.928-2.263-8.849-3.281-.396-.138-1.02.136-1.449.375-6.761%203.777-13.649%207.353-20.195%2011.472-3.275%202.061-5.943%205.098-8.843%207.743-4.674%204.266-9.342%208.542-13.948%2012.882a24.011%2024.011%200%200%200-3.288%203.854c-3.15%204.587-6.206%209.24-9.402%2014.025%201.786%201.847%203.41%203.613%205.148%205.259zm28.102-6.271-11.556%2048.823%2054.3-34.987zm76.631-34.846-46.15%207.71%2015.662%2038.096zM44.996%2056.644l41.892%2013.6c-5.25-12.79-10.32-25.133-15.495-37.737ZM16.831%2075.643%202.169%20110.691l27.925-.825Zm13.593%2026.096.346-.076c3.353-13.941%206.754-27.786%2010.177-42.272L18.544%2071.035c3.819%209.926%207.891%2020.397%2011.88%2030.704zm84.927-78.897c-4.459-1.181-8.918-2.366-13.379-3.539-6.412-1.686-12.829-3.351-19.237-5.052-.801-.213-1.38-.352-1.851.613-2.265%204.64-4.6%209.245-6.901%2013.868-.071.143-.056.328-.111.687l41.47-6.285zM89.482%2012.288l36.343%2010.054-6.005-17.11-30.285%206.715ZM33.505%20114.007c-4.501-.519-9.122-.042-13.687.037-3.75.063-7.5.206-11.25.323-.386.012-.771.09-1.156.506%2031.003%202.866%2062.005%205.732%2093.007%208.6l.063-.414-29.815-4.07c-12.384-1.691-24.747-3.551-37.162-4.982ZM2.782%2099.994c3.995-9.27%207.973-18.546%2011.984-27.809.401-.929.37-1.56-.415-2.308-1.678-1.597-3.237-3.318-5.071-5.226-2.479%2012.24-4.897%2024.177-7.317%2036.113l.271.127c.185-.297.411-.578.548-.897zm78.74-90.153c6.737-1.738%2013.572-3.097%2020.367-4.613.44-.099.87-.244%201.303-.368l-.067-.332-29.194%203.928c2.741%201.197%204.853%202.091%207.591%201.385z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27m35.971%20111.33%2081.958%2011.188c-9.374-15.606-18.507-30.813-27.713-46.144Zm89.71-86.383L93.513%2073.339c-.462.696-1.061%201.248-.41%202.321%208.016%2013.237%2015.969%2026.513%2023.942%2039.777%201.258%202.095%202.53%204.182%204.157%206.192l4.834-96.58zM16.252%2066.22c.375.355%201.311.562%201.747.347%207.689-3.779%2015.427-7.474%2022.948-11.564%202.453-1.333%204.339-3.723%206.452-5.661%206.997-6.417%2013.983-12.847%2020.966-19.278.427-.395.933-.777%201.188-1.275%202.508-4.902%204.973-9.829%207.525-14.898-3.043-1.144-5.928-2.263-8.849-3.281-.396-.138-1.02.136-1.449.375-6.761%203.777-13.649%207.353-20.195%2011.472-3.275%202.061-5.943%205.098-8.843%207.743-4.674%204.266-9.342%208.542-13.948%2012.882a24.011%2024.011%200%200%200-3.288%203.854c-3.15%204.587-6.206%209.24-9.402%2014.025%201.786%201.847%203.41%203.613%205.148%205.259zm28.102-6.271-11.556%2048.823%2054.3-34.987zm76.631-34.846-46.15%207.71%2015.662%2038.096zM44.996%2056.644l41.892%2013.6c-5.25-12.79-10.32-25.133-15.495-37.737ZM16.831%2075.643%202.169%20110.691l27.925-.825Zm13.593%2026.096.346-.076c3.353-13.941%206.754-27.786%2010.177-42.272L18.544%2071.035c3.819%209.926%207.891%2020.397%2011.88%2030.704zm84.927-78.897c-4.459-1.181-8.918-2.366-13.379-3.539-6.412-1.686-12.829-3.351-19.237-5.052-.801-.213-1.38-.352-1.851.613-2.265%204.64-4.6%209.245-6.901%2013.868-.071.143-.056.328-.111.687l41.47-6.285zM89.482%2012.288l36.343%2010.054-6.005-17.11-30.285%206.715ZM33.505%20114.007c-4.501-.519-9.122-.042-13.687.037-3.75.063-7.5.206-11.25.323-.386.012-.771.09-1.156.506%2031.003%202.866%2062.005%205.732%2093.007%208.6l.063-.414-29.815-4.07c-12.384-1.691-24.747-3.551-37.162-4.982ZM2.782%2099.994c3.995-9.27%207.973-18.546%2011.984-27.809.401-.929.37-1.56-.415-2.308-1.678-1.597-3.237-3.318-5.071-5.226-2.479%2012.24-4.897%2024.177-7.317%2036.113l.271.127c.185-.297.411-.578.548-.897zm78.74-90.153c6.737-1.738%2013.572-3.097%2020.367-4.613.44-.099.87-.244%201.303-.368l-.067-.332-29.194%203.928c2.741%201.197%204.853%202.091%207.591%201.385z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="java"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M47.617%2098.12c-19.192%205.362%2011.677%2016.439%2036.115%205.969-4.003-1.556-6.874-3.351-6.874-3.351-10.897%202.06-15.952%202.222-25.844%201.092-8.164-.935-3.397-3.71-3.397-3.71zm33.189-10.46c-14.444%202.779-22.787%202.69-33.354%201.6-8.171-.845-2.822-4.805-2.822-4.805-21.137%207.016%2011.767%2014.977%2041.309%206.336-3.14-1.106-5.133-3.131-5.133-3.131zm11.319-60.575c.001%200-42.731%2010.669-22.323%2034.187%206.024%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.793%2015.634-29.58zm9.998%2081.144s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.095.171-4.45-1.938%203.899-4.625%206.526-5.192%202.739-.593%204.303-.485%204.303-.485-4.952-3.487-32.013%206.85-13.742%209.815%2049.821%208.076%2090.817-3.637%2077.896-9.468zM85%2077.896c2.395-1.634%205.703-3.053%205.703-3.053s-9.424%201.685-18.813%202.474c-11.494.964-23.823%201.154-30.012.326-14.652-1.959%208.033-7.348%208.033-7.348s-8.812-.596-19.644%204.644C17.455%2081.134%2061.958%2083.958%2085%2077.896zm5.609%2015.145c-.108.29-.468.616-.468.616%2031.273-8.221%2019.775-28.979%204.822-23.725-1.312.464-2%201.543-2%201.543s.829-.334%202.678-.72c7.559-1.575%2018.389%2010.119-5.032%2022.286zM64.181%2070.069c-4.614-10.429-20.26-19.553.007-35.559C89.459%2014.563%2076.492%201.587%2076.492%201.587c5.23%2020.608-18.451%2026.833-26.999%2039.667-5.821%208.745%202.857%2018.142%2014.688%2028.815zm27.274%2051.748c-19.187%203.612-42.854%203.191-56.887.874%200%200%202.874%202.38%2017.646%203.331%2022.476%201.437%2057-.8%2057.816-11.436.001%200-1.57%204.032-18.575%207.231z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M47.617%2098.12c-19.192%205.362%2011.677%2016.439%2036.115%205.969-4.003-1.556-6.874-3.351-6.874-3.351-10.897%202.06-15.952%202.222-25.844%201.092-8.164-.935-3.397-3.71-3.397-3.71zm33.189-10.46c-14.444%202.779-22.787%202.69-33.354%201.6-8.171-.845-2.822-4.805-2.822-4.805-21.137%207.016%2011.767%2014.977%2041.309%206.336-3.14-1.106-5.133-3.131-5.133-3.131zm11.319-60.575c.001%200-42.731%2010.669-22.323%2034.187%206.024%206.935-1.58%2013.17-1.58%2013.17s15.289-7.891%208.269-17.777c-6.559-9.215-11.587-13.793%2015.634-29.58zm9.998%2081.144s3.529%202.91-3.888%205.159c-14.102%204.272-58.706%205.56-71.095.171-4.45-1.938%203.899-4.625%206.526-5.192%202.739-.593%204.303-.485%204.303-.485-4.952-3.487-32.013%206.85-13.742%209.815%2049.821%208.076%2090.817-3.637%2077.896-9.468zM85%2077.896c2.395-1.634%205.703-3.053%205.703-3.053s-9.424%201.685-18.813%202.474c-11.494.964-23.823%201.154-30.012.326-14.652-1.959%208.033-7.348%208.033-7.348s-8.812-.596-19.644%204.644C17.455%2081.134%2061.958%2083.958%2085%2077.896zm5.609%2015.145c-.108.29-.468.616-.468.616%2031.273-8.221%2019.775-28.979%204.822-23.725-1.312.464-2%201.543-2%201.543s.829-.334%202.678-.72c7.559-1.575%2018.389%2010.119-5.032%2022.286zM64.181%2070.069c-4.614-10.429-20.26-19.553.007-35.559C89.459%2014.563%2076.492%201.587%2076.492%201.587c5.23%2020.608-18.451%2026.833-26.999%2039.667-5.821%208.745%202.857%2018.142%2014.688%2028.815zm27.274%2051.748c-19.187%203.612-42.854%203.191-56.887.874%200%200%202.874%202.38%2017.646%203.331%2022.476%201.437%2057-.8%2057.816-11.436.001%200-1.57%204.032-18.575%207.231z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="php"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M64%2030.332C28.654%2030.332%200%2045.407%200%2064s28.654%2033.668%2064%2033.668c35.345%200%2064-15.075%2064-33.668S99.346%2030.332%2064%2030.332zm-5.982%209.81h7.293v.003l-1.745%208.968h6.496c4.087%200%206.908.714%208.458%202.139%201.553%201.427%202.017%203.737%201.398%206.93l-3.053%2015.7h-7.408l2.902-14.929c.33-1.698.208-2.855-.365-3.473-.573-.617-1.793-.925-3.658-.925h-5.828L58.752%2073.88h-7.291l6.557-33.738zM26.73%2049.114h14.133c4.252%200%207.355%201.116%209.305%203.348%201.95%202.232%202.536%205.346%201.758%209.346-.32%201.649-.863%203.154-1.625%204.52-.763%201.364-1.76%202.613-2.99%203.745-1.468%201.373-3.098%202.353-4.891%202.936-1.794.585-4.08.875-6.858.875h-6.294l-1.745%208.97h-7.35l6.557-33.74zm57.366%200h14.13c4.252%200%207.353%201.116%209.303%203.348h.002c1.95%202.232%202.538%205.346%201.76%209.346-.32%201.649-.861%203.154-1.623%204.52-.763%201.364-1.76%202.613-2.992%203.745-1.467%201.373-3.098%202.353-4.893%202.936-1.794.585-4.077.875-6.855.875h-6.295l-1.744%208.97h-7.35l6.557-33.74zm-51.051%205.325-2.742%2014.12h4.468c2.963%200%205.172-.556%206.622-1.673%201.45-1.116%202.428-2.981%202.937-5.592.485-2.507.264-4.279-.666-5.309-.93-1.032-2.79-1.547-5.584-1.547h-5.035zm57.363%200-2.744%2014.12h4.47c2.965%200%205.17-.556%206.622-1.673%201.449-1.116%202.427-2.981%202.935-5.592.487-2.507.266-4.279-.664-5.309-.93-1.032-2.792-1.547-5.584-1.547h-5.035z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M64%2030.332C28.654%2030.332%200%2045.407%200%2064s28.654%2033.668%2064%2033.668c35.345%200%2064-15.075%2064-33.668S99.346%2030.332%2064%2030.332zm-5.982%209.81h7.293v.003l-1.745%208.968h6.496c4.087%200%206.908.714%208.458%202.139%201.553%201.427%202.017%203.737%201.398%206.93l-3.053%2015.7h-7.408l2.902-14.929c.33-1.698.208-2.855-.365-3.473-.573-.617-1.793-.925-3.658-.925h-5.828L58.752%2073.88h-7.291l6.557-33.738zM26.73%2049.114h14.133c4.252%200%207.355%201.116%209.305%203.348%201.95%202.232%202.536%205.346%201.758%209.346-.32%201.649-.863%203.154-1.625%204.52-.763%201.364-1.76%202.613-2.99%203.745-1.468%201.373-3.098%202.353-4.891%202.936-1.794.585-4.08.875-6.858.875h-6.294l-1.745%208.97h-7.35l6.557-33.74zm57.366%200h14.13c4.252%200%207.353%201.116%209.303%203.348h.002c1.95%202.232%202.538%205.346%201.76%209.346-.32%201.649-.861%203.154-1.623%204.52-.763%201.364-1.76%202.613-2.992%203.745-1.467%201.373-3.098%202.353-4.893%202.936-1.794.585-4.077.875-6.855.875h-6.295l-1.744%208.97h-7.35l6.557-33.74zm-51.051%205.325-2.742%2014.12h4.468c2.963%200%205.172-.556%206.622-1.673%201.45-1.116%202.428-2.981%202.937-5.592.485-2.507.264-4.279-.666-5.309-.93-1.032-2.79-1.547-5.584-1.547h-5.035zm57.363%200-2.744%2014.12h4.47c2.965%200%205.17-.556%206.622-1.673%201.449-1.116%202.427-2.981%202.935-5.592.487-2.507.266-4.279-.664-5.309-.93-1.032-2.792-1.547-5.584-1.547h-5.035z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="csharp"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M117.5%2033.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1%202.9c-.8-.5-1.9-.7-3.1-.7-1.2%200-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.3.9%203.4l-.2.1c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7%201.2%200%202.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c.1-.8%200-1.7-.4-2.6zm-53.5%2070c-21.8%200-39.5-17.7-39.5-39.5S42.2%2024.5%2064%2024.5c14.7%200%2027.5%208.1%2034.3%2020l-13%207.5C81.1%2044.5%2073.1%2039.5%2064%2039.5c-13.5%200-24.5%2011-24.5%2024.5s11%2024.5%2024.5%2024.5c9.1%200%2017.1-5%2021.3-12.4l12.9%207.6c-6.8%2011.8-19.6%2019.8-34.2%2019.8zM115%2062h-3.2l-.9%204h4.1v5h-5l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2%206h3.8l1.2-6h4.8l-1.2%206h2.2v5zm-12.7%204h3.8l.9-4h-3.8z%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M117.5%2033.5l.3-.2c-.6-1.1-1.5-2.1-2.4-2.6L67.1%202.9c-.8-.5-1.9-.7-3.1-.7-1.2%200-2.3.3-3.1.7l-48%2027.9c-1.7%201-2.9%203.5-2.9%205.4v55.7c0%201.1.2%202.3.9%203.4l-.2.1c.5.8%201.2%201.5%201.9%201.9l48.2%2027.9c.8.5%201.9.7%203.1.7%201.2%200%202.3-.3%203.1-.7l48-27.9c1.7-1%202.9-3.5%202.9-5.4V36.1c.1-.8%200-1.7-.4-2.6zm-53.5%2070c-21.8%200-39.5-17.7-39.5-39.5S42.2%2024.5%2064%2024.5c14.7%200%2027.5%208.1%2034.3%2020l-13%207.5C81.1%2044.5%2073.1%2039.5%2064%2039.5c-13.5%200-24.5%2011-24.5%2024.5s11%2024.5%2024.5%2024.5c9.1%200%2017.1-5%2021.3-12.4l12.9%207.6c-6.8%2011.8-19.6%2019.8-34.2%2019.8zM115%2062h-3.2l-.9%204h4.1v5h-5l-1.2%206h-4.9l1.2-6h-3.8l-1.2%206h-4.8l1.2-6H94v-5h3.5l.9-4H94v-5h5.3l1.2-6h4.9l-1.2%206h3.8l1.2-6h4.8l-1.2%206h2.2v5zm-12.7%204h3.8l.9-4h-3.8z%27%2F%3E%3C%2Fsvg%3E")} +#sourcey .lang-icon[data-lang="rust"]{-webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M62.96.242c-.232.135-1.203%201.528-2.16%203.097-2.4%203.94-2.426%203.942-5.65.55-2.098-2.208-2.605-2.612-3.28-2.607-.44.002-.995.152-1.235.332-.24.18-.916%201.612-1.504%203.183-1.346%203.6-1.41%203.715-2.156%203.86-.46.086-1.343-.407-3.463-1.929-1.565-1.125-3.1-2.045-3.411-2.045-1.291%200-1.655.706-2.27%204.4-.78%204.697-.754%204.681-4.988%202.758-1.71-.776-3.33-1.41-3.603-1.41-.274%200-.792.293-1.15.652-.652.652-.653.655-.475%204.246l.178%203.595-.68.364c-.602.322-1.017.283-3.684-.348-3.48-.822-4.216-.8-4.92.15l-.516.693.692%202.964c.38%201.63.745%203.2.814%203.487.067.287-.05.746-.26%201.02-.348.448-.717.49-3.94.44-5.452-.086-5.761.382-3.51%205.3.718%201.56%201.305%202.98%201.305%203.15%200%20.898-.717%201.224-3.794%201.727-1.722.28-3.218.51-3.326.51-.107%200-.43.235-.717.522-.937.936-.671%201.816%201.453%204.814%202.646%203.735%202.642%203.75-1.73%205.421-4.971%201.902-5.072%202.37-1.287%205.96%203.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48%203.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394-1.502%202.117-1.981%203-1.981%203.653%200%201.223.637%201.535%204.44%202.174%203.206.54%203.92.857%203.92%201.741%200%20.182-.588%201.612-1.307%203.177-2.236%204.87-1.981%205.275%203.31%205.275%204.93%200%204.799-.15%203.737%204.294-.8%203.35-.813%203.992-.088%204.715.554.556%201.6.494%204.87-.289%202.499-.596%202.937-.637%203.516-.328l.66.354-.177%203.594c-.178%203.593-.177%203.595.475%204.248.358.36.884.652%201.165.652.282%200%201.903-.63%203.604-1.404%204.22-1.916%204.194-1.932%204.973%202.75.617%203.711.977%204.4%202.294%204.4.327%200%201.83-.88%203.34-1.958%202.654-1.893%203.342-2.19%204.049-1.74.182.115.89%201.67%201.572%203.455%201.003%202.625%201.37%203.31%201.929%203.576%201.062.51%201.72.1%204.218-2.62%203.016-3.286%203.14-3.27%205.602.72%202.72%204.406%203.424%204.396%206.212-.089%202.402-3.864%202.374-3.862%205.621-.47%202.157%202.25%202.616%202.61%203.343%202.61.464%200%201.019-.175%201.23-.388.214-.213.92-1.786%201.568-3.496.649-1.71%201.321-3.2%201.495-3.31.687-.436%201.398-.13%204.048%201.752%201.56%201.108%203.028%201.96%203.377%201.96%201.296%200%201.764-.92%202.302-4.535.46-3.082.554-3.378%201.16-3.685.596-.302.954-.2%203.75%201.07%201.701.77%203.323%201.402%203.604%201.402.282%200%20.816-.302%201.184-.672l.672-.67-.184-3.448c-.177-3.29-.16-3.468.364-3.943.54-.488.596-.486%203.615.204%203.656.835%204.338.857%205.025.17.671-.67.664-.818-.254-4.69-1.03-4.346-1.168-4.19%203.78-4.19%203.374%200%203.75-.049%204.18-.523.718-.793.547-1.702-.896-4.779-.729-1.55-1.32-2.96-1.315-3.135.024-.914.743-1.227%204.065-1.767%202.033-.329%203.553-.71%203.829-.96.923-.833.584-1.918-1.523-4.873-2.642-3.703-2.63-3.738%201.599-5.297%205.064-1.866%205.209-2.488%201.419-6.09-3.51-3.335-3.512-3.317.333-5.677%204.648-2.853%204.655-3.496.082-6.335-3.933-2.44-3.93-2.406-.405-5.753%203.78-3.593%203.678-4.063-1.295-5.965-4.388-1.679-4.402-1.72-1.735-5.38%201.588-2.18%201.982-2.903%201.982-3.65%200-1.306-.586-1.598-4.436-2.22-3.216-.52-3.924-.835-3.924-1.75%200-.174.588-1.574%201.307-3.113%201.406-3.013%201.604-4.22.808-4.94-.428-.387-1-.443-4.067-.392-3.208.054-3.618.008-4.063-.439-.486-.488-.48-.557.278-3.725.931-3.88.935-3.975.17-4.694-.777-.73-1.262-.718-4.826.121-2.597.612-3.027.653-3.617.337l-.67-.36.185-3.582.186-3.58-.67-.67c-.369-.37-.891-.67-1.163-.67-.27%200-1.884.64-3.583%201.421-2.838%201.306-3.143%201.393-3.757%201.072-.612-.32-.714-.637-1.237-3.829-.603-3.693-.977-4.412-2.288-4.412-.311%200-1.853.925-3.426%202.055-2.584%201.856-2.93%202.032-3.574%201.807-.533-.186-.843-.59-1.221-1.599-.28-.742-.817-2.172-1.194-3.177-.762-2.028-1.187-2.482-2.328-2.482-.637%200-1.213.458-3.28%202.604-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75-3.368%200-5.064-4.057-2.66-6.36%201.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07%201.347.18c4.225.56%2012.627%204.25%2017.455%207.666%204.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053%200%20.878.576%202.267%201.13%202.726.234.195%202.457%201.265%204.939%202.378l4.51%202.025.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396-.118%202.656-.76%204.124-2.22%205.075-2.377%201.551-6.304%201.27-7.97-.57-.255-.284-.752-1.705-1.105-3.16-1.03-4.254-2.413-6.64-5.193-8.965-.878-.733-1.595-1.418-1.595-1.522%200-.102.965-.915%202.145-1.803%204.298-3.24%206.77-7.012%207.04-10.747.519-7.126-5.158-13.767-13.602-15.92-2.002-.51-2.857-.526-27.624-.526-14.057%200-25.56-.092-25.56-.204%200-.263%203.125-3.295%204.965-4.816%205.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61%203.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062-1.405%202.356-4.966%202.455-6.373.178-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586-2.877-1.273-2.97-5.206-.155-6.64%201.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679%204.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625%201.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355.002%201.55-.765%202.52-2.67%203.38-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888.898%201.337%201.423%203.076%202.667%208.836%201.05%204.87%201.727%206.46%203.62%208.532%202.345%202.566%201.8%202.466%2013.514%202.466%205.61%200%2010.198.09%2010.198.2%200%20.197-3.863%204.764-4.03%204.764-.048%200-2.066-.422-4.484-.939-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702-.91.448c-1.518.75-6.453%202.292-9.01%202.82-4.228.87-8.828%201.162-12.871.821-6.893-.585-16.02-3.259-16.377-4.8-.075-.327-.535-2.443-1.018-4.704-.485-2.26-1.074-4.404-1.31-4.764-1.13-1.724-2.318-1.83-7.547-.674-1.98.44-3.708.796-3.84.796-.248%200-3.923-4.249-3.923-4.535%200-.09%208.728-.194%2019.396-.23l19.395-.066.07-6.89c.05-4.865-.018-6.997-.23-7.25-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8-3.74%200-5.127-4.88-1.94-6.826%201.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95-2.46%204.034-8.612.827-6.557-3.419%201.01-2.085%203.695-2.837%205.478-1.53%27%2F%3E%3C%2Fsvg%3E");mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20128%20128%27%3E%3Cpath%20fill%3D%27black%27%20d%3D%27M62.96.242c-.232.135-1.203%201.528-2.16%203.097-2.4%203.94-2.426%203.942-5.65.55-2.098-2.208-2.605-2.612-3.28-2.607-.44.002-.995.152-1.235.332-.24.18-.916%201.612-1.504%203.183-1.346%203.6-1.41%203.715-2.156%203.86-.46.086-1.343-.407-3.463-1.929-1.565-1.125-3.1-2.045-3.411-2.045-1.291%200-1.655.706-2.27%204.4-.78%204.697-.754%204.681-4.988%202.758-1.71-.776-3.33-1.41-3.603-1.41-.274%200-.792.293-1.15.652-.652.652-.653.655-.475%204.246l.178%203.595-.68.364c-.602.322-1.017.283-3.684-.348-3.48-.822-4.216-.8-4.92.15l-.516.693.692%202.964c.38%201.63.745%203.2.814%203.487.067.287-.05.746-.26%201.02-.348.448-.717.49-3.94.44-5.452-.086-5.761.382-3.51%205.3.718%201.56%201.305%202.98%201.305%203.15%200%20.898-.717%201.224-3.794%201.727-1.722.28-3.218.51-3.326.51-.107%200-.43.235-.717.522-.937.936-.671%201.816%201.453%204.814%202.646%203.735%202.642%203.75-1.73%205.421-4.971%201.902-5.072%202.37-1.287%205.96%203.525%203.344%203.53%203.295-.461%205.804C.208%2062.8.162%2062.846.085%2063.876c-.093%201.253-.071%201.275%203.538%203.48%203.57%202.18%203.57%202.246.067%205.56C-.078%2076.48.038%2077%205.013%2078.877c4.347%201.64%204.353%201.66%201.702%205.394-1.502%202.117-1.981%203-1.981%203.653%200%201.223.637%201.535%204.44%202.174%203.206.54%203.92.857%203.92%201.741%200%20.182-.588%201.612-1.307%203.177-2.236%204.87-1.981%205.275%203.31%205.275%204.93%200%204.799-.15%203.737%204.294-.8%203.35-.813%203.992-.088%204.715.554.556%201.6.494%204.87-.289%202.499-.596%202.937-.637%203.516-.328l.66.354-.177%203.594c-.178%203.593-.177%203.595.475%204.248.358.36.884.652%201.165.652.282%200%201.903-.63%203.604-1.404%204.22-1.916%204.194-1.932%204.973%202.75.617%203.711.977%204.4%202.294%204.4.327%200%201.83-.88%203.34-1.958%202.654-1.893%203.342-2.19%204.049-1.74.182.115.89%201.67%201.572%203.455%201.003%202.625%201.37%203.31%201.929%203.576%201.062.51%201.72.1%204.218-2.62%203.016-3.286%203.14-3.27%205.602.72%202.72%204.406%203.424%204.396%206.212-.089%202.402-3.864%202.374-3.862%205.621-.47%202.157%202.25%202.616%202.61%203.343%202.61.464%200%201.019-.175%201.23-.388.214-.213.92-1.786%201.568-3.496.649-1.71%201.321-3.2%201.495-3.31.687-.436%201.398-.13%204.048%201.752%201.56%201.108%203.028%201.96%203.377%201.96%201.296%200%201.764-.92%202.302-4.535.46-3.082.554-3.378%201.16-3.685.596-.302.954-.2%203.75%201.07%201.701.77%203.323%201.402%203.604%201.402.282%200%20.816-.302%201.184-.672l.672-.67-.184-3.448c-.177-3.29-.16-3.468.364-3.943.54-.488.596-.486%203.615.204%203.656.835%204.338.857%205.025.17.671-.67.664-.818-.254-4.69-1.03-4.346-1.168-4.19%203.78-4.19%203.374%200%203.75-.049%204.18-.523.718-.793.547-1.702-.896-4.779-.729-1.55-1.32-2.96-1.315-3.135.024-.914.743-1.227%204.065-1.767%202.033-.329%203.553-.71%203.829-.96.923-.833.584-1.918-1.523-4.873-2.642-3.703-2.63-3.738%201.599-5.297%205.064-1.866%205.209-2.488%201.419-6.09-3.51-3.335-3.512-3.317.333-5.677%204.648-2.853%204.655-3.496.082-6.335-3.933-2.44-3.93-2.406-.405-5.753%203.78-3.593%203.678-4.063-1.295-5.965-4.388-1.679-4.402-1.72-1.735-5.38%201.588-2.18%201.982-2.903%201.982-3.65%200-1.306-.586-1.598-4.436-2.22-3.216-.52-3.924-.835-3.924-1.75%200-.174.588-1.574%201.307-3.113%201.406-3.013%201.604-4.22.808-4.94-.428-.387-1-.443-4.067-.392-3.208.054-3.618.008-4.063-.439-.486-.488-.48-.557.278-3.725.931-3.88.935-3.975.17-4.694-.777-.73-1.262-.718-4.826.121-2.597.612-3.027.653-3.617.337l-.67-.36.185-3.582.186-3.58-.67-.67c-.369-.37-.891-.67-1.163-.67-.27%200-1.884.64-3.583%201.421-2.838%201.306-3.143%201.393-3.757%201.072-.612-.32-.714-.637-1.237-3.829-.603-3.693-.977-4.412-2.288-4.412-.311%200-1.853.925-3.426%202.055-2.584%201.856-2.93%202.032-3.574%201.807-.533-.186-.843-.59-1.221-1.599-.28-.742-.817-2.172-1.194-3.177-.762-2.028-1.187-2.482-2.328-2.482-.637%200-1.213.458-3.28%202.604-3.25%203.375-3.261%203.374-5.65-.545C66.073%201.78%2065.075.382%2064.81.24c-.597-.32-1.3-.32-1.85.002m2.96%2011.798c2.83%202.014%201.326%206.75-2.144%206.75-3.368%200-5.064-4.057-2.66-6.36%201.358-1.3%203.304-1.459%204.805-.39m-3.558%2012.507c1.855.705%202.616.282%206.852-3.8l3.182-3.07%201.347.18c4.225.56%2012.627%204.25%2017.455%207.666%204.436%203.14%2010.332%209.534%2012.845%2013.93l.537.942-2.38%205.364c-1.31%202.95-2.382%205.673-2.382%206.053%200%20.878.576%202.267%201.13%202.726.234.195%202.457%201.265%204.939%202.378l4.51%202.025.178%201.148c.23%201.495.26%205.167.052%206.21l-.163.816h-2.575c-2.987%200-2.756-.267-2.918%203.396-.118%202.656-.76%204.124-2.22%205.075-2.377%201.551-6.304%201.27-7.97-.57-.255-.284-.752-1.705-1.105-3.16-1.03-4.254-2.413-6.64-5.193-8.965-.878-.733-1.595-1.418-1.595-1.522%200-.102.965-.915%202.145-1.803%204.298-3.24%206.77-7.012%207.04-10.747.519-7.126-5.158-13.767-13.602-15.92-2.002-.51-2.857-.526-27.624-.526-14.057%200-25.56-.092-25.56-.204%200-.263%203.125-3.295%204.965-4.816%205.054-4.178%2011.618-7.465%2018.417-9.22l2.35-.61%203.34%203.387c1.839%201.863%203.64%203.5%204.003%203.637M20.3%2046.34c1.539%201.008%202.17%203.54%201.26%205.062-1.405%202.356-4.966%202.455-6.373.178-2.046-3.309%201.895-7.349%205.113-5.24m90.672.13c4.026%202.454.906%208.493-3.404%206.586-2.877-1.273-2.97-5.206-.155-6.64%201.174-.6%202.523-.579%203.56.053M32.163%2061.5v15.02h-13.28l-.526-2.285c-1.036-4.5-1.472-9.156-1.211-12.969l.182-2.679%204.565-2.047c2.864-1.283%204.706-2.262%204.943-2.625%201.038-1.584.94-2.715-.518-5.933l-.68-1.502h6.523V61.5M70.39%2047.132c2.843.74%204.345%202.245%204.349%204.355.002%201.55-.765%202.52-2.67%203.38-1.348.61-1.562.625-10.063.708l-8.686.084v-8.92h7.782c6.078%200%208.112.086%209.288.393m-2.934%2021.554c1.41.392%203.076%201.616%203.93%202.888.898%201.337%201.423%203.076%202.667%208.836%201.05%204.87%201.727%206.46%203.62%208.532%202.345%202.566%201.8%202.466%2013.514%202.466%205.61%200%2010.198.09%2010.198.2%200%20.197-3.863%204.764-4.03%204.764-.048%200-2.066-.422-4.484-.939-6.829-1.458-7.075-1.287-8.642%206.032l-1.008%204.702-.91.448c-1.518.75-6.453%202.292-9.01%202.82-4.228.87-8.828%201.162-12.871.821-6.893-.585-16.02-3.259-16.377-4.8-.075-.327-.535-2.443-1.018-4.704-.485-2.26-1.074-4.404-1.31-4.764-1.13-1.724-2.318-1.83-7.547-.674-1.98.44-3.708.796-3.84.796-.248%200-3.923-4.249-3.923-4.535%200-.09%208.728-.194%2019.396-.23l19.395-.066.07-6.89c.05-4.865-.018-6.997-.23-7.25-.234-.284-1.485-.358-6.011-.358H53.32v-8.36l6.597.001c3.626.002%207.02.12%207.539.264M37.57%20100.02c3.084%201.88%201.605%206.804-2.043%206.8-3.74%200-5.127-4.88-1.94-6.826%201.055-.643%202.908-.63%203.983.026m56.48.206c1.512%201.108%202.015%203.413%201.079%204.95-2.46%204.034-8.612.827-6.557-3.419%201.01-2.085%203.695-2.837%205.478-1.53%27%2F%3E%3C%2Fsvg%3E")} \ No newline at end of file diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-search.js b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-search.js new file mode 100644 index 00000000..25be81c1 --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-search.js @@ -0,0 +1,66 @@ +async function e(e) { + let t = new Worker(new URL( + /* @vite-ignore */ + new URL("assets/search-worker-Dzc2-hN_.js", import.meta.url).href, + "" + import.meta.url + ), { type: "module" }), n = 0, r = !1, i = /* @__PURE__ */ new Map(); + function a() { + if (!r) { + r = !0, t.terminate(); + for (let e of i.values()) e.reject(/* @__PURE__ */ Error("Search closed")); + i.clear(), window.removeEventListener("pagehide", a), document.removeEventListener("astro:before-swap", a); + } + } + t.addEventListener("message", (e) => { + let t = e.data, n = i.get(t.id); + n && (i.delete(t.id), t.error === void 0 ? n.resolve({ + rows: t.rows, + more: t.more === !0 + }) : n.reject(Error(t.error))); + }), t.addEventListener("error", a), t.addEventListener("messageerror", a), window.addEventListener("pagehide", a, { once: !0 }), document.addEventListener("astro:before-swap", a, { once: !0 }); + function o(e) { + let a = ++n; + return r ? { + id: a, + reply: Promise.reject(/* @__PURE__ */ Error("Search closed")) + } : { + id: a, + reply: new Promise((n, r) => { + i.set(a, { + resolve: n, + reject: r + }), t.postMessage({ + ...e, + id: a + }); + }) + }; + } + let s = 0; + try { + let { rows: t } = await o({ + kind: "load", + urls: e.map((e) => new URL(e, document.baseURI).href) + }).reply; + return { + rows: t, + query(e) { + let { id: t, reply: n } = o({ + kind: "query", + query: e + }); + return s = t, n; + }, + more() { + return o({ + kind: "more", + of: s + }).reply; + }, + dispose: a + }; + } catch (e) { + throw a(), e; + } +} +export { e as loadSearch }; diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-theme.js b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-theme.js new file mode 100644 index 00000000..d20b7092 --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey-theme.js @@ -0,0 +1,41 @@ +// One preference owner, loaded before paint and shared by controls and media. +(function () { + var root = document.documentElement; + root.classList.add("sourcey-js"); + var script = document.currentScript; + var key = script && script.getAttribute('data-storage-key') || 'sourcey-theme'; + var initial = script && script.getAttribute('data-default') || 'system'; + var system = window.matchMedia('(prefers-color-scheme: dark)'); + var selected; + try { selected = localStorage.getItem(key); } catch { /* Storage may be disabled by the browser. */ } + if (selected !== 'light' && selected !== 'dark') selected = null; + function apply() { + var dark = (selected || (initial === 'system' ? (system.matches ? 'dark' : 'light') : initial)) === 'dark'; + root.classList.toggle('dark', dark); + root.style.colorScheme = dark ? 'dark' : 'light'; + var button = document.getElementById('theme-toggle'); + if (button) { + var label = button.getAttribute(dark ? 'data-light-label' : 'data-dark-label') || (dark ? 'Switch to light mode' : 'Switch to dark mode'); + button.setAttribute('aria-label', label); button.setAttribute('title', label); + } + document.querySelectorAll('[data-sourcey-picture] source').forEach(function (source) { + var value = source.getAttribute(dark ? 'data-dark' : 'data-light'); + if (value && source.getAttribute('srcset') !== value) source.setAttribute('srcset', value); + }); + document.dispatchEvent(new CustomEvent('sourcey:themechange', { detail: { theme: dark ? 'dark' : 'light' } })); + } + apply(); + system.addEventListener('change', function () { if (!selected && initial === 'system') apply(); }); + window.addEventListener('storage', function (event) { + if (event.key !== key) return; + selected = event.newValue === 'light' || event.newValue === 'dark' ? event.newValue : null; apply(); + }); + document.addEventListener('click', function (event) { + if (!(event.target instanceof Element) || !event.target.closest('#theme-toggle')) return; + selected = root.classList.contains('dark') ? 'light' : 'dark'; + try { localStorage.setItem(key, selected); } catch { /* Storage may be disabled by the browser. */ } + apply(); + }); + if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', apply, { once: true }); + else apply(); +})(); diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.css b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.css new file mode 100644 index 00000000..6c0a96e7 --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.css @@ -0,0 +1,3 @@ +/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */ +@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--sourcey-diagram-fade-start:0px;--sourcey-diagram-fade-end:0px}}}@layer theme{:root,:host{--font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--font-mono:ui-monospace, "SF Mono", "Cascadia Code", Consolas, "Liberation Mono", Menlo, monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-orange-100:oklch(95.4% .038 75.164);--color-orange-300:oklch(83.7% .128 66.29);--color-orange-400:oklch(75% .183 55.934);--color-orange-900:oklch(40.8% .123 38.172);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-yellow-300:oklch(90.5% .182 98.111);--color-yellow-400:oklch(85.2% .199 91.936);--color-green-100:oklch(96.2% .044 156.743);--color-green-300:oklch(87.1% .15 154.449);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-900:oklch(37.8% .077 168.94);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-indigo-300:oklch(78.5% .115 274.713);--color-indigo-600:oklch(51.1% .262 276.966);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-700:oklch(51.4% .222 16.935);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-900:oklch(41% .159 10.272);--color-gray-50:245 245 250;--color-gray-100:241 241 245;--color-gray-200:225 225 229;--color-gray-300:209 209 213;--color-gray-400:161 161 165;--color-gray-500:115 115 119;--color-gray-600:83 83 87;--color-gray-700:65 65 69;--color-gray-800:40 40 44;--color-gray-900:25 25 30;--color-gray-950:13 13 17;--color-stone-50:250 250 249;--color-stone-100:245 245 244;--color-stone-200:231 229 228;--color-stone-400:168 162 158;--color-stone-500:120 113 108;--color-stone-600:87 83 78;--color-stone-700:68 64 60;--color-stone-950:12 10 9;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--container-3xl:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-3xl:1.875rem;--text-3xl--line-height:calc(2.25 / 1.875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--radius-md:.375rem;--radius-lg:.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--radius:.75rem;--sidebar-width:18rem;--header-height:7rem;--toc-width:19rem;--toc-inner-width:16.5rem;--content-padding:2.5rem;--content-max-width:44rem;--sourcey-control-height:2.25rem;--sourcey-control-height-small:2rem;--sourcey-control-height-touch:2.75rem;--sourcey-control-radius:.5rem;--color-primary:99 102 241;--color-primary-light:129 140 248;--color-primary-dark:79 70 229;--color-primary-ink:79 70 229;--color-background-light:255 255 255;--color-background-dark:11 12 16;--color-code-block-light:255 255 255;--color-code-block-dark:11 12 14;--color-success:34 197 94;--color-overlay:0 0 0;--color-border-dark-subtle:255 255 255;--color-surface-dark-tint:255 255 255;--method-get:#16a34a;--method-delete:#dc2626}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0{top:0}.top-3{top:calc(var(--spacing) * 3)}.top-\[2\.75rem\]{top:2.75rem}.top-full{top:100%}.right-0{right:0}.right-4{right:calc(var(--spacing) * 4)}.bottom-0{bottom:0}.left-0{left:0}.left-1\/2{left:50%}.-z-10{z-index:calc(10 * -1)}.z-10{z-index:10}.z-20{z-index:20}.z-30{z-index:30}.z-\[21\]{z-index:21}.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-1{margin-block:var(--spacing)}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);margin-top:1.2em;margin-bottom:1.2em;font-size:1.25em;line-height:1.6}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:decimal}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em;list-style-type:disc}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.25em;font-weight:600}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em;font-style:italic;font-weight:500}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:0;margin-bottom:.888889em;font-size:2.25em;font-weight:800;line-height:1.11111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:2em;margin-bottom:1em;font-size:1.5em;font-weight:700;line-height:1.33333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.6em;margin-bottom:.6em;font-size:1.25em;font-weight:600;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);margin-top:1.5em;margin-bottom:.5em;font-weight:600;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em;display:block}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-kbd);box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;border-radius:.3125rem;padding-inline-start:.375em;font-family:inherit;font-size:.875em;font-weight:500}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);padding-top:.857143em;padding-inline-end:1.14286em;padding-bottom:.857143em;border-radius:.375rem;margin-top:1.71429em;margin-bottom:1.71429em;padding-inline-start:1.14286em;font-size:.875em;font-weight:400;line-height:1.71429;overflow-x:auto}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit;background-color:#0000;border-width:0;border-radius:0;padding:0}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before,.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){table-layout:auto;width:100%;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.71429}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);vertical-align:bottom;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em;font-weight:600}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);margin-top:.857143em;font-size:.875em;line-height:1.42857}.prose{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733);font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em;padding-inline-end:.571429em;padding-bottom:.571429em;padding-inline-start:.571429em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-sm{font-size:.875rem;line-height:1.71429}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.888889em;margin-bottom:.888889em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.33333em;margin-bottom:1.33333em;padding-inline-start:1.11111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:.8em;font-size:2.14286em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.6em;margin-bottom:.8em;font-size:1.42857em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.55556em;margin-bottom:.444444em;font-size:1.28571em;line-height:1.55556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.42857em;margin-bottom:.571429em;line-height:1.42857}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.142857em;padding-inline-end:.357143em;padding-bottom:.142857em;border-radius:.3125rem;padding-inline-start:.357143em;font-size:.857143em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;border-radius:.25rem;margin-top:1.66667em;margin-bottom:1.66667em;padding-inline-start:1em;font-size:.857143em;line-height:1.66667}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em;padding-inline-start:1.57143em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;margin-bottom:.285714em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.428571em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.14286em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.571429em;margin-bottom:.571429em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em;margin-bottom:1.14286em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.14286em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.285714em;padding-inline-start:1.57143em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.85714em;margin-bottom:2.85714em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)),.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.857143em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.666667em;padding-inline-end:1em;padding-bottom:.666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.71429em;margin-bottom:1.71429em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.666667em;font-size:.857143em;line-height:1.33333}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.-mt-10{margin-top:calc(var(--spacing) * -10)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-12{margin-top:calc(var(--spacing) * 12)}.mt-16{margin-top:calc(var(--spacing) * 16)}.mt-px{margin-top:1px}.mb-0{margin-bottom:0}.mb-1\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-2\.5{margin-bottom:calc(var(--spacing) * 2.5)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-8{margin-bottom:calc(var(--spacing) * 8)}.mb-14{margin-bottom:calc(var(--spacing) * 14)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-\[26px\]{width:26px;height:26px}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-16{height:calc(var(--spacing) * 16)}.h-\[1\.5px\]{height:1.5px}.h-\[1lh\]{height:1lh}.h-\[var\(--sourcey-control-height\)\]{height:var(--sourcey-control-height)}.h-full{height:100%}.max-h-full{max-height:100%}.min-h-11{min-height:calc(var(--spacing) * 11)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-8{width:calc(var(--spacing) * 8)}.w-11{width:calc(var(--spacing) * 11)}.w-\[16\.5rem\]{width:16.5rem}.w-\[19rem\]{width:19rem}.w-auto{width:auto}.w-full{width:100%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-\[28rem\]{max-width:28rem}.max-w-\[92rem\]{max-width:92rem}.max-w-none{max-width:none}.min-w-0{min-width:0}.min-w-4{min-width:calc(var(--spacing) * 4)}.min-w-\[42px\]{min-width:42px}.min-w-\[43px\]{min-width:43px}.min-w-\[120px\]{min-width:120px}.min-w-\[140px\]{min-width:140px}.flex-1{flex:1}.flex-none{flex:none}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row-reverse{flex-direction:row-reverse}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-3\.5{gap:calc(var(--spacing) * 3.5)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-8{gap:calc(var(--spacing) * 8)}:where(.space-y-0\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * .5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * .5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2.5) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2.5) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-px>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(1px * var(--tw-space-y-reverse));margin-block-end:calc(1px * calc(1 - var(--tw-space-y-reverse)))}.gap-x-0\.5{column-gap:calc(var(--spacing) * .5)}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}:where(.space-x-3>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)))}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.rounded-\[var\(--radius\)\]{border-radius:var(--radius)}.rounded-\[var\(--sourcey-control-radius\)\]{border-radius:var(--sourcey-control-radius)}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-\[rgb\(var\(--color-gray-100\)\)\]{border-color:rgb(var(--color-gray-100))}.border-\[rgb\(var\(--color-gray-200\)\/0\.7\)\]{border-color:rgb(var(--color-gray-200)/.7)}.border-\[rgb\(var\(--color-stone-200\)\)\]{border-color:rgb(var(--color-stone-200))}.bg-\[rgb\(var\(--color-background-light\)\)\]{background-color:rgb(var(--color-background-light))}.bg-\[rgb\(var\(--color-code-block-light\)\)\]{background-color:rgb(var(--color-code-block-light))}.bg-\[rgb\(var\(--color-gray-100\)\/0\.5\)\]{background-color:rgb(var(--color-gray-100)/.5)}.bg-\[rgb\(var\(--color-primary\)\)\]{background-color:rgb(var(--color-primary))}.bg-\[rgb\(var\(--color-primary-dark\)\)\]{background-color:rgb(var(--color-primary-dark))}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-100\/50{background-color:#fef3c680}@supports (color:color-mix(in lab, red, red)){.bg-amber-100\/50{background-color:color-mix(in oklab, var(--color-amber-100) 50%, transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-100\/50{background-color:#dbeafe80}@supports (color:color-mix(in lab, red, red)){.bg-blue-100\/50{background-color:color-mix(in oklab, var(--color-blue-100) 50%, transparent)}}.bg-blue-500{background-color:var(--color-blue-500)}.bg-gray-400\/20{background-color:color-mix(in srgb, 161 161 165 20%, transparent)}@supports (color:color-mix(in lab, red, red)){.bg-gray-400\/20{background-color:color-mix(in oklab, var(--color-gray-400) 20%, transparent)}}.bg-green-100{background-color:var(--color-green-100)}.bg-green-100\/50{background-color:#dcfce780}@supports (color:color-mix(in lab, red, red)){.bg-green-100\/50{background-color:color-mix(in oklab, var(--color-green-100) 50%, transparent)}}.bg-green-500{background-color:var(--color-green-500)}.bg-purple-500{background-color:var(--color-purple-500)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-100\/50{background-color:#ffe2e280}@supports (color:color-mix(in lab, red, red)){.bg-red-100\/50{background-color:color-mix(in oklab, var(--color-red-100) 50%, transparent)}}.object-contain{object-fit:contain}.p-2{padding:calc(var(--spacing) * 2)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-3\.5{padding-inline:calc(var(--spacing) * 3.5)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-8{padding-block:calc(var(--spacing) * 8)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-6{padding-top:calc(var(--spacing) * 6)}.pt-10{padding-top:calc(var(--spacing) * 10)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-8{padding-bottom:calc(var(--spacing) * 8)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-3\.5{padding-left:calc(var(--spacing) * 3.5)}.pl-10{padding-left:calc(var(--spacing) * 10)}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[1\.35rem\]{--tw-leading:1.35rem;line-height:1.35rem}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\[0\.12em\]{--tw-tracking:.12em;letter-spacing:.12em}.tracking-\[0\.14em\]{--tw-tracking:.14em;letter-spacing:.14em}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.\[overflow-wrap\:break-word\],.break-words{overflow-wrap:break-word}.\[word-break\:break-word\]{word-break:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\[rgb\(var\(--color-gray-400\)\)\]{color:rgb(var(--color-gray-400))}.text-\[rgb\(var\(--color-gray-500\)\)\]{color:rgb(var(--color-gray-500))}.text-\[rgb\(var\(--color-gray-600\)\)\]{color:rgb(var(--color-gray-600))}.text-\[rgb\(var\(--color-gray-700\)\)\]{color:rgb(var(--color-gray-700))}.text-\[rgb\(var\(--color-gray-800\)\)\]{color:rgb(var(--color-gray-800))}.text-\[rgb\(var\(--color-gray-900\)\)\]{color:rgb(var(--color-gray-900))}.text-\[rgb\(var\(--color-primary-ink\)\)\]{color:rgb(var(--color-primary-ink))}.text-\[rgb\(var\(--color-stone-400\)\)\]{color:rgb(var(--color-stone-400))}.text-\[rgb\(var\(--color-stone-500\)\)\]{color:rgb(var(--color-stone-500))}.text-\[rgb\(var\(--color-stone-600\)\)\]{color:rgb(var(--color-stone-600))}.text-\[rgb\(var\(--color-stone-950\)\)\]{color:rgb(var(--color-stone-950))}.text-amber-700{color:var(--color-amber-700)}.text-amber-900{color:var(--color-amber-900)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-gray-700{color:var(--color-gray-700)}.text-green-700{color:var(--color-green-700)}.text-green-800{color:var(--color-green-800)}.text-red-700{color:var(--color-red-700)}.text-red-800{color:var(--color-red-800)}.text-white{color:var(--color-white)}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-\[rgb\(var\(--color-gray-400\)\/0\.3\)\]{--tw-ring-color:rgb(var(--color-gray-400)/.3)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.outline-0{outline-style:var(--tw-outline-style);outline-width:0}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.prose-gray{--tw-prose-body:oklch(37.3% .034 259.733);--tw-prose-headings:oklch(21% .034 264.665);--tw-prose-lead:oklch(44.6% .03 256.802);--tw-prose-links:oklch(21% .034 264.665);--tw-prose-bold:oklch(21% .034 264.665);--tw-prose-counters:oklch(55.1% .027 264.364);--tw-prose-bullets:oklch(87.2% .01 258.338);--tw-prose-hr:oklch(92.8% .006 264.531);--tw-prose-quotes:oklch(21% .034 264.665);--tw-prose-quote-borders:oklch(92.8% .006 264.531);--tw-prose-captions:oklch(55.1% .027 264.364);--tw-prose-kbd:oklch(21% .034 264.665);--tw-prose-kbd-shadows:oklab(21% -.00316127 -.0338527/.1);--tw-prose-code:oklch(21% .034 264.665);--tw-prose-pre-code:oklch(92.8% .006 264.531);--tw-prose-pre-bg:oklch(27.8% .033 256.848);--tw-prose-th-borders:oklch(87.2% .01 258.338);--tw-prose-td-borders:oklch(92.8% .006 264.531);--tw-prose-invert-body:oklch(87.2% .01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% .022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% .022 261.325);--tw-prose-invert-bullets:oklch(44.6% .03 256.802);--tw-prose-invert-hr:oklch(37.3% .034 259.733);--tw-prose-invert-quotes:oklch(96.7% .003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% .034 259.733);--tw-prose-invert-captions:oklch(70.7% .022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:#ffffff1a;--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% .01 258.338);--tw-prose-invert-pre-bg:#00000080;--tw-prose-invert-th-borders:oklch(44.6% .03 256.802);--tw-prose-invert-td-borders:oklch(37.3% .034 259.733)}.select-none{-webkit-user-select:none;user-select:none}.\[text-shadow\:-0\.2px_0_0_currentColor\,0\.2px_0_0_currentColor\]{text-shadow:-.2px 0,.2px 0}@media (hover:hover){.group-hover\:bg-\[rgb\(var\(--color-gray-200\)\)\]:is(:where(.group):hover *){background-color:rgb(var(--color-gray-200))}.group-hover\:bg-\[rgb\(var\(--color-stone-200\)\/0\.5\)\]:is(:where(.group):hover *){background-color:rgb(var(--color-stone-200)/.5)}.group-hover\:text-\[rgb\(var\(--color-primary-ink\)\)\]:is(:where(.group):hover *){color:rgb(var(--color-primary-ink))}.group-hover\/copy\:text-\[rgb\(var\(--color-stone-500\)\)\]:is(:where(.group\/copy):hover *){color:rgb(var(--color-stone-500))}.peer-hover\:opacity-100:is(:where(.peer):hover~*){opacity:1}}.first\:mt-0:first-child{margin-top:0}@media (hover:hover){.hover\:border-\[rgb\(var\(--color-primary\)\/0\.4\)\]:hover{border-color:rgb(var(--color-primary)/.4)}.hover\:bg-\[rgb\(var\(--color-stone-100\)\)\]:hover{background-color:rgb(var(--color-stone-100))}.hover\:text-\[rgb\(var\(--color-gray-600\)\)\]:hover{color:rgb(var(--color-gray-600))}.hover\:text-\[rgb\(var\(--color-gray-700\)\)\]:hover{color:rgb(var(--color-gray-700))}.hover\:text-\[rgb\(var\(--color-gray-800\)\)\]:hover{color:rgb(var(--color-gray-800))}.hover\:text-\[rgb\(var\(--color-gray-900\)\)\]:hover{color:rgb(var(--color-gray-900))}.hover\:text-\[rgb\(var\(--color-primary-ink\)\)\]:hover{color:rgb(var(--color-primary-ink))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-90:hover{opacity:.9}.hover\:ring-\[rgb\(var\(--color-gray-600\)\/0\.3\)\]:hover{--tw-ring-color:rgb(var(--color-gray-600)/.3)}}@media (width>=40rem){.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.sm\:text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}}@media (width>=64rem){.lg\:sticky{position:sticky}.lg\:mx-0{margin-inline:0}.lg\:mx-auto{margin-inline:auto}.lg\:mt-8{margin-top:calc(var(--spacing) * 8)}.lg\:mr-4{margin-right:calc(var(--spacing) * 4)}.lg\:-ml-12{margin-left:calc(var(--spacing) * -12)}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-8{height:calc(var(--spacing) * 8)}.lg\:w-8{width:calc(var(--spacing) * 8)}.lg\:w-\[calc\(100\%\+2rem\)\]{width:calc(100% + 2rem)}.lg\:gap-0{gap:0}.lg\:px-8{padding-inline:calc(var(--spacing) * 8)}.lg\:pr-0{padding-right:0}.lg\:pl-\[23\.7rem\]{padding-left:23.7rem}}@media (width>=80rem){.xl\:mr-0{margin-right:0}.xl\:mr-4{margin-right:calc(var(--spacing) * 4)}.xl\:block{display:block}.xl\:flex{display:flex}.xl\:w-\[calc\(100\%-28rem\)\]{width:calc(100% - 28rem)}.xl\:flex-col{flex-direction:column}}.dark\:block:where(.dark,.dark *){display:block}.dark\:hidden:where(.dark,.dark *){display:none}.dark\:border-\[rgb\(255_255_255\/0\.1\)\]:where(.dark,.dark *){border-color:#ffffff1a}.dark\:border-\[rgb\(var\(--color-border-dark-subtle\)\/0\.1\)\]:where(.dark,.dark *){border-color:rgb(var(--color-border-dark-subtle)/.1)}.dark\:border-\[rgb\(var\(--color-gray-300\)\/0\.06\)\]:where(.dark,.dark *){border-color:rgb(var(--color-gray-300)/.06)}.dark\:border-\[rgb\(var\(--color-gray-800\)\)\]:where(.dark,.dark *){border-color:rgb(var(--color-gray-800))}.dark\:border-\[rgb\(var\(--color-gray-800\)\/0\.5\)\]:where(.dark,.dark *){border-color:rgb(var(--color-gray-800)/.5)}.dark\:bg-\[rgb\(var\(--color-background-dark\)\)\]:where(.dark,.dark *){background-color:rgb(var(--color-background-dark))}.dark\:bg-\[rgb\(var\(--color-code-block-dark\)\)\]:where(.dark,.dark *){background-color:rgb(var(--color-code-block-dark))}.dark\:bg-\[rgb\(var\(--color-primary-light\)\)\]:where(.dark,.dark *){background-color:rgb(var(--color-primary-light))}.dark\:bg-\[rgb\(var\(--color-surface-dark-tint\)\/0\.05\)\]:where(.dark,.dark *){background-color:rgb(var(--color-surface-dark-tint)/.05)}.dark\:bg-amber-400\/10:where(.dark,.dark *){background-color:#fcbb001a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-amber-400\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-amber-400) 10%, transparent)}}.dark\:bg-blue-400:where(.dark,.dark *){background-color:var(--color-blue-400)}.dark\:bg-blue-400\/10:where(.dark,.dark *){background-color:#54a2ff1a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-400\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-blue-400) 10%, transparent)}}.dark\:bg-blue-400\/20:where(.dark,.dark *){background-color:#54a2ff33}@supports (color:color-mix(in lab, red, red)){.dark\:bg-blue-400\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-blue-400) 20%, transparent)}}.dark\:bg-green-400:where(.dark,.dark *){background-color:var(--color-green-400)}.dark\:bg-green-400\/10:where(.dark,.dark *){background-color:#05df721a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-green-400\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-green-400) 10%, transparent)}}.dark\:bg-green-400\/20:where(.dark,.dark *){background-color:#05df7233}@supports (color:color-mix(in lab, red, red)){.dark\:bg-green-400\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-green-400) 20%, transparent)}}.dark\:bg-purple-400:where(.dark,.dark *){background-color:var(--color-purple-400)}.dark\:bg-red-400\/10:where(.dark,.dark *){background-color:#ff65681a}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-400\/10:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-red-400) 10%, transparent)}}.dark\:bg-red-400\/20:where(.dark,.dark *){background-color:#ff656833}@supports (color:color-mix(in lab, red, red)){.dark\:bg-red-400\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-red-400) 20%, transparent)}}.dark\:bg-yellow-400\/20:where(.dark,.dark *){background-color:#fac80033}@supports (color:color-mix(in lab, red, red)){.dark\:bg-yellow-400\/20:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-yellow-400) 20%, transparent)}}.dark\:text-\[rgb\(255_255_255\/0\.4\)\]:where(.dark,.dark *){color:#fff6}.dark\:text-\[rgb\(var\(--color-gray-50\)\)\]:where(.dark,.dark *){color:rgb(var(--color-gray-50))}.dark\:text-\[rgb\(var\(--color-gray-200\)\)\]:where(.dark,.dark *){color:rgb(var(--color-gray-200))}.dark\:text-\[rgb\(var\(--color-gray-300\)\)\]:where(.dark,.dark *){color:rgb(var(--color-gray-300))}.dark\:text-\[rgb\(var\(--color-gray-400\)\)\]:where(.dark,.dark *){color:rgb(var(--color-gray-400))}.dark\:text-\[rgb\(var\(--color-gray-500\)\)\]:where(.dark,.dark *){color:rgb(var(--color-gray-500))}.dark\:text-\[rgb\(var\(--color-primary-light\)\)\]:where(.dark,.dark *){color:rgb(var(--color-primary-light))}.dark\:text-\[rgb\(var\(--color-stone-50\)\)\]:where(.dark,.dark *){color:rgb(var(--color-stone-50))}.dark\:text-\[rgb\(var\(--color-stone-400\)\)\]:where(.dark,.dark *){color:rgb(var(--color-stone-400))}.dark\:text-amber-300:where(.dark,.dark *){color:var(--color-amber-300)}.dark\:text-blue-300:where(.dark,.dark *){color:var(--color-blue-300)}.dark\:text-gray-400:where(.dark,.dark *){color:var(--color-gray-400)}.dark\:text-green-300:where(.dark,.dark *){color:var(--color-green-300)}.dark\:text-red-300:where(.dark,.dark *){color:var(--color-red-300)}.dark\:text-yellow-300:where(.dark,.dark *){color:var(--color-yellow-300)}.dark\:ring-\[rgb\(var\(--color-gray-600\)\/0\.3\)\]:where(.dark,.dark *){--tw-ring-color:rgb(var(--color-gray-600)/.3)}.dark\:brightness-110:where(.dark,.dark *){--tw-brightness:brightness(110%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.dark\:prose-invert:where(.dark,.dark *){--tw-prose-body:var(--tw-prose-invert-body);--tw-prose-headings:var(--tw-prose-invert-headings);--tw-prose-lead:var(--tw-prose-invert-lead);--tw-prose-links:var(--tw-prose-invert-links);--tw-prose-bold:var(--tw-prose-invert-bold);--tw-prose-counters:var(--tw-prose-invert-counters);--tw-prose-bullets:var(--tw-prose-invert-bullets);--tw-prose-hr:var(--tw-prose-invert-hr);--tw-prose-quotes:var(--tw-prose-invert-quotes);--tw-prose-quote-borders:var(--tw-prose-invert-quote-borders);--tw-prose-captions:var(--tw-prose-invert-captions);--tw-prose-kbd:var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows:var(--tw-prose-invert-kbd-shadows);--tw-prose-code:var(--tw-prose-invert-code);--tw-prose-pre-code:var(--tw-prose-invert-pre-code);--tw-prose-pre-bg:var(--tw-prose-invert-pre-bg);--tw-prose-th-borders:var(--tw-prose-invert-th-borders);--tw-prose-td-borders:var(--tw-prose-invert-td-borders)}@media (hover:hover){.dark\:group-hover\:bg-\[rgb\(var\(--color-gray-700\)\)\]:where(.dark,.dark *):is(:where(.group):hover *){background-color:rgb(var(--color-gray-700))}.dark\:group-hover\:bg-\[rgb\(var\(--color-stone-700\)\/0\.7\)\]:where(.dark,.dark *):is(:where(.group):hover *){background-color:rgb(var(--color-stone-700)/.7)}.dark\:group-hover\:text-\[rgb\(var\(--color-primary-light\)\)\]:where(.dark,.dark *):is(:where(.group):hover *){color:rgb(var(--color-primary-light))}.dark\:group-hover\/copy\:text-\[rgb\(255_255_255\/0\.6\)\]:where(.dark,.dark *):is(:where(.group\/copy):hover *){color:#fff9}.dark\:hover\:border-\[rgb\(var\(--color-primary-light\)\/0\.3\)\]:where(.dark,.dark *):hover{border-color:rgb(var(--color-primary-light)/.3)}.dark\:hover\:bg-\[rgb\(255_255_255\/0\.05\)\]:where(.dark,.dark *):hover{background-color:#ffffff0d}.dark\:hover\:text-\[rgb\(var\(--color-gray-200\)\)\]:where(.dark,.dark *):hover{color:rgb(var(--color-gray-200))}.dark\:hover\:text-\[rgb\(var\(--color-gray-300\)\)\]:where(.dark,.dark *):hover{color:rgb(var(--color-gray-300))}.dark\:hover\:text-\[rgb\(var\(--color-primary-light\)\)\]:where(.dark,.dark *):hover{color:rgb(var(--color-primary-light))}.dark\:hover\:ring-\[rgb\(var\(--color-gray-500\)\/0\.3\)\]:where(.dark,.dark *):hover{--tw-ring-color:rgb(var(--color-gray-500)/.3)}.dark\:hover\:brightness-125:where(.dark,.dark *):hover{--tw-brightness:brightness(125%);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}}:root{--sourcey-theme-palette:var(--color-amber-50) var(--color-amber-100) var(--color-amber-200) var(--color-amber-300) var(--color-amber-400) var(--color-amber-700) var(--color-amber-800) var(--color-amber-900) var(--color-blue-100) var(--color-blue-300) var(--color-blue-400) var(--color-blue-700) var(--color-blue-800) var(--color-emerald-50) var(--color-emerald-200) var(--color-emerald-400) var(--color-emerald-500) var(--color-emerald-900) var(--color-green-100) var(--color-green-300) var(--color-green-400) var(--color-green-700) var(--color-green-800) var(--color-indigo-300) var(--color-indigo-600) var(--color-orange-100) var(--color-orange-300) var(--color-orange-400) var(--color-orange-900) var(--color-purple-100) var(--color-purple-300) var(--color-purple-400) var(--color-purple-700) var(--color-purple-800) var(--color-red-100) var(--color-red-300) var(--color-red-400) var(--color-red-700) var(--color-red-800) var(--color-rose-50) var(--color-rose-100) var(--color-rose-200) var(--color-rose-300) var(--color-rose-700) var(--color-rose-800) var(--color-rose-900) var(--color-yellow-300) var(--color-yellow-400)}.sourcey-header-top-inner{border-bottom:1px solid rgb(var(--color-gray-500)/.1)}.dark .sourcey-header-top-inner{border-bottom-color:rgb(var(--color-gray-300)/.1)}.sourcey-header-navigation{justify-content:space-between;align-items:center;gap:1rem;height:3.5rem;padding-inline:1.25rem;display:flex}.sourcey-section-tabs{white-space:nowrap;scrollbar-width:thin;align-items:center;gap:1.75rem;min-width:0;height:100%;font-size:.875rem;display:none;overflow-x:auto}.sourcey-section-tabs>a{flex-shrink:0}.sourcey-mobile-trail{flex:1;align-items:center;min-width:0;font-size:.8125rem;display:flex;overflow:hidden}.sourcey-context-controls{flex-shrink:0;align-items:center;gap:.375rem;margin-inline-start:auto;display:flex}.sourcey-context-menu{color:rgb(var(--color-gray-600));font-size:.8125rem;font-weight:500;position:relative}.dark .sourcey-context-menu{color:rgb(var(--color-gray-300))}.sourcey-context-menu summary{cursor:pointer;white-space:nowrap;border-radius:.375rem;justify-content:space-between;align-items:center;gap:.55rem;min-height:2.75rem;padding:.375rem .625rem;line-height:1.25rem;list-style:none;display:flex}.sourcey-context-menu summary::-webkit-details-marker{display:none}.sourcey-context-menu summary:hover,.sourcey-context-menu[open] summary{background:rgb(var(--color-gray-100))}.dark .sourcey-context-menu summary:hover,.dark .sourcey-context-menu[open] summary{background:rgb(var(--color-gray-800))}.sourcey-context-chevron{opacity:.55;flex-shrink:0}.sourcey-language-icon{opacity:.8;flex-shrink:0}.sourcey-context-menu summary:focus-visible{outline:2px solid rgb(var(--color-primary));outline-offset:2px}.sourcey-context-menu ul{z-index:50;border:1px solid rgb(var(--color-gray-200));background:rgb(var(--color-background-light));min-width:11rem;box-shadow:0 8px 24px rgb(var(--color-overlay)/.08);inset-inline-end:0;border-radius:.5rem;max-height:min(22rem,70vh);margin:.35rem 0 0;padding:.375rem;list-style:none;position:absolute;top:100%;overflow-y:auto}.dark .sourcey-context-menu ul{background:rgb(var(--color-background-dark));border-color:rgb(var(--color-gray-800))}.sourcey-context-menu a{border-radius:.25rem;padding:.6rem .7rem;font-weight:400;display:block}.sourcey-context-menu a:hover,.sourcey-context-menu a[aria-current]{background:rgb(var(--color-primary)/.06);color:rgb(var(--color-primary-ink))}.dark .sourcey-context-menu a:hover,.dark .sourcey-context-menu a[aria-current]{color:rgb(var(--color-primary-light))}.sourcey-header-menu{font-size:inherit;font-weight:inherit;color:inherit}.sourcey-header-menu summary{gap:.3rem;min-height:2rem;padding:0 .5rem}.sourcey-header-menu summary:hover,.sourcey-header-menu[open] summary,.dark .sourcey-header-menu summary:hover,.dark .sourcey-header-menu[open] summary{background:0 0}.sourcey-header-menu ul{color:rgb(var(--color-gray-700));inset-inline:0 auto}.dark .sourcey-header-menu ul{color:rgb(var(--color-gray-300))}.sourcey-nav-context:empty{display:none}.sourcey-nav-context{flex-shrink:0;padding:1.25rem 1rem 0}.sourcey-page-notice{margin-bottom:1.5rem}@media (width<=1023px){.sourcey-nav-context{display:none}}@media (width>=1024px){.sourcey-page-notice[data-rail]{display:none}}.sourcey-context-notice{border:1px solid rgb(var(--color-gray-200));color:rgb(var(--color-gray-600));border-radius:.375rem;padding:.75rem;font-size:.75rem;line-height:1.65}.dark .sourcey-context-notice{color:rgb(var(--color-gray-400));border-color:rgb(var(--color-gray-800))}@media (width>=1024px){.sourcey-header-frame,.sourcey-header-navigation{padding-inline:var(--sourcey-header-gutter,3rem)}.sourcey-header-top-inner{grid-template-columns:minmax(max-content,1fr) minmax(12rem,28rem) minmax(max-content,1fr);column-gap:1rem;display:grid}.sourcey-header-search{min-width:0}.sourcey-header-end{justify-content:flex-end;align-items:center;margin-inline-end:-.5rem;display:flex}.sourcey-header-navigation{height:3rem;padding-inline-end:calc(var(--sourcey-header-gutter,3rem) - .625rem)}.sourcey-header-navigation[data-desktop=false]{display:none}.sourcey-section-tabs{display:flex}.sourcey-mobile-trail{display:none}.sourcey-context-menu summary{min-height:2rem}}.sourcey-figure img{max-width:100%;height:auto}.sourcey-figure figcaption{color:rgb(var(--color-gray-500));text-align:center;margin-block-start:.5rem;font-size:.8rem}html:not(.sourcey-tabs-ready) [data-sourcey-tabs] .directive-tab-panel{display:block}.sourcey-diagram{--diagram-bg:rgb(var(--color-background-light));--diagram-fg:rgb(var(--color-gray-900))}.dark .sourcey-diagram{--diagram-bg:rgb(var(--color-background-dark));--diagram-fg:rgb(var(--color-gray-200));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.sourcey-diagram-scroll{max-width:100%;overflow-x:auto}@property --sourcey-diagram-fade-start{syntax:"";inherits:false;initial-value:0}@property --sourcey-diagram-fade-end{syntax:"";inherits:false;initial-value:0}@keyframes sourcey-diagram-edges{0%{--sourcey-diagram-fade-start:0px;--sourcey-diagram-fade-end:2.5rem}8%,92%{--sourcey-diagram-fade-start:2.5rem;--sourcey-diagram-fade-end:2.5rem}to{--sourcey-diagram-fade-start:2.5rem;--sourcey-diagram-fade-end:0px}}@supports (animation-timeline:scroll()){.sourcey-diagram-scroll{-webkit-mask-image:linear-gradient(to right, transparent, #000 var(--sourcey-diagram-fade-start), #000 calc(100% - var(--sourcey-diagram-fade-end)), transparent);-webkit-mask-image:linear-gradient(to right, transparent, #000 var(--sourcey-diagram-fade-start), #000 calc(100% - var(--sourcey-diagram-fade-end)), transparent);-webkit-mask-image:linear-gradient(to right, transparent, #000 var(--sourcey-diagram-fade-start), #000 calc(100% - var(--sourcey-diagram-fade-end)), transparent);mask-image:linear-gradient(to right, transparent, #000 var(--sourcey-diagram-fade-start), #000 calc(100% - var(--sourcey-diagram-fade-end)), transparent);animation:linear both sourcey-diagram-edges;animation-timeline:scroll(self inline)}}.sourcey-diagram-source{margin-top:.6rem;font-size:.8rem}.sourcey-diagram-source summary{cursor:pointer;color:rgb(var(--color-gray-500))}.sourcey-diagram-unrendered figcaption{color:rgb(var(--color-gray-500));margin-block-end:.5rem;font-size:.8rem}.dark .sourcey-diagram-source summary,.dark .sourcey-diagram-unrendered figcaption{color:rgb(var(--color-gray-400))}.directive-tab:focus-visible{outline:1px solid rgb(var(--color-primary)/.6);outline-offset:-3px;border-radius:4px}.sourcey-header-brand,.sourcey-header-brand .sourcey-logo{min-width:0}.sourcey-header-brand .sourcey-logo{max-width:100%}.sourcey-header-brand .sourcey-logo>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:-2px;padding:2px;overflow:hidden}.sourcey-header-brand .sourcey-logo:not(:has(>picture)){text-overflow:ellipsis;white-space:nowrap;min-width:0;margin:-2px;padding:2px;overflow:hidden}.reference-operation-links{border-top:1px solid rgb(var(--color-gray-200)/.6);padding:0;list-style:none}.reference-operation-links li{border-bottom:1px solid rgb(var(--color-gray-200)/.6)}.reference-operation-links a{border-radius:.375rem;align-items:baseline;gap:.75rem;padding:.85rem .5rem;font-size:.85rem;display:flex}.reference-operation-links a:hover{background:rgb(var(--color-gray-50))}.reference-operation-label{flex-direction:column;flex:1;gap:.2rem;min-width:0;display:flex}.reference-operation-label strong{color:rgb(var(--color-gray-900));font-weight:500}.reference-operation-summary{color:rgb(var(--color-gray-600));font-size:.8125rem;line-height:1.5}.reference-operation-arrow{color:rgb(var(--color-gray-400));flex-shrink:0;align-self:center}.reference-operation-links a>strong,.reference-operation-label strong,.operation-intro h2,.reference-page-title,.reference-tag-title{overflow-wrap:break-word;max-width:100%}.reference-operation-links a>span:not(.reference-method),.reference-operation-summary{overflow-wrap:break-word;min-width:0}.dark .reference-operation-links,.dark .reference-operation-links li{border-color:rgb(var(--color-gray-800))}.dark .reference-operation-links a:hover{background:rgb(var(--color-gray-900))}.dark .reference-operation-label strong{color:rgb(var(--color-gray-200))}.dark .reference-operation-summary{color:rgb(var(--color-gray-400))}.reference-method{min-width:3rem}.reference-operation-links:has(.reference-method){grid-template-columns:auto minmax(0,1fr) auto;column-gap:.75rem;display:grid}.reference-operation-links:has(.reference-method) :is(li,a){grid-column:1/-1;grid-template-columns:subgrid;display:grid}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}#sourcey .page-description{color:rgb(var(--color-gray-600));font-family:ui-serif,Georgia,Cambria,Times New Roman,serif;font-size:1.125rem;font-style:italic;line-height:1.35}@media (width>=1024px){#sourcey .page-description{font-size:1.375rem;line-height:1.4}}.dark #sourcey .page-description{color:rgb(var(--color-gray-400))}#sourcey #page:before{content:"";background:linear-gradient(to bottom, rgb(var(--color-primary) / .03), transparent);pointer-events:none;z-index:-1;height:400px;position:fixed;top:0;left:0;right:0}.dark #sourcey #page:before{background:0 0}#sourcey{--sourcey-content-gap:1rem}#sourcey #docs{padding-top:calc(var(--header-height) + var(--sourcey-content-gap))}#sourcey #docs :is([id],.sourcey-endpoint){scroll-margin-top:var(--sourcey-content-gap)}@media (width>=1024px){#sourcey{--sourcey-content-gap:2.5rem}#sourcey #docs{padding-top:var(--sourcey-content-gap)}}.reference-anchor-alias{height:0;display:block}#sourcey button:focus-visible{outline:2px solid rgb(var(--color-primary));outline-offset:2px}.shiki,.shiki span{color:var(--shiki-light);background-color:#0000!important}.dark .shiki,.dark .shiki span{color:var(--shiki-dark)}.shiki pre{margin:0;background-color:#0000!important}.shiki code{background:0 0;border:none;padding:0;font-family:inherit}#sourcey .prose,#sourcey .sourcey-changelog-entry-list>li{position:relative}#sourcey .table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto}#sourcey .table-wrap table{margin:0}#sourcey .prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.571429em}#sourcey .prose td>code:only-child{white-space:nowrap}#sourcey .sourcey-page>#content-area>:where(p,h1,h2,h3,h4,h5,h6,ul,ol,dl,blockquote,hr,.table-wrap,.prose-code-block,.callout){max-width:var(--content-max-width)}#sourcey .footnote-ref a,#sourcey .footnote-back{color:rgb(var(--color-primary-ink));text-decoration:none}.dark #sourcey .footnote-ref a,.dark #sourcey .footnote-back{color:rgb(var(--color-primary-light))}#sourcey .footnotes{border-top:1px solid rgb(var(--color-gray-200) / .7);margin-top:3rem;padding-top:1rem;font-size:.875em}.dark #sourcey .footnotes{border-top-color:rgb(var(--color-gray-800) / .5)}#sourcey .footnotes-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}#sourcey .sourcey-repository-stats{font-variant-numeric:tabular-nums;align-items:center;gap:.625rem;font-size:.75rem;display:inline-flex}#sourcey .sourcey-repository-stats>span{align-items:center;gap:.1875rem;display:inline-flex}#sourcey .sourcey-repository-icon{width:.875rem;height:.875rem}#sourcey .sourcey-breadcrumbs ol{color:rgb(var(--color-gray-500));flex-wrap:wrap;align-items:center;gap:.25rem .5rem;margin:0;padding:0;font-size:.875rem;line-height:1.25rem;list-style:none;display:flex}.dark #sourcey .sourcey-breadcrumbs ol{color:rgb(var(--color-gray-400))}#sourcey .sourcey-breadcrumbs li{align-items:center;gap:.5rem;display:inline-flex}#sourcey .sourcey-breadcrumbs li+li:before{content:"";opacity:.5;border-top:1.5px solid;border-right:1.5px solid;width:.375rem;height:.375rem;transform:rotate(45deg)}#sourcey .sourcey-breadcrumbs a{color:inherit;text-decoration:none;transition:color .15s}#sourcey .sourcey-breadcrumbs a:hover{color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-breadcrumbs a:hover{color:rgb(var(--color-primary-light))}#sourcey .sourcey-breadcrumbs-home{width:1rem;height:1rem;display:block}#sourcey .doc-breadcrumb .sourcey-breadcrumbs ol{font-size:inherit;line-height:inherit}#sourcey .sourcey-feedback{margin-bottom:2rem}#sourcey .sourcey-feedback-question{flex-wrap:wrap;align-items:center;gap:.5rem 1rem;display:flex}#sourcey .sourcey-feedback-title{color:rgb(var(--color-gray-900));margin:0;font-size:.875rem;font-weight:600}.dark #sourcey .sourcey-feedback-title{color:rgb(var(--color-gray-200))}#sourcey .sourcey-feedback-ratings{gap:.25rem;display:flex}#sourcey .sourcey-feedback-rating{border-radius:var(--sourcey-control-radius);min-width:2.75rem;min-height:2.75rem;color:rgb(var(--color-gray-500));cursor:pointer;justify-content:center;align-items:center;padding:0 .75rem;font-size:.875rem;transition:color .15s,background-color .15s;display:inline-flex}.dark #sourcey .sourcey-feedback-rating{color:rgb(var(--color-gray-400))}#sourcey .sourcey-feedback-rating:hover:not(:disabled){color:rgb(var(--color-primary-ink));background:rgb(var(--color-gray-100))}.dark #sourcey .sourcey-feedback-rating:hover:not(:disabled){color:rgb(var(--color-primary-light));background:rgb(var(--color-gray-800) / .5)}#sourcey .sourcey-feedback-rating[aria-pressed=true]{color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-feedback-rating[aria-pressed=true]{color:rgb(var(--color-primary-light))}#sourcey .sourcey-feedback-rating:disabled{cursor:default}#sourcey .sourcey-feedback-rating:disabled:not([aria-pressed=true]){opacity:.4}#sourcey .sourcey-feedback-icon{width:1.25rem;height:1.25rem}#sourcey .sourcey-feedback-note{color:rgb(var(--color-gray-600));margin-top:.5rem;font-size:.875rem}.dark #sourcey .sourcey-feedback-note{color:rgb(var(--color-gray-400))}#sourcey .sourcey-feedback-note p{margin:0}#sourcey .sourcey-feedback-note a{color:rgb(var(--color-primary-ink));text-underline-offset:2px;text-decoration:underline}.dark #sourcey .sourcey-feedback-note a{color:rgb(var(--color-primary-light))}#sourcey .prose-video{border-radius:var(--radius);width:100%;margin:1.5rem 0;padding-bottom:56.25%;position:relative;overflow:hidden}#sourcey .prose-video iframe,#sourcey .prose-video video{width:100%;height:100%;position:absolute;top:0;left:0}#sourcey .prose-iframe{border-radius:var(--radius);border:1px solid rgb(var(--color-stone-950) / .1);width:100%;margin:1.5rem 0;overflow:hidden}.dark #sourcey .prose-iframe{border-color:#ffffff1a}#sourcey .prose-iframe iframe{width:100%;height:100%;display:block}#sourcey .prose :where(p,th,td) img:not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:middle;margin-top:0;margin-bottom:0;display:inline-block}#sourcey .prose :where(h1,h2,h3,h4,h5,h6) a:not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:inherit;-webkit-text-decoration-color:rgb(var(--color-gray-300));text-decoration-color:rgb(var(--color-gray-300));text-underline-offset:.2em}.dark #sourcey .prose :where(h1,h2,h3,h4,h5,h6) a:not(:where([class~=not-prose],[class~=not-prose] *)){-webkit-text-decoration-color:rgb(var(--color-gray-600));text-decoration-color:rgb(var(--color-gray-600))}#sourcey .prose :where(h1,h2,h3,h4,h5,h6) a:hover{text-decoration-color:currentColor}.sourcey-footer-text a{text-underline-offset:2px;text-decoration:underline}#sourcey .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before,#sourcey .prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}#sourcey .prose :where(:not(pre)>code):not(:where([class~=not-prose],[class~=not-prose] *)),#sourcey .not-prose :not(pre)>code:not(.param-name){color:var(--tw-prose-code);background:rgb(var(--color-gray-100));-webkit-box-decoration-break:clone;box-decoration-break:clone;border-radius:.375rem;padding:.125rem .375rem;font-size:.875em;font-weight:500}.dark #sourcey .prose :where(:not(pre)>code):not(:where([class~=not-prose],[class~=not-prose] *)),.dark #sourcey .not-prose :not(pre)>code:not(.param-name){background:rgb(var(--color-surface-dark-tint) / .07)}#sourcey .prose a>code:not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);background:rgb(var(--color-primary) / .08)}.dark #sourcey .prose a>code:not(:where([class~=not-prose],[class~=not-prose] *)){background:rgb(var(--color-primary-light) / .12)}#sourcey .prose{overflow-wrap:break-word}#sourcey .api-defined-in{color:rgb(var(--color-gray-500));margin:.75rem 0 1rem;font-size:.8125rem;line-height:1.25rem}#sourcey .sourcey-endpoint-param{color:rgb(var(--color-primary-ink));text-decoration:none}#sourcey a.sourcey-endpoint-param{margin-block:-2px;padding-block:2px;display:inline-block}.dark #sourcey .sourcey-endpoint-param{color:rgb(var(--color-primary-light))}#sourcey a.sourcey-endpoint-param:hover{text-underline-offset:.2em;text-decoration:underline}#sourcey .reference-external-docs{font-size:.875rem;line-height:1.25rem}#sourcey .reference-external-docs a{color:rgb(var(--color-primary-ink));font-weight:500;text-decoration:none}.dark #sourcey .reference-external-docs a{color:rgb(var(--color-primary-light))}#sourcey .reference-external-docs a:hover{text-underline-offset:.2em;text-decoration:underline}#sourcey .api-defined-in a{color:inherit;font-weight:inherit;text-decoration:none}#sourcey .api-defined-in a:hover{color:rgb(var(--color-gray-700));text-underline-offset:.2em;text-decoration:underline}.dark #sourcey .api-defined-in{color:rgb(var(--color-gray-400))}.dark #sourcey .api-defined-in a:hover{color:rgb(var(--color-gray-200))}#sourcey .api-relations{gap:.375rem;margin:1rem 0 1.5rem;font-size:.875rem;line-height:1.5rem;display:grid}#sourcey .api-relations>div{flex-wrap:wrap;column-gap:1rem;display:flex}#sourcey .api-relations dt{min-width:7.5rem;color:rgb(var(--color-gray-500));margin:0;font-weight:500}#sourcey .api-relations dd{margin:0;padding:0}.dark #sourcey .api-relations dt{color:rgb(var(--color-gray-400))}#sourcey .api-qualifiers{flex-wrap:wrap;gap:.5rem;margin:.25rem 0 .75rem;display:flex}#sourcey .api-qualifier{font-family:var(--font-mono);color:rgb(var(--color-gray-500));font-size:.75rem;line-height:1.25rem}#sourcey td .api-qualifier{margin-left:.375rem}.dark #sourcey .api-qualifier{color:rgb(var(--color-gray-400))}#sourcey .prose-code-block{border-radius:var(--radius);border:1px solid rgb(var(--color-stone-950) / .1);color:rgb(var(--color-stone-950));margin:1.25rem 0 2rem;position:relative;overflow:hidden}.dark #sourcey .prose-code-block{color:rgb(var(--color-stone-50));border-color:#ffffff1a}#sourcey .prose-code-copy{z-index:10;background:linear-gradient(to right, rgb(var(--color-code-block-light) / 0), rgb(var(--color-code-block-light)) 1rem);padding:0 1rem 0 1.25rem;position:absolute;top:.75rem;right:0}.dark #sourcey .prose-code-copy{background:linear-gradient(to right, rgb(var(--color-code-block-dark) / 0), rgb(var(--color-code-block-dark)) 1rem)}#sourcey .prose-code-copy .copy-btn{cursor:pointer;width:26px;height:26px;color:rgb(var(--color-stone-400));background:0 0;border:none;border-radius:.375rem;justify-content:center;align-items:center;transition:color .15s;display:flex}#sourcey .prose-code-copy .copy-btn:hover{color:rgb(var(--color-stone-500))}.dark #sourcey .prose-code-copy .copy-btn{color:#fff6}.dark #sourcey .prose-code-copy .copy-btn:hover{color:#fff9}#sourcey .prose-code-copy .copy-btn svg{width:1rem;height:1rem}#sourcey .prose-code-content{border-radius:var(--radius);background:rgb(var(--color-code-block-light));font-variant-ligatures:none;padding:.875rem 1rem;overflow-x:auto}.dark #sourcey .prose-code-content{background:rgb(var(--color-code-block-dark))}#sourcey .prose-code-content pre{font-family:var(--font-mono);white-space:pre;box-sizing:border-box;width:max-content;min-width:100%;margin:0;padding-right:2.5rem;font-size:.875rem;line-height:1.5rem}#sourcey .nav-group-label{font-size:inherit;color:rgb(var(--color-gray-900));margin-bottom:.625rem;padding:0 .75rem .25rem 1rem;font-weight:600;display:block}.dark #sourcey .nav-group-label{color:rgb(var(--color-gray-200))}#sourcey .nav-group-link{cursor:pointer;border-radius:.75rem;text-decoration:none;transition:color .15s,background-color .15s}#sourcey .nav-group-link:hover{color:rgb(var(--color-primary-ink))}.dark #sourcey .nav-group-link:hover{color:rgb(var(--color-primary-light))}#sourcey .nav-group-link.active{color:rgb(var(--color-primary-ink))}.dark #sourcey .nav-group-link.active{color:rgb(var(--color-primary-light))}#sourcey .nav-tab-label{text-transform:uppercase;letter-spacing:.05em;color:rgb(var(--color-gray-400));padding:.5rem .75rem .25rem 1rem;font-size:.75rem;font-weight:600;display:block}.dark #sourcey .nav-tab-label{color:rgb(var(--color-gray-500))}#sourcey .nav-link{cursor:pointer;text-align:left;overflow-wrap:break-word;width:100%;color:rgb(var(--color-gray-700));border-radius:.75rem;align-items:flex-start;gap:.75rem;padding:.375rem .75rem .375rem 1rem;transition:color .15s,background-color .15s;display:flex}.dark #sourcey .nav-link{color:rgb(var(--color-gray-400))}#sourcey .nav-link:hover{color:rgb(var(--color-gray-900));background:rgb(var(--color-gray-100) / .6)}.dark #sourcey .nav-link:hover{color:rgb(var(--color-gray-300));background:rgb(var(--color-gray-800) / .4)}#sourcey .nav-link.active{color:rgb(var(--color-primary-ink));background:rgb(var(--color-primary) / .08);text-shadow:-.2px 0,.2px 0}.dark #sourcey .nav-link.active{color:rgb(var(--color-primary-light));background:rgb(var(--color-primary-light) / .08)}#sourcey #toc .toc-item{border-left:2px solid rgb(var(--color-gray-200));padding-left:.75rem;transition:color .15s,border-color .15s}#sourcey #toc ul ul .toc-item{border-left:none;margin-left:.75rem}.dark #sourcey #toc .toc-item{border-left-color:rgb(var(--color-gray-700))}#sourcey #toc .toc-item.active{color:rgb(var(--color-primary-ink));border-left-color:rgb(var(--color-primary-ink));font-weight:500}.dark #sourcey #toc .toc-item.active{color:rgb(var(--color-primary-light));border-left-color:rgb(var(--color-primary-light))}#sourcey .code-lang-panel{display:none}#sourcey .code-lang-panel.active{display:block}#sourcey .lang-icon{vertical-align:-.125rem;flex-shrink:0;width:.875rem;height:.875rem}#sourcey .lang-icon[data-lang]{background:currentColor;display:inline-block;-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}#sourcey .response-panel{display:none}#sourcey .response-panel.active{display:block}#sourcey .response-tab{color:rgb(var(--color-gray-500));transition:color .15s}.dark #sourcey .response-tab{color:rgb(var(--color-gray-400))}#sourcey .response-tab.active{color:rgb(var(--color-primary-ink))}.dark #sourcey .response-tab.active{color:rgb(var(--color-primary-light))}#sourcey .response-tab.active:after{content:"";background:rgb(var(--color-primary));border-radius:9999px;height:2px;position:absolute;bottom:-.375rem;left:0;right:0}.dark #sourcey .response-tab.active:after{background:rgb(var(--color-primary-light))}#sourcey .copy-btn.copied{color:rgb(var(--color-success))}#sourcey .schema-expandable{border:1px solid rgb(var(--color-gray-200) / .7);border-radius:.75rem;margin-top:1rem}.dark #sourcey .schema-expandable{border-color:#ffffff1a}#sourcey .schema-expandable-toggle{color:rgb(var(--color-gray-600));cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.75rem;padding:.75rem 1rem;font-size:.875rem;font-weight:400;list-style:none;display:flex}#sourcey .schema-expandable-toggle::-webkit-details-marker{display:none}.dark #sourcey .schema-expandable-toggle{color:rgb(var(--color-gray-300))}#sourcey .schema-expandable-toggle:hover{background:rgb(var(--color-gray-100) / .5);color:rgb(var(--color-gray-900));border-radius:.75rem}.dark #sourcey .schema-expandable-toggle:hover{color:rgb(var(--color-gray-200));background:#ffffff0d}#sourcey .schema-expandable-icon{width:.625rem;height:.625rem;color:rgb(var(--color-gray-400));flex-shrink:0;transition:transform 75ms}#sourcey details[open]>.schema-expandable-toggle>.schema-expandable-icon{transform:rotate(90deg)}#sourcey .schema-drawn-at{overflow-wrap:break-word;color:rgb(var(--color-gray-600));margin:.5rem 0 0;font-size:.875rem;line-height:1.25rem}.dark #sourcey .schema-drawn-at{color:rgb(var(--color-gray-300))}#sourcey .schema-drawn-at a{color:rgb(var(--color-primary-ink));text-decoration:none}.dark #sourcey .schema-drawn-at a{color:rgb(var(--color-primary-light))}#sourcey .schema-drawn-at a:hover{text-underline-offset:.2em;text-decoration:underline}#sourcey .schema-expandable-content{border-top:1px solid rgb(var(--color-gray-100));padding:0 1rem .5rem}.dark #sourcey .schema-expandable-content{border-top-color:#ffffff1a}#sourcey .schema-nested{border-left:2px solid rgb(var(--color-gray-200));margin-top:.25rem;margin-bottom:.25rem;padding-left:1rem}.dark #sourcey .schema-nested{border-left-color:rgb(var(--color-gray-800))}#sourcey .schema-variant-option{border-left:2px solid rgb(var(--color-gray-200));margin-bottom:.5rem;padding-left:1rem}.dark #sourcey .schema-variant-option{border-left-color:rgb(var(--color-gray-800))}#sourcey .schema-variant-label{letter-spacing:.05em;color:rgb(var(--color-gray-400));margin-bottom:.25rem;font-size:.75rem;font-weight:600}#sourcey .schema-variant-control:not([hidden]){flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin-bottom:.75rem;display:flex}#sourcey .schema-variant-control .schema-variant-label{letter-spacing:normal;color:var(--sourcey-form-muted);margin:0}#sourcey .schema-variant-control .sourcey-select-wrap{flex:1;min-width:min(12rem,100%);max-width:100%}#sourcey [data-schema-enhanced]>.schema-variant-option{border-left:0;padding-left:0}#sourcey :is(.required-badge,.deprecated-badge,.read-only-badge){white-space:nowrap;border-radius:.375rem;padding:.125rem .5rem;font-size:.75rem;font-weight:500;line-height:1.33333}#sourcey .required-badge{background:color-mix(in oklab, var(--color-red-100) 50%, transparent);color:var(--color-red-700)}.dark #sourcey .required-badge{background:color-mix(in oklab, var(--color-red-400) 10%, transparent);color:var(--color-red-300)}#sourcey .deprecated-badge{background:color-mix(in oklab, var(--color-amber-100) 50%, transparent);color:var(--color-amber-700)}.dark #sourcey .deprecated-badge{background:color-mix(in oklab, var(--color-amber-400) 10%, transparent);color:var(--color-amber-300)}#sourcey .read-only-badge{background:rgb(var(--color-gray-100) / .5);color:rgb(var(--color-gray-600))}.dark #sourcey .read-only-badge{background:rgb(var(--color-surface-dark-tint) / .05);color:rgb(var(--color-gray-200))}#sourcey .method-badge{white-space:nowrap;font-family:var(--font-sans);background:rgb(var(--color-gray-400) / .2);color:rgb(var(--color-gray-700));border-radius:.375rem;flex-shrink:0;align-items:center;padding:.125rem .25rem;font-size:.55rem;font-weight:700;line-height:1.25;display:inline-flex}#sourcey .method-badge:is([data-method=get],[data-method=resource]){background:var(--color-green-100);color:var(--color-green-800)}#sourcey .method-badge:is([data-method=post],[data-method=prompt]){background:var(--color-blue-100);color:var(--color-blue-800)}#sourcey .method-badge[data-method=put]{background:var(--color-amber-100);color:var(--color-amber-900)}#sourcey .method-badge[data-method=delete]{background:var(--color-red-100);color:var(--color-red-800)}#sourcey .method-badge[data-method=patch]{background:var(--color-orange-100);color:var(--color-orange-900)}#sourcey .method-badge[data-method=tool]{background:var(--color-purple-100);color:var(--color-purple-800)}.dark #sourcey .method-badge{color:rgb(var(--color-gray-300))}.dark #sourcey .method-badge:is([data-method=get],[data-method=resource]){background:color-mix(in oklab, var(--color-green-400) 20%, transparent);color:var(--color-green-300)}.dark #sourcey .method-badge:is([data-method=post],[data-method=prompt]){background:color-mix(in oklab, var(--color-blue-400) 20%, transparent);color:var(--color-blue-300)}.dark #sourcey .method-badge[data-method=put]{background:color-mix(in oklab, var(--color-yellow-400) 20%, transparent);color:var(--color-yellow-300)}.dark #sourcey .method-badge[data-method=delete]{background:color-mix(in oklab, var(--color-red-400) 20%, transparent);color:var(--color-red-300)}.dark #sourcey .method-badge[data-method=patch]{background:color-mix(in oklab, var(--color-orange-400) 20%, transparent);color:var(--color-orange-300)}.dark #sourcey .method-badge[data-method=tool]{background:color-mix(in oklab, var(--color-purple-400) 20%, transparent);color:var(--color-purple-300)}#sourcey .sourcey-endpoint .method-badge{border-radius:.5rem;padding:.125rem .375rem;font-size:.875rem;line-height:1.25rem}#sourcey .json-property-type{overflow-wrap:break-word;max-width:100%;color:rgb(var(--color-gray-600));background:rgb(var(--color-gray-100) / .5);border-radius:.375rem;flex-shrink:0;align-items:center;padding:.25rem .5rem;font-size:.75rem;font-style:normal;font-weight:500;line-height:1;display:inline-flex}.dark #sourcey .json-property-type{background:rgb(var(--color-surface-dark-tint) / .05);color:rgb(var(--color-gray-200))}#sourcey .json-property-format{color:rgb(var(--color-gray-400));font-size:.75rem}#sourcey .json-property-enum{flex-wrap:wrap;align-items:baseline;gap:.25rem;display:inline-flex}#sourcey .json-property-enum-item,#sourcey .json-property-default-value,#sourcey .json-property-range{font-size:.6875rem;font-family:var(--font-mono);overflow-wrap:anywhere;max-width:100%;color:rgb(var(--color-gray-600));background:rgb(var(--color-gray-100) / .5);border-radius:9999px;align-items:center;padding:.125rem .375rem;line-height:1;display:inline-flex}.dark #sourcey .json-property-enum-item,.dark #sourcey .json-property-default-value,.dark #sourcey .json-property-range{background:rgb(var(--color-surface-dark-tint) / .05);color:rgb(var(--color-gray-400))}#sourcey .json-property-enum-item{color:rgb(var(--color-gray-700))}.dark #sourcey .json-property-enum-item{color:rgb(var(--color-gray-300))}#sourcey .json-property-default-value:before{content:"= ";color:rgb(var(--color-gray-400))}#sourcey .param-item{border-bottom:1px solid rgb(var(--color-gray-100));padding:1rem 0}.dark #sourcey .param-item{border-bottom-color:rgb(var(--color-gray-800))}#sourcey .param-item:last-child{border-bottom:none}#sourcey .param-header{flex-wrap:wrap;align-items:baseline;gap:.5rem;display:flex}#sourcey .param-name{font-family:var(--font-mono);color:rgb(var(--color-primary-ink));overflow-wrap:anywhere;background:0 0;border:none;min-width:0;padding:0;font-size:.875rem;font-weight:600}.dark #sourcey .param-name{color:rgb(var(--color-primary-light))}#sourcey .param-type{align-items:baseline;gap:.375rem;display:inline-flex}#sourcey .param-in{background:rgb(var(--color-gray-100) / .5);color:rgb(var(--color-gray-600));border-radius:.375rem;align-items:center;margin-left:auto;padding:.125rem .5rem;font-size:.75rem;font-weight:500;display:inline-flex}.dark #sourcey .param-in{background:rgb(var(--color-surface-dark-tint) / .05);color:rgb(var(--color-gray-200))}#sourcey .param-description{color:rgb(var(--color-gray-700));padding-top:.5rem;font-size:.875rem}.dark #sourcey .param-description{color:rgb(var(--color-gray-400))}#sourcey .steps{margin-top:1rem;margin-bottom:1.5rem;margin-left:.875rem}#sourcey .steps .step-item{align-items:flex-start;padding-bottom:1.25rem;display:flex;position:relative}#sourcey .steps .step-item:before{content:"";background:rgb(var(--color-gray-200) / .7);width:1px;position:absolute;top:2.75rem;bottom:0;left:13px}.dark #sourcey .steps .step-item:before{background:#ffffff1a}#sourcey .steps .step-item:last-child:before{background:linear-gradient(to bottom, rgb(var(--color-gray-200) / .7), transparent)}.dark #sourcey .steps .step-item:last-child:before{background:linear-gradient(#ffffff1a,#0000)}#sourcey .steps .step-number{background:rgb(var(--color-gray-50));width:1.75rem;height:1.75rem;color:rgb(var(--color-gray-900));border-radius:9999px;flex-shrink:0;justify-content:center;align-items:center;margin-top:.5rem;font-size:.75rem;font-weight:600;display:flex;position:relative}.dark #sourcey .steps .step-number{color:rgb(var(--color-gray-50));background:#ffffff1a}#sourcey .steps .step-body{flex:1;padding-left:1rem;overflow:hidden}#sourcey .steps .step-title{color:rgb(var(--color-gray-900));margin-top:.5rem;font-weight:600}.dark #sourcey .steps .step-title{color:rgb(var(--color-gray-200))}#sourcey .steps .step-content{margin-top:.25rem}#sourcey .steps .step-content p{margin:.25rem 0}#sourcey .card-group{gap:1rem;margin-top:1.25rem;margin-bottom:2rem;display:grid}@media (width>=640px){#sourcey .card-group[data-cols="2"]{grid-template-columns:repeat(2,1fr)}#sourcey .card-group[data-cols="3"]{grid-template-columns:repeat(3,1fr)}#sourcey .card-group[data-cols="4"]{grid-template-columns:repeat(4,1fr)}}#sourcey .card-item{border:1px solid rgb(var(--color-gray-950) / .1);border-radius:var(--radius);background:rgb(var(--color-gray-50) / .4);color:inherit;padding:1.4rem 1.5rem;text-decoration:none;transition:border-color .15s,background-color .15s;display:block;position:relative;overflow:hidden}.dark #sourcey .card-item{background:#ffffff06;border-color:#ffffff1a}#sourcey :is(a.card-item,.card-item:has(.card-item-link)):hover{border-color:rgb(var(--color-primary) / .55);background:rgb(var(--color-primary) / .035)}.dark #sourcey :is(a.card-item,.card-item:has(.card-item-link)):hover{border-color:rgb(var(--color-primary-light) / .55);background:rgb(var(--color-primary-light) / .05)}#sourcey :is(a.card-item:focus-visible,.card-item:has(.card-item-link:focus-visible)){outline:2px solid rgb(var(--color-primary));outline-offset:3px}.dark #sourcey :is(a.card-item:focus-visible,.card-item:has(.card-item-link:focus-visible)){outline-color:rgb(var(--color-primary-light))}#sourcey .card-item-link:after{content:"";position:absolute;inset:0}#sourcey .card-item-link:focus-visible{outline:none}#sourcey .card-item-content a{z-index:1;position:relative}#sourcey .card-item-inner{min-width:0}#sourcey :is(a.card-item,.card-item:has(.card-item-link)) .card-item-title{padding-right:1.5rem}#sourcey :is(a.card-item,.card-item:has(.card-item-link)) .card-item-title:after{content:"→";color:rgb(var(--color-gray-400));font-weight:400;transition:color .15s,transform .15s;position:absolute;right:1.5rem}#sourcey :is(a.card-item,.card-item:has(.card-item-link)):hover .card-item-title:after{color:rgb(var(--color-primary-ink));transform:translate(2px)}.dark #sourcey :is(a.card-item,.card-item:has(.card-item-link)):hover .card-item-title:after{color:rgb(var(--color-primary-light))}#sourcey .card-icon{width:1.5rem;height:1.5rem;color:rgb(var(--color-primary));flex-shrink:0;margin-bottom:.75rem}.dark #sourcey .card-icon{color:rgb(var(--color-primary-light))}#sourcey img.card-icon{object-fit:contain;margin:0 0 .75rem}#sourcey .sourcey-inline-icon{vertical-align:-.2em;width:1.15em;height:1.15em;margin:0;display:inline-block}#sourcey .card-item-title{color:rgb(var(--color-gray-800));margin:0 0 .25rem;font-size:1rem;font-weight:600}.dark #sourcey .card-item-title{color:#fff}#sourcey .card-item-content{color:rgb(var(--color-gray-600));margin-top:.25rem;font-size:.925rem;line-height:1.65}.dark #sourcey .card-item-content{color:rgb(var(--color-gray-400))}#sourcey .card-item-content p{margin:0}#sourcey .card-item-content .card-item-meta{color:rgb(var(--color-gray-500));margin-top:.5rem;font-size:.8rem}#sourcey .card-item-content .card-item-meta:first-child{margin-top:0}.dark #sourcey .card-item-content .card-item-meta{color:rgb(var(--color-gray-400))}#sourcey :is(.prose,.reader-prose)>details:not([class]){border-block:1px solid rgb(var(--color-gray-200) / .7);margin:1.25rem 0}.dark #sourcey :is(.prose,.reader-prose)>details:not([class]){border-color:rgb(var(--color-gray-800))}#sourcey :is(.prose,.reader-prose)>details:not([class])>summary{cursor:pointer;align-items:center;gap:.75rem;min-height:44px;padding-block:.65rem;font-size:.875rem;font-weight:500;list-style:none;display:flex}#sourcey :is(.prose,.reader-prose)>details:not([class])>summary::-webkit-details-marker{display:none}#sourcey :is(.prose,.reader-prose)>details:not([class])>summary:before{content:"";opacity:.6;border-bottom:1px solid;border-right:1px solid;flex-shrink:0;width:.35rem;height:.35rem;transform:rotate(-45deg)}#sourcey :is(.prose,.reader-prose)>details:not([class])[open]>summary:before{transform:rotate(45deg)}#sourcey :is(.prose,.reader-prose)>details:not([class])>summary:hover{color:rgb(var(--color-primary-ink))}.dark #sourcey :is(.prose,.reader-prose)>details:not([class])>summary:hover{color:rgb(var(--color-primary-light))}#sourcey .accordion-group{border-radius:var(--radius);border:1px solid rgb(var(--color-gray-200) / .7);margin-top:0;margin-bottom:.75rem;overflow:hidden}.dark #sourcey .accordion-group{border-color:rgb(var(--color-gray-800) / .5)}#sourcey .accordion-item{border-bottom:1px solid rgb(var(--color-gray-200) / .7);background:rgb(var(--color-background-light))}.dark #sourcey .accordion-item{border-bottom-color:rgb(var(--color-gray-800) / .5);background:rgb(var(--color-code-block-dark))}#sourcey .accordion-item:last-child{border-bottom:none}#sourcey .accordion-trigger{cursor:pointer;width:100%;color:rgb(var(--color-gray-900));align-items:center;gap:.5rem;padding:1rem 1.25rem;font-weight:500;list-style:none;display:flex}#sourcey .accordion-trigger::-webkit-details-marker{display:none}.dark #sourcey .accordion-trigger{color:rgb(var(--color-gray-200))}#sourcey .accordion-trigger:hover{background:rgb(var(--color-gray-100))}.dark #sourcey .accordion-trigger:hover{background:rgb(var(--color-gray-800))}#sourcey .accordion-trigger:before{content:"";background:rgb(var(--color-gray-700));flex-shrink:0;width:.75rem;height:.75rem;transition:transform .15s;display:inline-block;-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512'%3E%3Cpath d='M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z'/%3E%3C/svg%3E");-webkit-mask-position:50%;mask-position:50%;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.dark #sourcey .accordion-trigger:before{background:rgb(var(--color-gray-400))}#sourcey .accordion-item[open]>.accordion-trigger:before{transform:rotate(90deg)}#sourcey .accordion-content{color:rgb(var(--color-gray-700));padding:0 1.25rem 1rem 2.5rem}.dark #sourcey .accordion-content{color:rgb(var(--color-gray-400))}#sourcey .accordion-content p{margin:.25rem 0}#sourcey .callout{--callout-accent:59 130 246;--callout-ink:30 64 175;border:1px solid rgb(var(--callout-accent) / .22);background:rgb(var(--callout-accent) / .045);color:rgb(var(--color-gray-700));border-radius:.5rem;grid-template-columns:1.25rem minmax(0,1fr);align-items:start;column-gap:.75rem;margin:1.5rem 0;padding:1rem 1.125rem;font-size:.875rem;line-height:1.6;display:grid}.dark #sourcey .callout{--callout-accent:96 165 250;--callout-ink:147 197 253;border-color:rgb(var(--callout-accent) / .26);background:rgb(var(--callout-accent) / .075);color:rgb(var(--color-gray-300))}#sourcey .callout-icon{width:1.25rem;height:1.25rem;color:rgb(var(--callout-ink));margin-top:1px}#sourcey .callout-body{min-width:0}#sourcey .callout-title{color:rgb(var(--callout-ink));font-size:.875rem;font-weight:600;line-height:1.6}#sourcey .callout-content{margin-top:.25rem}#sourcey .callout-content p{margin:.25rem 0}#sourcey .callout-content p:first-child{margin-top:0}#sourcey .callout-content p:last-child{margin-bottom:0}#sourcey .callout-content a{text-underline-offset:.16em;text-decoration:underline;-webkit-text-decoration-color:rgb(var(--callout-accent) / .4);text-decoration-color:rgb(var(--callout-accent) / .4)}#sourcey .callout-tip{--callout-accent:16 185 129;--callout-ink:6 95 70}.dark #sourcey .callout-tip{--callout-accent:52 211 153;--callout-ink:110 231 183}#sourcey .callout-info{--callout-accent:139 92 246;--callout-ink:109 40 217}.dark #sourcey .callout-info{--callout-accent:167 139 250;--callout-ink:196 181 253}#sourcey .callout-warning,#sourcey .callout-caution{--callout-accent:217 119 6;--callout-ink:146 64 14}.dark #sourcey .callout-warning,.dark #sourcey .callout-caution{--callout-accent:251 191 36;--callout-ink:253 230 138}#sourcey .callout-danger{--callout-accent:239 68 68;--callout-ink:185 28 28}.dark #sourcey .callout-danger{--callout-accent:248 113 113;--callout-ink:252 165 165}#sourcey .sourcey-changelog-page{overflow-wrap:anywhere;width:100%;max-width:70ch}#sourcey .sourcey-changelog-layout{justify-content:space-between;align-items:flex-start;gap:2.5rem;display:flex}#sourcey .sourcey-changelog-reading{max-width:min(var(--content-max-width), 70ch);margin:0;padding:0}@media (width<=1023px){#sourcey .sourcey-changelog-layout{justify-content:center}}@media (width>=1024px){#sourcey .sourcey-changelog-layout{margin-left:20.5rem}#sourcey [data-release-navigation=sidebar] .sourcey-changelog-jump{display:none}}@media (width>=1280px){#sourcey [data-release-navigation=outline] .sourcey-changelog-jump{display:none}}#sourcey .sourcey-changelog-jump{margin:0;font-size:.875rem}#sourcey .sourcey-changelog-jump summary{cursor:pointer;color:rgb(var(--color-gray-700));justify-content:space-between;align-items:center;gap:1rem;padding:.875rem 0;list-style:none;display:flex}.dark #sourcey .sourcey-changelog-jump summary{color:rgb(var(--color-gray-300))}#sourcey .sourcey-changelog-jump summary::-webkit-details-marker{display:none}#sourcey .sourcey-changelog-jump[open] summary svg{transform:rotate(180deg)}#sourcey .sourcey-changelog-jump nav{flex-wrap:wrap;gap:.5rem 1.25rem;max-height:16rem;padding:0 0 1rem;display:flex;overflow-y:auto}#sourcey .sourcey-changelog-jump a{color:rgb(var(--color-primary-ink));font-family:var(--font-mono);padding-block:.375rem;text-decoration:none}.dark #sourcey .sourcey-changelog-jump a{color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-jump a:hover{text-underline-offset:.2em;text-decoration:underline}@media (width>=1051px){#sourcey .sourcey-reader .sourcey-changelog-jump{display:none}}#sourcey .sourcey-changelog-header{margin-bottom:2rem}#sourcey .sourcey-changelog-description{color:rgb(var(--color-gray-600));text-wrap:pretty;max-width:65ch;margin-top:.75rem;font-size:1.05rem;line-height:1.7}.dark #sourcey .sourcey-changelog-description{color:rgb(var(--color-gray-400))}#sourcey .sourcey-changelog-description a{color:rgb(var(--color-primary-ink));border-bottom:1px solid rgb(var(--color-primary-ink) / .3);text-decoration:none}#sourcey .sourcey-changelog-description a:hover{border-bottom-color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-changelog-description a{color:rgb(var(--color-primary-light));border-bottom-color:rgb(var(--color-primary-light) / .3)}.dark #sourcey .sourcey-changelog-description a:hover{border-bottom-color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-description code{background:rgb(var(--color-gray-100));color:rgb(var(--color-gray-800));border-radius:.25rem;padding:.05rem .3rem;font-size:.92em}.dark #sourcey .sourcey-changelog-description code{color:rgb(var(--color-gray-200));background:#ffffff14}#sourcey .sourcey-changelog-list{flex-direction:column;gap:0;display:flex}#sourcey .sourcey-changelog-version{border-top:1px solid rgb(var(--color-gray-200) / .8);padding:1.75rem 0}.dark #sourcey .sourcey-changelog-version{border-color:rgb(var(--color-gray-800) / .8)}#sourcey .sourcey-changelog-version-unreleased .sourcey-changelog-version-link{color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-changelog-version-unreleased .sourcey-changelog-version-link{color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-version-header{flex-wrap:wrap;align-items:center;gap:.5rem 1.25rem;margin-bottom:1.5rem;display:flex}#sourcey .sourcey-changelog-version-heading{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}#sourcey .sourcey-changelog-version-link{font-family:var(--font-mono);overflow-wrap:anywhere;color:rgb(var(--color-gray-900));font-size:1.125rem;font-weight:700;text-decoration:none}.dark #sourcey .sourcey-changelog-version-link{color:rgb(var(--color-gray-200))}#sourcey .sourcey-changelog-version-link:hover{color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-changelog-version-link:hover{color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-version-meta{color:rgb(var(--color-gray-500));flex-wrap:wrap;align-items:center;gap:.75rem;font-size:.8125rem;display:flex}.dark #sourcey .sourcey-changelog-version-meta{color:rgb(var(--color-gray-400))}#sourcey .sourcey-changelog-compare-link{color:rgb(var(--color-primary-ink));text-decoration:none}.dark #sourcey .sourcey-changelog-compare-link{color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-pill{letter-spacing:.03em;border-radius:999px;align-items:center;padding:.15rem .5rem;font-size:.72rem;font-weight:700;display:inline-flex}#sourcey .sourcey-changelog-pill-yanked{color:#b91c1c;background:#ef44441f}.dark #sourcey .sourcey-changelog-pill-yanked{color:#fca5a5;background:#f8717126}#sourcey .sourcey-changelog-pill-pre{background:rgb(var(--color-gray-100));color:rgb(var(--color-gray-600))}.dark #sourcey .sourcey-changelog-pill-pre{color:rgb(var(--color-gray-300));background:#ffffff14}#sourcey .sourcey-changelog-pill-next{background:rgb(var(--color-primary) / .1);color:rgb(var(--color-primary-ink));text-transform:uppercase;letter-spacing:.06em;font-size:.68rem}.dark #sourcey .sourcey-changelog-pill-next{background:rgb(var(--color-primary-light) / .14);color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-summary{margin-bottom:1rem}#sourcey .sourcey-changelog-summary p:first-child{margin-top:0}#sourcey .sourcey-changelog-sections{flex-direction:column;gap:.875rem;display:flex}#sourcey .sourcey-changelog-section{flex-direction:column;gap:.5rem;display:flex}#sourcey .sourcey-changelog-section-header{align-items:center;gap:.5rem;display:flex}#sourcey .sourcey-changelog-entry-list{color:rgb(var(--color-gray-700));margin:0;padding-left:1.25rem;line-height:1.75;list-style:outside}#sourcey .sourcey-changelog-entry-list li::marker{color:rgb(var(--color-gray-400))}.dark #sourcey .sourcey-changelog-entry-list{color:rgb(var(--color-gray-300))}#sourcey .sourcey-changelog-entry-list li{margin:.35rem 0}#sourcey .sourcey-changelog-entry-list li>p{margin:0}#sourcey .sourcey-changelog-badge{text-transform:none}#sourcey .sourcey-changelog-badge-added{background:rgb(var(--color-success) / .12);color:#166534}.dark #sourcey .sourcey-changelog-badge-added{background:rgb(var(--color-success) / .16);color:#86efac}#sourcey .sourcey-changelog-badge-changed{background:rgb(var(--color-primary) / .12);color:rgb(var(--color-primary-ink))}.dark #sourcey .sourcey-changelog-badge-changed{background:rgb(var(--color-primary-light) / .12);color:rgb(var(--color-primary-light))}#sourcey .sourcey-changelog-badge-fixed{color:#92400e;background:#f59e0b24}.dark #sourcey .sourcey-changelog-badge-fixed{color:#fde047;background:#fbbf2429}#sourcey .sourcey-changelog-badge-removed,#sourcey .sourcey-changelog-badge-security{color:#b91c1c;background:#ef44441f}.dark #sourcey .sourcey-changelog-badge-removed,.dark #sourcey .sourcey-changelog-badge-security{color:#fca5a5;background:#f8717129}#sourcey .sourcey-changelog-badge-deprecated,#sourcey .sourcey-changelog-badge-other{background:rgb(var(--color-gray-100));color:rgb(var(--color-gray-600))}.dark #sourcey .sourcey-changelog-badge-deprecated,.dark #sourcey .sourcey-changelog-badge-other{color:rgb(var(--color-gray-300));background:#ffffff14}#sourcey .directive-tabs{border:1px solid rgb(var(--color-stone-950) / .1);border-radius:var(--radius);margin:1.25rem 0;overflow:hidden}.dark #sourcey .directive-tabs{border-color:#ffffff1a}#sourcey .directive-tab-bar{border-bottom:1px solid rgb(var(--color-stone-200));background:rgb(var(--color-stone-50));gap:0;padding:0 .25rem;display:flex}.dark #sourcey .directive-tab-bar{background:rgb(var(--color-code-block-dark));border-bottom-color:#ffffff0f}#sourcey .directive-tab{color:rgb(var(--color-stone-500));cursor:pointer;background:0 0;border:none;padding:.625rem 1rem;font-size:.8125rem;font-weight:500;transition:color .15s;position:relative}#sourcey .directive-tab:hover{color:rgb(var(--color-gray-900))}.dark #sourcey .directive-tab{color:rgb(var(--color-stone-400))}.dark #sourcey .directive-tab:hover{color:rgb(var(--color-gray-300))}#sourcey .directive-tab.active{color:rgb(var(--color-primary-ink))}.dark #sourcey .directive-tab.active{color:rgb(var(--color-primary-light))}#sourcey .directive-tab.active:after{content:"";background:rgb(var(--color-primary));border-radius:9999px;height:2px;position:absolute;bottom:-1px;left:.5rem;right:.5rem}.dark #sourcey .directive-tab.active:after{background:rgb(var(--color-primary-light))}#sourcey .directive-tab-panel{padding:1rem 1.25rem;display:none}#sourcey .directive-tab-panel.active{display:block}#sourcey .directive-code-group .directive-tab-panel{padding:0}#sourcey .directive-code-group .directive-tab-panel pre{border-radius:0;margin:0}#sourcey .directive-tabs .prose-code-block{border:none;border-radius:0;margin:0}#sourcey .directive-tabs .prose-code-block .prose-code-copy{display:none}.mobile-nav-dialog{width:80%;max-width:20rem;height:100%;max-height:100%;font-family:var(--font-sans);background:rgb(var(--color-background-light));color:rgb(var(--color-gray-500));border:none;margin:0;padding:0;font-size:.875rem;line-height:1.5rem;overflow-y:auto}.mobile-nav-dialog[open]{flex-direction:column;display:flex}.dark .mobile-nav-dialog{background:rgb(var(--color-background-dark));color:rgb(var(--color-gray-400))}.mobile-nav-dialog::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#00000040}.mobile-nav-dialog[open]{animation:.2s ease-out drawer-slide-in}.mobile-nav-dialog[open]::backdrop{animation:.2s ease-out drawer-fade-in}.drawer-dropdown{position:relative}.drawer-dropdown-trigger{z-index:11;border-radius:var(--radius,.5rem);width:100%;font-size:1rem;font-weight:600;font-family:var(--font-sans);color:rgb(var(--color-gray-900));background:rgb(var(--color-background-light));box-shadow:inset 0 0 0 1px rgb(var(--color-gray-200));cursor:pointer;text-align:left;border:none;justify-content:space-between;align-items:center;gap:.5rem;padding:.625rem 1.125rem;display:flex;position:relative}.dark .drawer-dropdown-trigger{color:rgb(var(--color-gray-200));background:rgb(var(--color-background-dark));box-shadow:inset 0 0 0 1px rgb(var(--color-gray-600))}.drawer-dropdown-trigger[aria-expanded=true]{box-shadow:inset 1px 0 0 rgb(var(--color-gray-200)), inset -1px 0 0 rgb(var(--color-gray-200)), inset 0 1px 0 rgb(var(--color-gray-200));border-bottom-right-radius:0;border-bottom-left-radius:0}.dark .drawer-dropdown-trigger[aria-expanded=true]{box-shadow:inset 1px 0 0 rgb(var(--color-gray-600)), inset -1px 0 0 rgb(var(--color-gray-600)), inset 0 1px 0 rgb(var(--color-gray-600))}.drawer-dropdown-chevron{color:rgb(var(--color-gray-400));flex-shrink:0;transition:transform .15s}.drawer-dropdown-trigger[aria-expanded=true] .drawer-dropdown-chevron{transform:rotate(180deg)}.drawer-dropdown-list{z-index:10;border-radius:0 0 var(--radius,.5rem) var(--radius,.5rem);background:rgb(var(--color-background-light));box-shadow:inset 1px 0 0 rgb(var(--color-gray-200)), inset -1px 0 0 rgb(var(--color-gray-200)), inset 0 -1px 0 rgb(var(--color-gray-200)), 0 6px 16px #00000014;border:none;margin:0;padding:.375rem 0;list-style:none;position:absolute;top:100%;left:0;right:0}.dark .drawer-dropdown-list{background:rgb(var(--color-background-dark));box-shadow:inset 1px 0 0 rgb(var(--color-gray-600)), inset -1px 0 0 rgb(var(--color-gray-600)), inset 0 -1px 0 rgb(var(--color-gray-600)), 0 6px 16px #0000004d}.drawer-dropdown-item{width:100%;font-size:1rem;font-family:var(--font-sans);text-align:left;color:rgb(var(--color-gray-600));cursor:pointer;background:0 0;border:none;padding:.5rem 1.125rem;display:block}.drawer-dropdown-item:hover{background:rgb(var(--color-gray-50))}.dark .drawer-dropdown-item{color:rgb(var(--color-gray-400))}.dark .drawer-dropdown-item:hover{background:rgb(var(--color-gray-800))}.drawer-dropdown-item.active{color:rgb(var(--color-primary-ink));font-weight:500}.dark .drawer-dropdown-item.active{color:rgb(var(--color-primary-light))}@media (width<=1023px){#sourcey .mobile-nav-dialog .nav-link{padding-top:.5rem;padding-bottom:.5rem}}@keyframes drawer-slide-in{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes drawer-fade-in{0%{opacity:0}to{opacity:1}}#sourcey .code-group{border-radius:var(--radius);border:1px solid rgb(var(--color-stone-950) / .1);flex-direction:column;display:flex;position:relative;overflow:visible}.dark #sourcey .code-group{border-color:#ffffff1a}#sourcey .code-group>div:first-child{background:rgb(var(--color-stone-50));border-top-left-radius:var(--radius);border-top-right-radius:var(--radius)}.dark #sourcey .code-group>div:first-child{background:#ffffff08}#sourcey .code-card-body{border-bottom-left-radius:var(--radius);border-bottom-right-radius:var(--radius);overflow:hidden}#sourcey .code-lang-menu{max-height:min(18rem, calc(100vh - var(--header-height,0px) - 2rem));overscroll-behavior:contain;overflow-y:auto}@media print{@page{margin:.7in}html,body,#sourcey,#sourcey #page,#sourcey #docs{color:#111827!important;background:#fff!important}#sourcey #page:before,#sourcey #navbar,#sourcey #toc,#sourcey #search-dialog,#sourcey .mobile-nav-dialog,#sourcey .copy-btn,#sourcey .prose-code-copy,#sourcey .code-lang-dropdown{display:none!important}#sourcey .max-w-\[92rem\],#sourcey .max-w-3xl{max-width:none!important;margin:0!important;padding:0!important}#sourcey #docs{padding-top:0!important}#sourcey #docs>.flex,#sourcey #docs [class*=lg\:flex-row],#sourcey #docs [class*=xl\:flex-row]{display:block!important}#sourcey #content-area{width:100%!important;max-width:none!important;margin:0!important;padding:0!important}#sourcey #sidebar{border-bottom:1px solid #e5e7eb;width:auto!important;margin:0 0 1.5rem!important;padding:0 0 1rem!important;display:block!important;position:static!important;inset:auto!important}#sourcey #sidebar>div{padding:0!important;position:static!important;inset:auto!important;overflow:visible!important}#sourcey #sidebar .sticky{display:none!important}#sourcey #sidebar #nav:before{content:"Table of Contents";color:#111827;margin:0 0 .75rem;font-size:.875rem;font-weight:700;display:block}#sourcey #sidebar .nav-group-label,#sourcey #sidebar .nav-link{color:#111827!important;background:0 0!important}#sourcey #sidebar .nav-link{padding:.125rem 0!important}#sourcey #docs article aside{display:none!important}#sourcey #docs [class*=lg\:hidden],#sourcey #docs [class*=xl\:hidden]{display:block!important}#sourcey .code-group,#sourcey .prose-code-block,#sourcey .param-item,#sourcey .schema-expandable,#sourcey .sourcey-changelog-version{break-inside:avoid}#sourcey .code-group,#sourcey .prose-code-block,#sourcey .prose-code-content,#sourcey .code-card-body,#sourcey .code-card-body>div,#sourcey .code-card-body .font-mono{color:#111827!important;background:#fff!important}#sourcey a{text-decoration:underline;color:#111827!important}}#sourcey ::selection{background:rgb(var(--color-primary) / .12)}#sourcey #search-dialog{z-index:500;background:0 0;display:none;position:fixed;inset:0}#sourcey #search-dialog.open{display:block}#sourcey .search-dialog-inner{background:rgb(var(--color-background-light));border-radius:var(--radius);border:1px solid rgb(var(--color-gray-200) / .7);box-shadow:0 8px 32px rgb(var(--color-overlay) / .12);position:absolute;overflow:hidden}.dark #sourcey .search-dialog-inner{background:rgb(var(--color-gray-900));border-color:rgb(var(--color-gray-700) / .5);box-shadow:0 8px 32px rgb(var(--color-overlay) / .4)}#sourcey .search-input-row{border-bottom:1px solid rgb(var(--color-gray-200));align-items:center;gap:.625rem;padding:.75rem 1rem;display:flex}.dark #sourcey .search-input-row{border-bottom-color:rgb(var(--color-gray-800))}#sourcey .search-input-icon{width:1.125rem;height:1.125rem;color:rgb(var(--color-gray-400));flex-shrink:0}#sourcey #search-input{width:100%;font-family:var(--font-sans);color:rgb(var(--color-gray-900));background:0 0;border:none;outline:none;font-size:.9375rem}.dark #sourcey #search-input{color:rgb(var(--color-gray-100))}#sourcey #search-input::placeholder{color:rgb(var(--color-gray-400))}#sourcey #search-results{max-height:50vh;padding:.25rem;overflow-y:auto}#sourcey .search-category{text-transform:uppercase;letter-spacing:.05em;color:rgb(var(--color-gray-600));padding:.5rem .75rem .25rem;font-size:.6875rem;font-weight:600}.dark #sourcey .search-category{color:rgb(var(--color-gray-400))}#sourcey .search-footer{border-top:1px solid rgb(var(--color-gray-200));color:rgb(var(--color-gray-600));align-items:center;gap:1rem;padding:.5rem .75rem;font-size:.6875rem;display:flex}.dark #sourcey .search-footer{border-top-color:rgb(var(--color-gray-800));color:rgb(var(--color-gray-400))}#sourcey .search-footer-hint{align-items:center;gap:.25rem;display:flex}#sourcey .search-footer kbd,#sourcey .sourcey-search-control kbd{min-width:1.25rem;height:1.125rem;font-family:var(--font-sans);border:1px solid rgb(var(--color-gray-200));background:rgb(var(--color-gray-50));color:rgb(var(--color-gray-500));border-radius:.25rem;justify-content:center;align-items:center;padding:0 .25rem;font-size:.625rem;font-weight:500;display:inline-flex}#sourcey .search-footer kbd{color:rgb(var(--color-gray-600))}.dark #sourcey .search-footer kbd,.dark #sourcey .sourcey-search-control kbd{border-color:rgb(var(--color-gray-700));background:rgb(var(--color-gray-800));color:rgb(var(--color-gray-400))}#sourcey .search-result{color:rgb(var(--color-gray-700));cursor:pointer;border-radius:.375rem;align-items:baseline;gap:.5rem;padding:.5rem .75rem;text-decoration:none;transition:background .1s;display:flex}.dark #sourcey .search-result{color:rgb(var(--color-gray-400))}#sourcey .search-result:hover,#sourcey .search-result.active{background:rgb(var(--color-primary) / .06);color:rgb(var(--color-gray-900))}.dark #sourcey .search-result:hover,.dark #sourcey .search-result.active{background:rgb(var(--color-primary-light) / .08);color:rgb(var(--color-gray-200))}#sourcey .search-result-main{flex:1;align-items:baseline;gap:.375rem;min-width:0;display:flex}#sourcey .search-result-path{font-family:var(--font-mono);white-space:nowrap;text-overflow:ellipsis;font-size:.8125rem;overflow:hidden}#sourcey .search-result-summary{color:rgb(var(--color-gray-600));white-space:nowrap;text-overflow:ellipsis;font-size:.8125rem;overflow:hidden}#sourcey .search-result-tag{color:rgb(var(--color-gray-600));white-space:nowrap;flex-shrink:0;font-size:.6875rem}.dark #sourcey :is(.search-result-summary,.search-result-tag){color:rgb(var(--color-gray-400))}#sourcey .search-status{text-align:center;color:rgb(var(--color-gray-500));margin:0;padding:1.75rem 1rem;font-size:.8125rem;line-height:1.25rem}.dark #sourcey .search-status{color:rgb(var(--color-gray-400))}#sourcey .search-status-action{color:rgb(var(--color-primary-ink));text-underline-offset:2px;cursor:pointer;margin-inline-start:.25rem;font-weight:500;text-decoration:underline}.dark #sourcey .search-status-action{color:rgb(var(--color-primary-light))}#sourcey .godoc-import,#sourcey .godoc-import-path{color:rgb(var(--color-gray-500));margin:.25rem 0 1.5rem;font-size:.8125rem}#sourcey .godoc-import code,#sourcey .godoc-import-path code{font-family:var(--font-mono);background:rgba(var(--color-gray-100), .6);border-radius:3px;padding:.125rem .375rem}#sourcey .godoc-source{color:rgb(var(--color-gray-500));margin:-.25rem 0 .625rem;font-size:.75rem}#sourcey .godoc-source a{color:inherit;text-decoration:none}#sourcey .godoc-source a:hover{color:rgb(var(--color-primary-ink))}#sourcey .godoc-toc{border:1px solid rgb(var(--color-gray-200));background:rgba(var(--color-gray-50), .5);border-radius:6px;margin:1.5rem 0 2.5rem;padding:.875rem 1rem}#sourcey .godoc-toc .godoc-toc-label{text-transform:uppercase;letter-spacing:.04em;color:rgb(var(--color-gray-500));margin:0 0 .5rem;font-size:.6875rem;font-weight:700}#sourcey .godoc-toc ul{margin:0;padding:0;font-size:.8125rem;list-style:none}#sourcey .godoc-toc li{margin:.125rem 0}#sourcey .godoc-toc li.godoc-toc-sub{font-family:var(--font-mono);color:rgb(var(--color-gray-600));padding-left:1rem;font-size:.75rem}#sourcey .godoc-toc a{color:inherit;border-bottom:1px dotted #0000;text-decoration:none}#sourcey .godoc-toc a:hover{color:rgb(var(--color-primary-ink));border-bottom-color:currentColor}.dark #sourcey .godoc-toc a:hover{color:rgb(var(--color-primary-light))}#sourcey .godoc-symbol{font-family:var(--font-mono);color:rgb(var(--color-gray-900));margin:1.75rem 0 .5rem;font-size:.95rem;font-weight:600}#sourcey .godoc-doc{color:rgb(var(--color-gray-700));margin:.5rem 0 .75rem;font-size:.9375rem;line-height:1.65}#sourcey .godoc-doc p:first-child{margin-top:0}#sourcey .godoc-doc p:last-child{margin-bottom:0}#sourcey .godoc-value,#sourcey .godoc-func,#sourcey .godoc-type{margin:1rem 0 1.5rem}#sourcey .godoc-type{border-top:1px solid rgb(var(--color-gray-200));margin-top:2rem;padding-top:1.25rem}#sourcey .godoc-anchor{height:0;display:block}#sourcey .godoc-fields{border:1px solid rgb(var(--color-gray-200));background:rgba(var(--color-gray-50), .4);border-radius:6px;margin:.75rem 0 1rem;padding:0}#sourcey .godoc-fields>summary{cursor:pointer;text-transform:uppercase;letter-spacing:.04em;color:rgb(var(--color-gray-600));padding:.5rem .875rem;font-size:.75rem;font-weight:600;list-style:none}#sourcey .godoc-fields>summary::-webkit-details-marker{display:none}#sourcey .godoc-fields>ul{border-top:1px solid rgb(var(--color-gray-200));margin:0;padding:0;list-style:none}#sourcey .godoc-field{border-bottom:1px solid rgb(var(--color-gray-200));padding:.625rem .875rem;font-size:.875rem}#sourcey .godoc-field:last-child{border-bottom:none}#sourcey .godoc-field-sig{font-family:var(--font-mono);color:rgb(var(--color-gray-900));background:0 0;padding:0;font-size:.8125rem;font-weight:600}#sourcey .godoc-field-type{color:rgb(var(--color-gray-700));font-weight:400}#sourcey .godoc-tag{font-family:var(--font-mono);color:rgb(var(--color-gray-500));background:0 0;margin-left:.5rem;padding:0;font-size:.75rem}#sourcey .godoc-field-doc{color:rgb(var(--color-gray-600));margin-top:.25rem;font-size:.8125rem;line-height:1.55}#sourcey .godoc-example{border:1px solid rgb(var(--color-gray-200));background:rgba(var(--color-gray-50), .4);border-radius:6px;margin:.75rem 0 1.25rem;padding:0}#sourcey .godoc-example>summary{cursor:pointer;text-transform:uppercase;letter-spacing:.04em;color:rgb(var(--color-gray-600));padding:.5rem .875rem;font-size:.75rem;font-weight:600;list-style:none}#sourcey .godoc-example>summary::-webkit-details-marker{display:none}#sourcey .godoc-example>summary:before{content:"▸ ";color:rgb(var(--color-gray-400));margin-right:.25rem}#sourcey .godoc-example[open]>summary:before{content:"▾ "}#sourcey .godoc-example>pre,#sourcey .godoc-example>.godoc-doc,#sourcey .godoc-example>p{margin:.5rem .875rem}#sourcey .godoc-example-output-label{text-transform:uppercase;letter-spacing:.04em;color:rgb(var(--color-gray-500));margin:.5rem .875rem 0;font-size:.6875rem;font-weight:700}#sourcey .godoc-func .godoc-symbol,#sourcey .godoc-type .godoc-symbol{word-break:break-word}.dark #sourcey .godoc-symbol,.dark #sourcey .godoc-field-sig{color:rgb(var(--color-gray-100))}.dark #sourcey .godoc-doc,.dark #sourcey .godoc-field-type{color:rgb(var(--color-gray-300))}.dark #sourcey .godoc-import,.dark #sourcey .godoc-import-path,.dark #sourcey .godoc-source,.dark #sourcey .godoc-toc .godoc-toc-label,.dark #sourcey .godoc-tag,.dark #sourcey .godoc-field-doc,.dark #sourcey .godoc-toc li.godoc-toc-sub,.dark #sourcey .godoc-fields>summary,.dark #sourcey .godoc-example>summary,.dark #sourcey .godoc-example-output-label{color:rgb(var(--color-gray-400))}.dark #sourcey .godoc-import code,.dark #sourcey .godoc-import-path code{background:rgba(var(--color-gray-800), .6)}.dark #sourcey .godoc-type,.dark #sourcey .godoc-fields>ul,.dark #sourcey .godoc-field{border-color:rgb(var(--color-gray-800))}.dark #sourcey .godoc-toc,.dark #sourcey .godoc-fields,.dark #sourcey .godoc-example{border-color:rgb(var(--color-gray-800));background:rgba(var(--color-gray-900), .5)}.dark #sourcey .godoc-example>summary:before{color:rgb(var(--color-gray-500))}#sourcey .rust-item{border-top:1px solid rgb(var(--color-gray-200));margin-top:1.25rem;padding-top:1rem}.dark #sourcey .rust-item{border-top-color:rgb(var(--color-gray-800))}#sourcey .code-header,#sourcey .rust-signature{color:rgb(var(--color-gray-900));white-space:pre-wrap;word-break:break-word;font-family:ui-monospace,SF Mono,Cascadia Code,Consolas,Liberation Mono,Menlo,monospace;font-size:.9375rem}.dark #sourcey .code-header,.dark #sourcey .rust-signature{color:rgb(var(--color-gray-100))}#sourcey .rust-signature .kw{color:var(--color-rose-700);font-weight:600}.dark #sourcey .rust-signature .kw{color:var(--color-rose-300)}#sourcey .rust-signature .ident{color:var(--color-indigo-600)}.dark #sourcey .rust-signature .ident{color:var(--color-indigo-300)}#sourcey .rust-signature .lifetime{color:var(--color-amber-700);font-style:italic}.dark #sourcey .rust-signature .lifetime{color:var(--color-amber-300)}#sourcey .api-rightside,#sourcey .rightside{float:right;color:rgb(var(--color-gray-500));font-size:.8125rem}#sourcey .api-since,#sourcey .since{font-feature-settings:"tnum"}#sourcey .api-srclink,#sourcey .srclink{color:var(--color-indigo-600);text-decoration:none}#sourcey .api-srclink:hover,#sourcey .srclink:hover{text-decoration:underline}.dark #sourcey .api-srclink,.dark #sourcey .srclink{color:var(--color-indigo-300)}#sourcey .docblock,#sourcey .rust-doc{color:rgb(var(--color-gray-700));margin-top:.5rem}.dark #sourcey .docblock,.dark #sourcey .rust-doc{color:rgb(var(--color-gray-300))}#sourcey .stab,#sourcey .api-stab{border:1px solid #0000;border-radius:.375rem;margin:.5rem 0;padding:.5rem .75rem;font-size:.875rem;display:block}#sourcey .stab.unstable,#sourcey .api-stab-unstable{background-color:var(--color-amber-50);border-color:var(--color-amber-200);color:var(--color-amber-900)}#sourcey .stab.deprecated,#sourcey .api-stab-deprecated{background-color:var(--color-rose-50);border-color:var(--color-rose-200);color:var(--color-rose-900)}#sourcey .stab.portability,#sourcey .api-stab-portability{background-color:var(--color-emerald-50);border-color:var(--color-emerald-200);color:var(--color-emerald-900)}.dark #sourcey .stab.unstable,.dark #sourcey .api-stab-unstable{color:var(--color-amber-200);background-color:#fbbf2414;border-color:#fbbf2440}.dark #sourcey .stab.deprecated,.dark #sourcey .api-stab-deprecated{color:var(--color-rose-200);background-color:#f43f5e14;border-color:#f43f5e40}.dark #sourcey .stab.portability,.dark #sourcey .api-stab-portability{color:var(--color-emerald-200);background-color:#10b98114;border-color:#10b98140}#sourcey .api-toggle{border:1px solid rgb(var(--color-gray-200));background:rgba(var(--color-gray-50), .4);border-radius:6px;margin:.75rem 0}.dark #sourcey .api-toggle{border-color:rgb(var(--color-gray-800))}#sourcey .api-toggle>summary{cursor:pointer;font-family:var(--font-mono);color:rgb(var(--color-gray-700));padding:.5rem .875rem;font-size:.8125rem;list-style:none}.dark #sourcey .api-toggle>summary{color:rgb(var(--color-gray-300))}#sourcey .api-toggle>summary::-webkit-details-marker{display:none}#sourcey .api-toggle>summary:before{content:"▸ ";color:rgb(var(--color-gray-400));margin-right:.25rem}#sourcey .api-toggle[open]>summary:before{content:"▾ "}#sourcey .api-toggle>summary .rust-impl-header{font-size:inherit;margin:0;display:inline}#sourcey .api-toggle-body{border-top:1px solid rgb(var(--color-gray-200));padding:.25rem .875rem .5rem}.dark #sourcey .api-toggle-body{border-top-color:rgb(var(--color-gray-800))}#sourcey .rust-impl-rows{margin:.5rem 0 .75rem}#sourcey .rust-impl-row{padding:.2rem 0}#sourcey .rust-impl-row .rust-impl-header{color:rgb(var(--color-gray-600));margin:0;font-size:.8125rem;font-weight:400;display:inline}.dark #sourcey .rust-impl-row .rust-impl-header{color:rgb(var(--color-gray-400))}#sourcey .anchor,#sourcey .api-anchor{color:rgb(var(--color-gray-400));opacity:0;margin-left:.4rem;text-decoration:none;transition:opacity .1s}#sourcey .section-header:hover .anchor,#sourcey .section-header:hover .api-anchor,#sourcey .code-header:hover .anchor,#sourcey .code-header:hover .api-anchor{opacity:1}#sourcey .rust-member{margin:.75rem 0}#sourcey .rust-method-header{margin:.5rem 0 .25rem}#sourcey .rust-doctest{margin:.75rem 0}#sourcey :is(.rust-item,.rust-member) .rust-doc>:is(h4,h5,h6){margin:1.25rem 0 .75rem;font-size:.875rem;font-weight:600}#sourcey .rust-doctest-badges{flex-wrap:wrap;gap:.25rem;margin-bottom:.25rem;display:flex}#sourcey .rust-doctest-badge{background-color:rgb(var(--color-gray-100));color:rgb(var(--color-gray-700));text-transform:lowercase;letter-spacing:.02em;border-radius:.25rem;padding:.05rem .4rem;font-size:.6875rem;font-weight:600;display:inline-block}.dark #sourcey .rust-doctest-badge{background-color:rgb(var(--color-gray-800));color:rgb(var(--color-gray-300))}#sourcey .rust-doctest-badge-should_panic,#sourcey .rust-doctest-badge-compile_fail{background-color:var(--color-rose-100);color:var(--color-rose-800)}#sourcey .rust-doctest-badge-no_run,#sourcey .rust-doctest-badge-ignore{background-color:var(--color-amber-100);color:var(--color-amber-800)}#sourcey .rust-doctest-controls{gap:.5rem;margin-top:.5rem;font-size:.8125rem;display:flex}#sourcey .rust-doctest-run,#sourcey .rust-doctest-toggle-hidden{cursor:pointer;border:1px solid rgb(var(--color-gray-300));background-color:rgb(var(--color-background-light));color:rgb(var(--color-gray-800));border-radius:.375rem;padding:.35rem .65rem;line-height:1.4;text-decoration:none}#sourcey .rust-doctest-run:hover,#sourcey .rust-doctest-toggle-hidden:hover{background-color:rgb(var(--color-gray-50))}.dark #sourcey .rust-doctest-run,.dark #sourcey .rust-doctest-toggle-hidden{background-color:rgb(var(--color-gray-900));border-color:rgb(var(--color-gray-700));color:rgb(var(--color-gray-200))}#sourcey .rust-doctests-index .rust-doctest{margin:1.5rem 0}#sourcey .rust-doctests-index .rust-doctest>h2{border-left:3px solid var(--color-emerald-500);padding-left:.625rem}.dark #sourcey .rust-doctests-index .rust-doctest>h2{border-left-color:var(--color-emerald-400)}.sourcey-nav-host{display:contents}@media (width>=1024px){.sourcey-nav-host{top:var(--header-height);z-index:20;width:18rem;display:block;position:fixed;bottom:0}.sourcey-nav-host.sourcey-nav-wide{width:var(--sidebar-width);border-inline-end:1px solid rgb(var(--color-gray-200));left:0}.sourcey-nav-host.sourcey-nav-mobile-only{display:none}.dark .sourcey-nav-host.sourcey-nav-wide{border-color:rgb(var(--color-gray-800))}.sourcey-responsive-nav{flex-direction:column;width:100%;max-width:none;height:100%;max-height:none;margin:0;animation:none;display:flex;position:static;overflow:hidden}.sourcey-responsive-nav .sourcey-nav-scroll{padding:var(--sourcey-content-gap) 2rem 2.5rem 0}#nav>:first-child>.nav-link:first-child,#nav>:first-child>ul:first-child>li:first-child>.nav-link,#nav>:first-child>details:first-child>summary,#nav>:first-child>.sourcey-nav-group-linked:first-child{margin-top:-.375rem}.sourcey-nav-wide .sourcey-responsive-nav .sourcey-nav-scroll{padding-inline:.75rem 1rem}}@media (width<=1023px){html:not(.sourcey-js) .sourcey-responsive-nav{width:100%;max-width:none;height:auto;margin-top:8rem;display:block;position:static}}#sourcey dialog#search-dialog{border:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0}#sourcey dialog#search-dialog::backdrop{background:#00000014}#sourcey .sourcey-nav-group>summary{cursor:pointer;align-items:center;gap:.5rem;list-style:none;display:flex}#sourcey .sourcey-nav-group>summary::-webkit-details-marker{display:none}#sourcey .sourcey-nav-group>summary:before{content:"";opacity:.55;border-bottom:1px solid;border-right:1px solid;flex:none;width:.35rem;height:.35rem;transform:rotate(-45deg)}#sourcey .sourcey-nav-group[open]>summary:before{transform:rotate(45deg)}#sourcey .sourcey-nav-group>summary .nav-group-label{margin-bottom:0}#sourcey .sourcey-nav-group>summary{margin-bottom:.5rem}#sourcey #nav .sourcey-nav-group>summary{border-radius:.75rem;gap:0;margin-bottom:0;padding-inline-end:.75rem}#sourcey #nav .sourcey-nav-group>summary:before{content:none}#sourcey #nav .sourcey-nav-group>summary:after{content:"";opacity:.55;border-bottom:1px solid;border-right:1px solid;flex:none;width:.35rem;height:.35rem;margin-inline-start:auto;transform:rotate(-45deg)}#sourcey #nav .sourcey-nav-group[open]>summary:after{transform:rotate(45deg)}#sourcey #nav .sourcey-nav-group>summary .nav-group-label{flex:1;min-width:0;padding-block:.375rem}#sourcey #nav .sourcey-nav-group>summary:hover{background:rgb(var(--color-gray-100) / .6)}.dark #sourcey #nav .sourcey-nav-group>summary:hover{background:rgb(var(--color-gray-800) / .4)}#sourcey .sourcey-nav-group-linked{position:relative}#sourcey #nav .sourcey-nav-group-linked>.nav-group-label{border-radius:.75rem;margin-bottom:0;padding-block:.375rem;padding-inline-end:1.85rem}#sourcey #nav .sourcey-nav-group-linked>.nav-group-label:hover{background:rgb(var(--color-gray-100) / .6)}#sourcey #nav .sourcey-nav-group-linked:has(>details>summary:hover)>.nav-group-label{background:rgb(var(--color-gray-100) / .6)}.dark #sourcey #nav .sourcey-nav-group-linked>.nav-group-label:hover{background:rgb(var(--color-gray-800) / .4)}.dark #sourcey #nav .sourcey-nav-group-linked:has(>details>summary:hover)>.nav-group-label{background:rgb(var(--color-gray-800) / .4)}#sourcey #nav .sourcey-nav-group-linked>details>summary{top:0;width:2.25rem;height:calc(1lh + .75rem);position:absolute;inset-inline-end:0}#sourcey #nav .sourcey-nav-group-linked>details>summary:hover{background:0 0}#sourcey .docs-sidebar .sourcey-nav-group-linked>.nav-section{margin-bottom:.5rem;padding-inline-start:calc(12px + .85rem);display:block}#sourcey .docs-sidebar .sourcey-nav-group-linked>details>summary{top:0;height:calc(1lh + 32px);color:inherit;margin:0;padding:0;position:absolute;inset-inline-start:0}#sourcey .reader-nested-group{padding-inline-start:.75rem}#sourcey .sourcey-badge{border:1px solid rgb(var(--color-gray-300) / .7);vertical-align:middle;border-radius:.35rem;align-items:center;padding:.1em .5em;font-size:.75em;line-height:1.5;display:inline-flex}#sourcey .sourcey-file-tree{font-family:var(--font-mono);border:1px solid rgb(var(--color-gray-300) / .5);border-radius:.75rem;padding:1rem 1.25rem;font-size:.875em;overflow-x:auto}#sourcey .sourcey-file-tree ul{margin-block:.25rem;padding-inline-start:1.25rem}#sourcey .sourcey-file-tree>ul{margin:0}#sourcey .prose-code-title{font:.8rem/1.4 var(--font-mono);border-bottom:1px solid rgb(var(--color-gray-300) / .4);padding:.75rem 3.5rem .75rem 1rem}#sourcey .prose-code-content .line.highlighted{background:rgb(var(--color-primary) / .1)}#sourcey .prose-code-content .line.diff-added{background:#22c55e1f}#sourcey .prose-code-content .line.diff-removed{background:#ef44441f}#sourcey .prose-code-content .line.unfocused{opacity:.65}#sourcey .prose-code-content:hover .line.unfocused{opacity:1}#sourcey .sourcey-page{max-width:92rem;margin-inline:auto;padding:8.5rem 1rem 0}#sourcey [data-sourcey-theme=api-first] .sourcey-page{max-width:none}@media (width>=1024px){#sourcey .sourcey-page{padding:2.5rem var(--sourcey-header-gutter,3rem) 0}}#sourcey .sourcey-not-found{max-width:40rem;margin-inline:auto;padding:clamp(5rem,15vh,10rem) 1.5rem}#sourcey .sourcey-status-code{font:.8rem/1.5 var(--font-mono);letter-spacing:.15em;color:rgb(var(--color-gray-500))}#sourcey .sourcey-not-found h1{letter-spacing:-.04em;color:rgb(var(--color-gray-900));margin-block:1rem 1.5rem;font-size:clamp(2rem,5vw,3.5rem);font-weight:650;line-height:1.1}.dark #sourcey .sourcey-not-found h1{color:rgb(var(--color-gray-100))}#sourcey .sourcey-not-found>p:not(.sourcey-status-code){color:rgb(var(--color-gray-500));line-height:1.7}.dark #sourcey :is(.sourcey-status-code,.sourcey-not-found>p){color:rgb(var(--color-gray-400))}#sourcey .sourcey-not-found-home{color:rgb(var(--color-primary-ink));gap:1rem;margin-top:2rem;display:inline-flex}.dark #sourcey .sourcey-not-found-home{color:rgb(var(--color-primary-light))}#sourcey .schema-example{border:1px solid rgb(var(--color-stone-200) / .75);background:rgb(var(--color-stone-50) / .65);border-radius:.5rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;margin-block:.75rem;padding:.5rem .75rem;display:grid}#sourcey .schema-example-label{color:rgb(var(--color-stone-500));font-size:.6875rem}.dark #sourcey .schema-example-label{color:rgb(var(--color-stone-400))}#sourcey .schema-example pre{background:0 0;max-height:16rem;margin:0;padding:0;font-size:.75rem;line-height:1.5;overflow:auto}.dark #sourcey .schema-example{border-color:rgb(var(--color-stone-700) / .65);background:0 0}:root{--sourcey-form-background:rgb(var(--color-background-light));--sourcey-form-ink:rgb(var(--color-gray-900));--sourcey-form-muted:rgb(var(--color-gray-500));--sourcey-form-border:rgb(var(--color-gray-200));--sourcey-form-hover:rgb(var(--color-gray-50));--sourcey-form-accent:rgb(var(--color-primary-dark));--sourcey-form-focus:rgb(var(--color-primary));--sourcey-form-error:color-mix(in srgb, var(--method-delete), rgb(var(--color-gray-950)) 25%);--sourcey-form-success:color-mix(in srgb, var(--method-get), rgb(var(--color-gray-950)) 35%);--sourcey-form-radius:min(var(--radius), var(--sourcey-control-radius));--sourcey-form-height:var(--sourcey-control-height);--sourcey-form-height-small:var(--sourcey-control-height-small);--sourcey-form-padding:.375rem .75rem;--sourcey-form-font:var(--font-sans);--sourcey-form-font-size:.875rem;--sourcey-form-font-size-small:.8125rem}.dark{--sourcey-form-background:rgb(var(--color-background-dark));--sourcey-form-ink:rgb(var(--color-gray-100));--sourcey-form-muted:rgb(var(--color-gray-400));--sourcey-form-border:rgb(var(--color-gray-700));--sourcey-form-hover:rgb(var(--color-gray-900));--sourcey-form-error:color-mix(in srgb, var(--method-delete), rgb(var(--color-gray-50)) 35%);--sourcey-form-success:color-mix(in srgb, var(--method-get), rgb(var(--color-gray-50)) 25%)}:where(#sourcey) .sourcey-field{flex-direction:column;gap:.5rem;min-width:0;display:flex}:where(#sourcey) .sourcey-label{color:var(--sourcey-form-ink);font-size:.875rem;font-weight:550}:where(#sourcey) :is(.sourcey-input,.sourcey-select){box-sizing:border-box;width:100%;min-width:0;min-height:var(--sourcey-form-height);padding:var(--sourcey-form-padding);border:1px solid var(--sourcey-form-border);border-radius:var(--sourcey-form-radius);background:var(--sourcey-form-background);color:var(--sourcey-form-ink);font-family:var(--sourcey-form-font);font-size:var(--sourcey-form-font-size);line-height:1.25rem;transition:border-color .15s,box-shadow .15s}:where(#sourcey) .sourcey-select-wrap{min-width:0;max-width:100%;color:var(--sourcey-form-muted);display:grid;position:relative}:where(#sourcey) .sourcey-select{appearance:none;cursor:pointer;text-overflow:ellipsis;padding-inline-end:2.25rem}:where(#sourcey) input.sourcey-input,:where(#sourcey) select.sourcey-select:not([multiple]):not([size]),:where(#sourcey) select.sourcey-select[size="1"]{height:var(--sourcey-form-height)}:where(#sourcey) .sourcey-select-caret{inset-inline-end:.625rem;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}:where(#sourcey) .sourcey-select-wrap:focus-within{color:var(--sourcey-form-focus)}:where(#sourcey) .sourcey-select:has(option[value=""]:checked){color:var(--sourcey-form-muted)}:where(#sourcey) .sourcey-select-wrap:has(select:disabled) .sourcey-select-caret{opacity:.5}:where(#sourcey) .sourcey-input[type=number]{appearance:textfield}:where(#sourcey) .sourcey-input::-webkit-inner-spin-button{appearance:none;margin:0}:where(#sourcey) .sourcey-input::-webkit-outer-spin-button{appearance:none;margin:0}:where(#sourcey) .sourcey-input[type=file]{padding:0;overflow:hidden}:where(#sourcey) .sourcey-input::file-selector-button{min-height:calc(var(--sourcey-form-height) - 2px);border:0;border-inline-end:1px solid var(--sourcey-form-border);color:inherit;background:var(--sourcey-form-hover);font:inherit;cursor:pointer;margin-inline-end:.75rem;padding:0 .75rem}:where(#sourcey) .sourcey-textarea{font-family:var(--font-mono);resize:vertical;tab-size:2}:where(#sourcey) .sourcey-input::placeholder{color:var(--sourcey-form-muted)}:where(#sourcey) :is(.sourcey-input,.sourcey-select):hover{border-color:var(--sourcey-form-muted)}:where(#sourcey) :is(.sourcey-input,.sourcey-select,.sourcey-button,.sourcey-search-control):focus-visible{outline:2px solid var(--sourcey-form-focus);outline-offset:2px}:where(#sourcey) :is(.sourcey-input,.sourcey-select):focus-visible{border-color:var(--sourcey-form-focus);outline-offset:0;box-shadow:0 0 0 3px color-mix(in srgb, var(--sourcey-form-focus) 14%, transparent);outline-width:1px}:where(#sourcey) [aria-invalid=true].sourcey-input,:where(#sourcey) [aria-invalid=true].sourcey-select{border-color:var(--sourcey-form-error)}:where(#sourcey) :is(.sourcey-input,.sourcey-select)[aria-invalid=true]:focus-visible{outline-color:var(--sourcey-form-error);box-shadow:0 0 0 3px color-mix(in srgb, var(--sourcey-form-error) 14%, transparent)}:where(#sourcey) .sourcey-button{min-height:var(--sourcey-form-height);border:1px solid var(--sourcey-form-border);border-radius:var(--sourcey-form-radius);background:var(--sourcey-form-background);color:var(--sourcey-form-ink);font-family:var(--sourcey-form-font);cursor:pointer;flex-shrink:0;justify-content:center;align-items:center;gap:.625rem;padding:.375rem .875rem;font-size:.875rem;font-weight:550;line-height:1.25rem;text-decoration:none;transition:background-color .15s,border-color .15s;display:inline-flex}:where(#sourcey) .sourcey-button:hover{background:var(--sourcey-form-hover)}:where(#sourcey) .sourcey-button-primary{background:var(--sourcey-form-accent);color:rgb(var(--color-background-light));border-color:#0000}:where(#sourcey) .sourcey-button-primary:hover{background:color-mix(in srgb, var(--sourcey-form-accent), rgb(var(--color-gray-950)) 12%)}:where(#sourcey) .sourcey-button-primary:active:not(:disabled){background:color-mix(in srgb, var(--sourcey-form-accent), rgb(var(--color-gray-950)) 20%)}:where(#sourcey) .sourcey-button-quiet{min-height:var(--sourcey-form-height-small);background:0 0;border-color:#0000;padding:.25rem .5rem}:where(#sourcey) :is(.sourcey-button,.sourcey-input,.sourcey-select):disabled{opacity:.55;cursor:not-allowed}:where(#sourcey) .sourcey-help{color:var(--sourcey-form-muted);overflow-wrap:anywhere;margin:0;font-size:.8125rem;line-height:1.6}:where(#sourcey) .sourcey-error{color:var(--sourcey-form-error);overflow-wrap:anywhere;margin:.5rem 0;font-size:.8125rem;line-height:1.6}:where(#sourcey) .sourcey-endpoint{min-width:0}:where(#sourcey) .sourcey-endpoint [data-endpoint-url]{overflow-wrap:anywhere}:where(#sourcey) .tryit-trigger{white-space:nowrap;margin-inline-start:auto}:where(#sourcey) .tryit-examples{grid-template-columns:minmax(0,1fr);gap:1rem;min-width:0;display:grid}:where(#sourcey) .tryit-examples>*{min-width:0}:where(#sourcey) :is([data-sourcey-operation],.sourcey-definition){container:sourcey-reference/inline-size}:where(#sourcey) .operation-layout{flex-direction:column;gap:1.5rem;display:flex}:where(#sourcey) .operation-layout>*{min-width:0}:where(#sourcey) .operation-intro>:last-child{margin-bottom:0}:where(#sourcey) .operation-details>:first-child{margin-top:0}:where(#sourcey) [data-console-open]>.operation-layout>.sourcey-operation-examples{order:-1}:where(#sourcey) .tryit-panel{min-width:0;font-family:var(--font-sans);color:var(--sourcey-form-ink);font-size:.875rem;container-type:inline-size}:where(#sourcey) .tryit-panel :is(h2,h3,h4){font-family:var(--font-sans);letter-spacing:0;margin:0;font-size:1rem;font-weight:600;line-height:1.5}:where(#sourcey) .tryit-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;margin-block-end:1.25rem;display:flex}:where(#sourcey) .tryit-fields{border:0;gap:1.25rem;min-width:0;margin:0;padding:0;display:grid}:where(#sourcey) .tryit-server{flex-wrap:wrap;align-items:center;gap:.875rem;display:flex}:where(#sourcey) .tryit-server .sourcey-select-wrap{flex:1;min-width:min(10rem,100%);max-width:16rem}:where(#sourcey) .tryit-parameters{gap:1.25rem;display:grid}:where(#sourcey) .tryit-parameters>.sourcey-field>.sourcey-field-control{margin-block-start:auto}:where(#sourcey) .tryit-field-heading{align-items:baseline;gap:.625rem;min-width:0;display:flex}:where(#sourcey) .sourcey-label code{font-family:var(--font-mono);font-size:inherit;color:inherit;overflow-wrap:anywhere;background:0 0;padding:0}:where(#sourcey) .tryit-field-meta{color:var(--sourcey-form-muted);font-size:.75rem;line-height:1.5}:where(#sourcey) .tryit-unset{min-height:1.5rem;color:var(--sourcey-form-muted);cursor:pointer;border-radius:.25rem;margin-inline-start:auto;padding-inline:.25rem;font-size:.75rem}:where(#sourcey) .tryit-unset:hover{color:var(--sourcey-form-ink);background:var(--sourcey-form-hover)}:where(#sourcey) .tryit-null{margin-inline-start:auto;font-size:.75rem}:where(#sourcey) .tryit-object{gap:1rem;padding:.75rem 0 .25rem;display:grid}:where(#sourcey) .tryit-object>.sourcey-field+.sourcey-field{border-top:1px solid var(--sourcey-form-border);padding-top:1rem}:where(#sourcey) .tryit-array{gap:.75rem;display:grid}:where(#sourcey) .tryit-array-item{align-items:end;gap:.5rem;display:flex}:where(#sourcey) .tryit-array-item>.sourcey-field{flex:1}:where(#sourcey) :is(.tryit-auth,.tryit-optional,.tryit-preview){border-block:1px solid var(--sourcey-form-border)}:where(#sourcey) :is(.tryit-auth,.tryit-optional,.tryit-preview)>summary{cursor:pointer;align-items:center;gap:.625rem;min-height:2.875rem;font-size:.875rem;list-style:none;display:flex}:where(#sourcey) :is(.tryit-auth,.tryit-optional,.tryit-preview)>summary::-webkit-details-marker{display:none}:where(#sourcey) :is(.tryit-auth,.tryit-optional,.tryit-preview)>summary:before{content:"";color:var(--sourcey-form-muted);border-block-end:1.5px solid;border-inline-end:1.5px solid;flex:none;width:.375rem;height:.375rem;margin-inline:.125rem .25rem;transform:rotate(-45deg)}:where(#sourcey) :is(.tryit-auth,.tryit-optional,.tryit-preview)[open]>summary:before{transform:rotate(45deg)}:where(#sourcey) :is(.tryit-auth,.tryit-preview)>summary>.sourcey-help{margin-inline-start:auto}:where(#sourcey) :is(.tryit-auth,.tryit-optional)[open]{padding-block-end:1rem}:where(#sourcey) .tryit-auth-fields{gap:.75rem;margin-block:1rem;display:grid}:where(#sourcey) .tryit-auth-note{flex-wrap:wrap;align-items:center;gap:.75rem;margin-block-start:.875rem;display:flex}:where(#sourcey) .tryit-optional>.sourcey-field{margin-block:1rem}:where(#sourcey) .tryit-body{border-top:1px solid var(--sourcey-form-border);min-width:0;padding-block-start:1rem}:where(#sourcey) .tryit-body>.sourcey-field+.sourcey-field{margin-top:1rem}:where(#sourcey) .tryit-media{min-width:0;max-width:100%}:where(#sourcey) .tryit-media .sourcey-select{--sourcey-form-height:var(--sourcey-form-height-small);min-height:var(--sourcey-form-height-small);font-size:var(--sourcey-form-font-size-small);padding-block:.25rem}:where(#sourcey) .tryit-errors ul{padding-inline-start:1.25rem;list-style:outside}:where(#sourcey) .tryit-actions{align-items:center;gap:.75rem;padding-block-start:1.5rem;display:flex}:where(#sourcey) .tryit-saved{flex:1;font-size:.75rem}:where(#sourcey) .tryit-shortcut{color:var(--sourcey-form-muted);white-space:nowrap;font-size:.6875rem}:where(#sourcey) .tryit-send-target{text-align:end;margin-top:.625rem;font-size:.6875rem}:where(#sourcey) .tryit-send-target code{font:inherit}:where(#sourcey) .tryit-feedback:empty{display:none}:where(#sourcey) .tryit-feedback{color:var(--sourcey-form-muted);margin-top:.75rem;font-size:.8125rem;line-height:1.6}:where(#sourcey) .tryit-preview{margin-top:1rem}:where(#sourcey) .tryit-preview-tools,:where(#sourcey) .tryit-response-tools{justify-content:space-between;align-items:center;gap:.5rem;padding:.5rem 0;display:flex}:where(#sourcey) .tryit-preview-tools .sourcey-select{--sourcey-form-height:var(--sourcey-form-height-small);min-height:var(--sourcey-form-height-small);font-size:var(--sourcey-form-font-size-small);padding-block:.25rem}:where(#sourcey) .tryit-code{max-height:22rem;font-family:var(--font-mono);background:rgb(var(--color-gray-900));color:rgb(var(--color-gray-100));border-radius:var(--sourcey-form-radius);margin:0 0 .75rem;padding:1rem;font-size:.75rem;line-height:1.8;overflow:auto}:where(#sourcey) .tryit-include{align-items:start;gap:.5rem;margin-bottom:1rem;font-size:.75rem;line-height:1.6;display:flex}:where(#sourcey) .tryit-include input{margin-top:.2rem}:where(#sourcey) :is(.tryit-include,.tryit-null) input{block-size:1rem;inline-size:1rem;accent-color:var(--sourcey-form-focus);flex-shrink:0}:where(#sourcey) .tryit-response-tools>.tryit-tabs{margin-inline-end:auto}:where(#sourcey) .tryit-response{border-top:1px solid var(--sourcey-form-border);margin-top:1.75rem;padding-top:1.25rem}:where(#sourcey) .tryit-response>.tryit-heading{margin-bottom:.5rem}:where(#sourcey) .tryit-response-meta{font-family:var(--font-mono);color:var(--sourcey-form-muted);flex-wrap:wrap;align-items:center;gap:.75rem;font-size:.6875rem;display:flex}:where(#sourcey) .tryit-status{border-radius:.25rem;padding:.1875rem .375rem;font-weight:600;display:inline-block}:where(#sourcey) .tryit-status-ok{color:var(--sourcey-form-success);background:color-mix(in srgb, var(--sourcey-form-success) 10%, transparent)}:where(#sourcey) .tryit-status-error{color:var(--sourcey-form-error);background:color-mix(in srgb, var(--sourcey-form-error) 10%, transparent)}:where(#sourcey) .tryit-tabs{gap:1rem;display:flex}:where(#sourcey) .tryit-tabs>button{color:var(--sourcey-form-muted);cursor:pointer;border-bottom:2px solid #0000;padding:.5rem 0;font-size:.8125rem}:where(#sourcey) .tryit-tabs>[aria-selected=true]{color:var(--sourcey-form-ink);border-bottom-color:var(--sourcey-form-focus)}:where(#sourcey) .tryit-response-body{border:1px solid var(--sourcey-form-border);border-radius:var(--sourcey-form-radius);min-width:0;max-height:25rem;padding:1rem;overflow:auto}:where(#sourcey) .tryit-response-body pre{font-family:var(--font-mono);tab-size:2;margin:0;font-size:.75rem;line-height:1.8}:where(#sourcey) .tryit-response-body>p{color:var(--sourcey-form-muted);margin:0;font-size:.8125rem}:where(#sourcey) .tryit-response-origin{color:var(--sourcey-form-muted);overflow-wrap:anywhere;margin:.625rem 0 0;font-size:.6875rem}:where(#sourcey) .tryit-response-download{flex-wrap:wrap;justify-content:space-between;gap:.5rem;padding-top:.75rem;display:flex}:where(#sourcey) .tryit-response-origin code{font:inherit}:where(#sourcey) [data-try-it-mount][hidden],:where(#sourcey) [data-try-it-examples][hidden],:where(#sourcey) [data-try-it-trigger][hidden]{display:none}@container (width>=28rem){:where(#sourcey) .tryit-parameters{grid-template-columns:repeat(2,minmax(0,1fr))}:where(#sourcey) .tryit-parameters>.sourcey-field:has(.tryit-object,.tryit-array,textarea){grid-column:1/-1}}@media (width>=1280px){@container sourcey-reference (width>55rem){:where(#sourcey) .operation-layout{grid-template:"intro examples""details examples"1fr/minmax(0,1fr) 28rem;gap:0 2rem;display:grid}:where(#sourcey) .operation-intro{grid-area:intro;margin-bottom:1.5rem}:where(#sourcey) .operation-details{grid-area:details}:where(#sourcey) .sourcey-operation-examples{top:calc(var(--header-height) + 2.5rem);grid-area:examples;align-self:start;position:sticky}}}@media (width<=639px),(any-pointer:coarse){:root{--sourcey-control-height:var(--sourcey-control-height-touch);--sourcey-control-height-small:var(--sourcey-control-height-touch);--sourcey-form-font-size:1rem;--sourcey-form-font-size-small:1rem}:where(#sourcey) :is(.sourcey-input,.sourcey-select){font-size:1rem}:where(#sourcey) :is(.sourcey-input,.sourcey-select,.sourcey-button){min-height:max(var(--sourcey-form-height), var(--sourcey-control-height-touch))}:where(#sourcey) :is(.tryit-tabs>button,.tryit-unset,.tryit-include,.tryit-null){min-height:var(--sourcey-control-height-touch)}:where(#sourcey) :is(.tryit-include,.tryit-null){align-items:center}}@media (width<=639px){:where(#sourcey) .tryit-actions .sourcey-button-primary{flex:1}:where(#sourcey) .tryit-shortcut,:where(#sourcey) .tryit-saved:empty{display:none}:where(#sourcey) .tryit-actions{flex-wrap:wrap}:where(#sourcey) .tryit-saved:not(:empty){flex-basis:100%}}@media (prefers-reduced-motion:reduce){:where(#sourcey) :is(.sourcey-input,.sourcey-select,.sourcey-button){transition:none}} +/*$vite$:1*/ \ No newline at end of file diff --git a/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.js b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.js new file mode 100644 index 00000000..3164aa6c --- /dev/null +++ b/site/public/sourcey/_assets/6aeb69527308be7393c5/sourcey.js @@ -0,0 +1 @@ +(function(){function e(e){typeof window.requestIdleCallback==`function`?window.requestIdleCallback(e,{timeout:250}):document.readyState===`complete`?e():window.addEventListener(`load`,e,{once:!0})}(function(){function t(e){try{return window.sessionStorage.getItem(e)}catch{return null}}function n(e,t){try{window.sessionStorage.setItem(e,t)}catch{}}function r(e){try{window.sessionStorage.removeItem(e)}catch{}}function i(e){var t=(e||`/`).replace(/\/+$/,``)||`/`;return t=t.replace(/\/index(?:\.html)?$/,``)||`/`,t=t.replace(/\.html$/,``),t||`/`}function a(e){if(!e.length)return null;for(var t=e.map(function(e){return i(e).split(`/`).filter(Boolean)}),n=[],r=0;r=document.body.scrollHeight-10){var c=s[s.length-1];t=n.length?c.getAttribute(`data-traverse-target`):c.id}t&&f(t)}}var y=!1;window.addEventListener(`scroll`,function(){y||(y=!0,requestAnimationFrame(function(){v(),y=!1}))},{passive:!0});var b=window.location.hash.slice(1)||new URLSearchParams(window.location.search).get(`target`);b&&document.getElementById(b)?(f(b),requestAnimationFrame(function(){m(b,`instant`)})):v(),window.addEventListener(`hashchange`,function(){var e=window.location.hash.slice(1);e&&(f(e,!0),m(e,`smooth`))})}window.location.hash.slice(1)||new URLSearchParams(window.location.search).get(`target`)?requestAnimationFrame(n):e(n)})(),document.querySelectorAll(`[data-changelog-jump]`).forEach(function(e){e.addEventListener(`click`,function(t){t.target.closest(`a[href]`)&&(e.open=!1)})}),document.querySelectorAll(`[data-sourcey-feedback]`).forEach(function(e){var t=e.querySelectorAll(`.sourcey-feedback-rating`);e.hidden=!1,t.forEach(function(n){n.addEventListener(`click`,function(){t.forEach(function(e){e.disabled=!0,e.setAttribute(`aria-pressed`,String(e===n))});var r=e.querySelector(`.sourcey-feedback-note[data-rating="`+n.dataset.rating+`"]`);r&&(r.hidden=!1),e.dispatchEvent(new CustomEvent(`sourcey:feedback`,{bubbles:!0,detail:{value:JSON.parse(n.dataset.value),page:location.pathname}}))})})}),(function(){function t(){var e=null;document.addEventListener(`click`,function(e){var r=e.target.closest(`.code-lang-trigger`);if(document.querySelectorAll(`.code-lang-menu`).forEach(function(e){if(!r||!e.parentElement.contains(r)){t(e);var n=e.parentElement.querySelector(`.code-lang-trigger`);n&&n.setAttribute(`aria-expanded`,`false`)}}),r){e.stopPropagation();var i=r.nextElementSibling;if(i){var a=!i.classList.contains(`hidden`);a?t(i):(i.classList.remove(`hidden`),n(r,i)),r.setAttribute(`aria-expanded`,a?`false`:`true`)}}}),document.addEventListener(`click`,function(n){var r=n.target.closest(`.code-lang-option`);if(r){var a=r.closest(`.code-lang-dropdown`),o=!!(a&&a.hasAttribute(`data-lang-sync`)),s=r.textContent.trim(),c=r.closest(`.code-lang-menu`);if(c){t(c);var l=c.parentElement.querySelector(`.code-lang-trigger`);l&&l.setAttribute(`aria-expanded`,`false`)}var u=window.scrollY;if(i(r),o&&s!==e){e=s;var d=r.closest(`.code-group`);document.querySelectorAll(`.code-group`).forEach(function(e){e!==d&&e.querySelector(`.code-lang-dropdown[data-lang-sync]`)&&e.querySelectorAll(`.code-lang-option`).forEach(function(e){e.textContent.trim()===s&&i(e)})})}window.scrollTo(0,u)}});function t(e){e.classList.add(`hidden`),e.style.position=``,e.style.top=``,e.style.right=``,e.style.bottom=``,e.style.maxHeight=``}function n(e,t){var n=e.getBoundingClientRect(),r=4,i=8,a=window.innerHeight-n.bottom-i,o=n.top-i,s=a<160&&o>a;t.style.position=`fixed`,t.style.right=Math.max(i,window.innerWidth-n.right)+`px`,t.style.maxHeight=Math.max(96,Math.floor((s?o:a)-r))+`px`,s?(t.style.top=``,t.style.bottom=Math.max(i,window.innerHeight-n.top+r)+`px`):(t.style.bottom=``,t.style.top=Math.min(window.innerHeight-i,n.bottom+r)+`px`)}function r(e){var t=e.closest(`[data-response-dropdown]`);if(t){var n=t.getAttribute(`data-response-dropdown`),r=t.closest(`.code-group`),i=r&&r.querySelector(`.response-panel[data-response-panel="`+n+`"]`);if(i)return i}return e.closest(`.code-lang-scope`)||e.closest(`.code-group`)}function i(e){var t=e.closest(`.code-lang-dropdown`),n=r(e),i=e.getAttribute(`data-lang-index`);if(t){var a=t.querySelector(`.code-lang-label`);t.querySelectorAll(`.code-lang-option`).forEach(function(e){var n=e.getAttribute(`data-lang-index`)===i;if(e.setAttribute(`aria-selected`,n?`true`:`false`),e.className=e.className.replace(/(dark:)?text-\[rgb\([^\]]+\)\]/g,``).trim(),n){e.classList.add(`text-[rgb(var(--color-primary-ink))]`,`dark:text-[rgb(var(--color-primary-light))]`),a&&(a.textContent=e.textContent.trim());var r=t.querySelector(`.code-lang-trigger .code-lang-icon`),o=e.querySelector(`.lang-icon`);r&&o&&(r.innerHTML=o.outerHTML)}else e.classList.add(`text-[rgb(var(--color-stone-600))]`,`dark:text-[rgb(var(--color-stone-400))]`)})}n&&n.querySelectorAll(`.code-lang-panel`).forEach(function(e){e.classList.toggle(`active`,e.getAttribute(`data-lang-panel`)===i)})}document.addEventListener(`click`,function(e){var t=e.target.closest(`.response-tab`);if(t){var n=t.closest(`.response-tabs`),r=t.getAttribute(`data-response-index`),i=window.scrollY;n.querySelectorAll(`.response-tab`).forEach(function(e){var t=e.getAttribute(`data-response-index`)===r;e.classList.toggle(`active`,t),e.setAttribute(`aria-selected`,t?`true`:`false`)}),n.querySelectorAll(`.response-panel`).forEach(function(e){e.classList.toggle(`active`,e.getAttribute(`data-response-panel`)===r)}),n.querySelectorAll(`[data-response-dropdown]`).forEach(function(e){e.classList.toggle(`hidden`,e.getAttribute(`data-response-dropdown`)!==r)}),window.scrollTo(0,i)}}),document.addEventListener(`click`,function(e){var t=e.target.closest(`.copy-btn`);if(t){var n=t.closest(`.code-group`)||t.closest(`.prose-code-block`);if(n){var r=n.querySelectorAll(`.code-lang-panel.active, .response-panel.active`),i=r.length?r[r.length-1]:null,a=i?i.querySelector(`code, .code-block, .font-mono`):n.querySelector(`code, .code-block, .font-mono`);if(a){var o=a.textContent||``;navigator.clipboard.writeText(o).then(function(){t.classList.add(`copied`);var e=t.nextElementSibling;e&&e.classList.contains(`copy-tooltip`)&&(e.textContent=t.getAttribute(`data-copied-label`)||`Copied`),setTimeout(function(){t.classList.remove(`copied`),e&&e.classList.contains(`copy-tooltip`)&&(e.textContent=t.getAttribute(`data-copy-label`)||`Copy`)},2e3)})}}}}),document.addEventListener(`click`,function(e){var t=e.target.closest(`.rust-doctest-toggle-hidden`);if(t){var n=t.getAttribute(`data-target`),r=t.getAttribute(`data-display`),i=n?document.getElementById(n.replace(/^#/,``)):null,a=r?document.getElementById(r.replace(/^#/,``)):null;i&&a&&(i.hasAttribute(`hidden`)?(i.removeAttribute(`hidden`),a.setAttribute(`hidden`,``),t.textContent=`Hide hidden lines`):(i.setAttribute(`hidden`,``),a.removeAttribute(`hidden`),t.textContent=`Show hidden lines`))}}),document.addEventListener(`keydown`,function(e){e.key===`Escape`&&document.querySelectorAll(`.code-lang-menu`).forEach(function(e){e.classList.add(`hidden`);var t=e.parentElement.querySelector(`.code-lang-trigger`);t&&t.setAttribute(`aria-expanded`,`false`)})}),document.documentElement.classList.add(`sourcey-tabs-ready`),document.addEventListener(`keydown`,function(e){var t=e.target.closest(`.directive-tab`);if(t&&[`ArrowLeft`,`ArrowRight`,`Home`,`End`].includes(e.key)){var n=t.closest(`[role="tablist"]`);if(n){var r=Array.from(n.querySelectorAll(`[role="tab"]`)),i=r.indexOf(t),a=getComputedStyle(n).direction===`rtl`;i=e.key===`Home`?0:e.key===`End`?r.length-1:(i+(e.key===`ArrowRight`===a?-1:1)+r.length)%r.length,e.preventDefault(),r[i].focus(),r[i].click()}}}),document.addEventListener(`click`,function(e){var t=e.target.closest(`.directive-tab`);if(t){var n=t.getAttribute(`data-tab-group`),r=t.getAttribute(`data-tab-index`),i=window.scrollY;document.querySelectorAll(`.directive-tab[data-tab-group="`+n+`"]`).forEach(function(e){var t=e.getAttribute(`data-tab-index`)===r;e.classList.toggle(`active`,t),e.setAttribute(`aria-selected`,String(t)),e.setAttribute(`tabindex`,t?`0`:`-1`)}),document.querySelectorAll(`.directive-tab-panel[data-tab-group="`+n+`"]`).forEach(function(e){e.classList.toggle(`active`,e.getAttribute(`data-tab-index`)===r)}),window.scrollTo(0,i)}})}e(t)})(),(function(){function t(){var e=document.getElementById(`search-dialog`),t=document.getElementById(`search-input`),n=document.getElementById(`search-results`),r=document.getElementById(`search-open`);if(!e||!t||!n)return;var i=[],a=-1,o=[],s=!1,c=null,l=!1,u,d,f,p=0,m,h;function g(e){var t=e.querySelector(`meta[name="sourcey-search-module"]`),n=e.querySelector(`meta[name="sourcey-search-indexes"]`);if(!t||!n)throw Error(`This page names no search assets`);return{module:new URL(t.content,location.href).href,indexes:JSON.parse(n.content)}}function _(e){return import(e.module).then(function(t){return t.loadSearch(e.indexes)})}function v(){return fetch(location.href,{cache:`no-store`}).then(function(e){if(!e.ok)throw Error(e.statusText);return e.text()}).then(function(e){return g(new DOMParser().parseFromString(e,`text/html`))})}function y(e){l?e():(f||=Promise.resolve().then(function(){return _(h||=g(document))}).catch(function(){return v().then(function(e){return _(e).then(function(t){return h=e,t})})}).then(function(e){d=e,i=e.rows.map(D),l=!0}).finally(function(){f=null}),f.then(e).catch(x))}function b(e,t){var r=document.createElement(`p`);if(r.className=`search-status`,r.textContent=e,t){var i=document.createElement(`button`);i.type=`button`,i.className=`search-status-action`,i.textContent=t.label,i.addEventListener(`click`,t.run),r.append(` `,i)}n.replaceChildren(r)}function x(){b(e.getAttribute(`data-error`),{label:e.getAttribute(`data-retry`),run:function(){b(e.getAttribute(`data-loading`)),y(function(){E(t.value)}),t.focus()}})}var S=e.querySelector(`.search-dialog-inner`);function C(){if(S){if(window.innerWidth<1024||!r||r.getBoundingClientRect().width<40)Object.assign(S.style,{position:`absolute`,top:`16px`,left:`16px`,right:`16px`,width:`auto`,maxWidth:`none`,transform:`none`,margin:`0`});else{var e=r.getBoundingClientRect();S.style.position=`absolute`,S.style.top=e.top-4+`px`;var t=Math.min(e.width*.5,200);S.style.left=e.left-t/2+`px`,S.style.width=e.width+t+`px`,S.style.maxWidth=`none`,S.style.transform=`none`,S.style.margin=`0`}}}function w(){u=document.activeElement,C(),e.open||e.showModal(),e.classList.add(`open`),t.value=``,t.focus(),l?E(``):(b(e.getAttribute(`data-loading`)),y(function(){E(t.value)})),document.addEventListener(`keydown`,F)}function T(){p++,clearTimeout(m),e.classList.remove(`open`),e.close(),u&&u.focus&&u.focus(),document.removeEventListener(`keydown`,F)}async function E(t){if(l){var n=++p,r=t.toLowerCase().trim();if(s=!1,!r)o=i.map(function(e){return Object.assign({},e,{category:e.tab||e.category})});else try{var c=await d.query(r);if(n!==p||!e.open)return;o=c.rows.map(D),s=c.more}catch{if(n!==p)return;O();return}a=o.length?0:-1,j(),A()}}function D(e){return Object.assign({},e,{summary:e.qualifiedName||e.title,tag:e.owner||e.tab})}function O(){d.dispose(),l=!1,i=[],s=!1,x()}function k(){if(!s)return Promise.resolve();if(c)return c;var t=p;return c=d.more().then(function(n){t===p&&e.open&&(o=o.concat(n.rows.map(D)),s=n.more,j(!1),A())},function(){t===p&&O()}).finally(function(){c=null}),c}function A(){s&&n.scrollHeight-n.scrollTop-n.clientHeight<120&&k()}function j(t){for(var r=``,i=``,s=0;s`+M(l)+``,i=l);var u=`search-result`+(s===a?` active`:``),d=c.method?``+c.method.toUpperCase()+` `+M(c.path)+``:``+M(c.summary)+``,f=c.tag&&c.tag!==l&&c.tag!==c.summary?``+M(c.tag)+``:``,p=c.method&&c.summary&&c.summary!==c.path&&c.summary.toLowerCase()!==(c.method+` `+c.path).toLowerCase()?``+M(c.summary)+``:``;r+=`
`+d+p+`
`+f+`
`}n.innerHTML=r,o.length||b(e.getAttribute(`data-empty`));var m=t!==!1&&n.querySelector(`.search-result.active`);m&&m.scrollIntoView({block:`nearest`})}function M(e){var t=document.createElement(`span`);return t.textContent=e,t.innerHTML}function N(e){return M(e).replace(/"/g,`"`).replace(/'/g,`'`)}function P(e){if(!(e<0||e>=o.length)){var t=o[e];T(),window.location.href=t.url}}function F(e){if(e.key===`Escape`)T(),e.preventDefault();else if(e.key===`ArrowDown`){if(e.preventDefault(),a===o.length-1&&s){k().then(function(){a=Math.min(a+1,o.length-1),j()});return}a=Math.min(a+1,o.length-1),j()}else e.key===`ArrowUp`?(e.preventDefault(),a=Math.max(a-1,0),j()):e.key===`Enter`&&(e.preventDefault(),a>=0&&P(a))}t.addEventListener(`input`,function(){p++,clearTimeout(m),m=setTimeout(function(){l?E(t.value):f||y(function(){E(t.value)})},100)}),n.addEventListener(`scroll`,A,{passive:!0}),n.addEventListener(`click`,function(e){var t=e.target.closest(`.search-result`);t&&(e.preventDefault(),P(parseInt(t.getAttribute(`data-index`),10)))}),r&&r.addEventListener(`click`,w);var I=document.getElementById(`search-open-mobile`);I&&I.addEventListener(`click`,w),document.addEventListener(`keydown`,function(e){(e.ctrlKey||e.metaKey)&&e.key===`k`&&(e.preventDefault(),w()),e.key===`/`&&!L(e.target)&&(e.preventDefault(),w())}),e.addEventListener(`cancel`,function(e){e.preventDefault(),T()}),e.addEventListener(`click`,function(t){t.target===e&&T()});function L(e){var t=e.tagName;return t===`INPUT`||t===`TEXTAREA`||t===`SELECT`||e.isContentEditable}}e(t)})();function t(e){let t=e.match(/^[a-z][a-z0-9+.-]*:\/\/[^/?#]*/i)?.[0]??``;return[t,...e.slice(t.length).split(/(?=[/?&])/)].filter(Boolean)}function n(e,n){let r=document.createElement(`span`);t(n).forEach((e,t)=>{t&&r.append(document.createElement(`wbr`)),r.append(e)}),e.replaceChildren(r)}function r(e){let{shared:t,value:n}=JSON.parse(e),r=[],i=e=>{let t=Object.keys(e);return t.length===1&&t[0]===`$`};function a(e){return!e||typeof e!=`object`?e:!Array.isArray(e)&&i(e)?o(e.$):s(Array.isArray(e)?[]:{},e)}function o(e){let n=r[e];return n||(r[e]=n=Array.isArray(t[e])?[]:{},s(n,t[e]))}function s(e,t){if(Array.isArray(t))e.push(...t.map(a));else for(let[n,r]of Object.entries(t))e[n.startsWith(`$$`)?n.slice(1):n]=a(r);return e}return a(n)}var i=new WeakMap;async function a(e){let[t,n]=await Promise.all([import(new URL(e.dataset.tryItModule,document.baseURI).href),fetch(new URL(e.dataset.tryItData,document.baseURI))]);if(!n.ok)throw Error(`Could not load this operation.`);return[t,r(await n.text())]}async function o(e){let t=await fetch(location.href,{cache:`no-store`});if(!t.ok)return;let n=new DOMParser().parseFromString(await t.text(),`text/html`).querySelector(`[data-try-it-trigger][aria-controls="${CSS.escape(e)}"]`)?.dataset;return n?.tryItModule&&n.tryItData?{tryItModule:n.tryItModule,tryItData:n.tryItData}:void 0}document.querySelectorAll(`[data-try-it-trigger]`).forEach(e=>{e.hidden=!1}),document.addEventListener(`click`,async e=>{if(!(e.target instanceof Element))return;let t=e.target.closest(`[data-try-it-trigger]`);if(!t||t.disabled)return;let r=t.closest(`[data-sourcey-operation]`),s=document.getElementById(t.getAttribute(`aria-controls`)??``),c=r?.querySelector(`[data-try-it-examples]`);if(!r||!s||!c)return;let l=r.querySelector(`[data-endpoint-url]`);l&&!i.has(l)&&i.set(l,Array.from(l.childNodes,e=>e.cloneNode(!0)));let u=t.getAttribute(`aria-expanded`)===`true`;function d(e){s.hidden=!e,c.hidden=e,r.toggleAttribute(`data-console-open`,e),t.setAttribute(`aria-expanded`,String(e)),t.textContent=e?`Done`:`Try it`,l&&(e&&s.dataset.tryItUrl?n(l,s.dataset.tryItUrl):e||l.replaceChildren(...(i.get(l)??[]).map(e=>e.cloneNode(!0)))),e||(s.dispatchEvent(new Event(`sourcey:try-it-close`)),t.focus({preventScroll:!0}))}function f(){requestAnimationFrame(()=>{matchMedia(`(max-width: 1279px)`).matches&&r.querySelector(`.sourcey-endpoint`)?.scrollIntoView({block:`start`,behavior:`instant`}),(Array.from(s.querySelectorAll(`input, select, textarea`)).find(e=>e.getClientRects().length>0)??s.querySelector(`button[type="submit"]`))?.focus({preventScroll:!0})})}if(u)d(!1);else if(s.childElementCount)d(!0),f();else{t.disabled=!0,t.textContent=`Opening…`,t.setAttribute(`aria-busy`,`true`);try{let[e,n]=await a(t).catch(async()=>{let e=await o(t.getAttribute(`aria-controls`)??``);if(!e)throw Error(`This page no longer has this console.`);return Object.assign(t.dataset,e),a(t)});d(!0),e.activate(s,n,()=>d(!1)),f()}catch{d(!1),t.textContent=`Retry opening`;let e=r.querySelector(`[data-try-it-load-error]`);e||(e=document.createElement(`p`),e.dataset.tryItLoadError=``,e.className=`sourcey-error`,e.setAttribute(`role`,`alert`),t.parentElement?.after(e)),e.textContent=`The console could not load. Your reference and examples are still available.`}finally{t.disabled=!1,t.removeAttribute(`aria-busy`),t.getAttribute(`aria-expanded`)===`true`&&r.querySelector(`[data-try-it-load-error]`)?.remove()}}}),(function(){var e=[],t=document.querySelector(`meta[name="sourcey-assets"]`),n=new URL(t&&t.content||`./`,location.href),r=!0;document.querySelectorAll(`[data-sourcey-component]`).forEach(function(t){var i=t.getAttribute(`data-sourcey-module`);import(new URL(i,n).href).then(function(n){if(r){if(typeof n.default!=`function`)throw Error(`Native component must export a default mount function`);var i=n.default(t,JSON.parse(t.getAttribute(`data-sourcey-props`)||`null`));typeof i==`function`&&e.push(i)}}).catch(function(e){console.error(`Sourcey component:`,e),t.dispatchEvent(new CustomEvent(`sourcey:componenterror`,{bubbles:!0,detail:{error:e}}))})});function i(){r=!1,e.splice(0).forEach(function(e){e()})}window.addEventListener(`pagehide`,i,{once:!0}),document.addEventListener(`astro:before-swap`,i,{once:!0})})();function s(e){let t=e.target instanceof Element&&e.target.closest(`[data-sourcey-context-missing]`);if(!t)return;let n;try{n=decodeURIComponent(location.hash.slice(1))}catch{n=``}t.hash=n&&document.getElementById(n)&&!JSON.parse(t.getAttribute(`data-sourcey-context-missing`)).includes(n)?location.hash:``}document.addEventListener(`click`,s),document.addEventListener(`auxclick`,s),document.addEventListener(`pointerdown`,e=>{for(let t of document.querySelectorAll(`.sourcey-context-menu[open]`))e.target instanceof Element&&!t.contains(e.target)&&(t.open=!1)}),document.addEventListener(`keydown`,e=>{if(e.key!==`Escape`)return;let t=document.querySelector(`.sourcey-context-menu[open]`);t&&(t.open=!1,t.querySelector(`summary`)?.focus(),e.preventDefault())});function c(){let e;try{e=decodeURIComponent(location.hash.slice(1))}catch{return}let t=e&&document.getElementById(e),n=t&&t.closest(`.reference-operation-links > li[id]`),r=n&&n.querySelector(`:scope > a[href]`);if(!r)return;let i=new URL(r.href);if(i.pathname===location.pathname)return;let a=t.getAttribute(`data-anchor`)??t.id;a!==n.id&&(i.hash=a),location.replace(i.href)}c(),window.addEventListener(`hashchange`,c)})(); \ No newline at end of file diff --git a/site/public/sourcey/_media/43114fe24090c8f73273.svg b/site/public/sourcey/_media/43114fe24090c8f73273.svg new file mode 100644 index 00000000..4bfba1e4 --- /dev/null +++ b/site/public/sourcey/_media/43114fe24090c8f73273.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c0.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c0.json new file mode 100644 index 00000000..b9b851c1 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c0.json @@ -0,0 +1 @@ +[[["0",0,8572,40,12589,207,5089,4,4241,22,4290,1,6595,3,4265,8,5927,203,7288,57,6936,1,6864,1,6900,16,7165,1,7086,1,6726],["00",40,13294,505,7316,1,7225,1,10351,16,7608,1,7507,1,10222],["000000000",40,7768,505,6126,2,6081,16,6419,2,5872],["01",32,8039,8,10054,320,7337,114,6126,73,8927,18,8702],["01t00",40,7768,507,8824,18,8561],["02",40,6932,320,6299,114,6870],["02t15",40,5908,320,6892],["03",40,5908,506,6770,18,7084],["04",40,5908,320,6892],["05",40,4625,320,6892],["1",0,9428,5,7849,27,8987,8,12282,101,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,1,2371,6,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,45,2356,20,2314,2,3536,3,3163,1,2287,53,3412,26,2520,116,2371,11,2729,78,3528],["100",40,6932,212,10572],["1000000000",40,5908,507,6820,18,6585],["10008",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["103",27,9003],["10sec",40,5908],["12",32,11823,8,7099,505,6126,2,6081,16,6419,2,5872],["123",40,5908,234,9154],["123456789",40,5908,507,6820,18,6585],["13",40,5908,506,6770,18,7084],["13t15",40,5908,506,6770,18,7084],["140000000",40,5908,506,6770,18,7084],["1609180603",40,5908,505,6870,18,7199],["1609180603123456789",40,7768,507,6820,18,6585],["1647184410140",40,5908,506,6770,18,7084],["18",32,8796],["1970",40,7768,507,8824,18,8561],["1n",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["1xx",27,9003],["2",32,8039,8,10714,216,5450,25,7317,1,5290,79,5829,116,5484],["20",0,8572,40,5400,409,9090],["200",32,10079,8,6335,242,6772],["2006",40,8463,320,8228,114,6870],["2015",40,4625,204,7111],["2020",40,7768,505,6126,2,6081,16,6419,2,5872],["2022",40,5908,506,6770,18,7084],["2026",0,8572,32,11157],["2027",32,11028],["20world",40,5908],["21",0,9379],["232",0,9379],["25",0,9918,5,8257,35,7758],["26",32,8796],["28t18",40,7768,505,6126,2,6081,16,6419,2,5872],["2e",40,5908,243,8723],["2f",40,6932,243,6658],["2fprivate",40,7768],["3",32,8039,8,9128,216,6377,105,6820],["30",40,5908,506,6770,18,7084],["31",32,12936],["3253",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["36",40,7768,505,6126,2,6081,16,6419,2,5872],["38",0,9379],["3d",40,4625],["4",0,6837,10,6547,7,6524,5,8248,5,6563,5,9790,8,10531,124,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,4,4563],["400",40,12099,176,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,7,5329,90,4114],["401",40,11267,176,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["403",40,11267,176,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["404",10,7700,12,7802,18,11651,172,5270,1,5270,3,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,1,5006,117,4342,45,5055,4,4040],["405",40,14859,124,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,2799,1,3607,1,3607,1,3109,130,2971],["408",40,11267],["413",40,11267],["415",40,11267],["42",10,11204],["429",40,11267],["43",40,7768,505,6126,2,6081,16,6419,2,5872],["4fcm",10,8982],["5",32,10079,8,6335,175,10145,63,8366],["50",40,8463,212,7545,227,6419,2,5994,7,6585],["500",17,8180,23,11702,188,5981,1,5981,1,5981,1,5981,1,5981,1,5981],["502",40,11267]],[]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c1.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c1.json new file mode 100644 index 00000000..0b79fd82 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c1.json @@ -0,0 +1 @@ +[[["503",40,11267],["53",40,5908,525,7205],["55",0,9379],["57f9",10,8982],["59aacdd",0,9379],["59aacddc4a13904b8a80a76f1ec838c495b5feca",0,9379],["5hp7",10,8982],["7",0,6837,10,6547,7,6524,5,8248,5,6563,5,6411,8,10511,124,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,4,4563],["7231",40,14390,124,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["76qj",10,8982],["78",0,9379],["7wfq",40,8463],["8",40,14552,101,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039],["8080",5,11755,35,6335],["8259",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["9007199254740991",40,5908],["9457",22,8318,18,11593,236,6262,163,6676],["999999999",40,7768,507,8824,18,8561],["_",40,9050,284,6085,157,6723],["_integer",40,5908],["_safe",40,5908],["a",0,12239,5,10230,5,10676,7,9823,5,10655,5,10287,1,33750,4,12757,3,38167,5,11116,119,3191,1,3191,1,3191,1,3191,1,3191,71,2432,4,2825,3,2457,1,3039,1,1921,5,2278,1,2567,1,1992,1,1899,1,2005,1,2830,1,2673,2,1967,1,2673,5,2104,1,2482,1,2904,1,2825,1,2989,7,2511,1,1980,2,3152,1,1909,1,1980,1,2830,2,2641,2,1877,13,2240,4,2849,1,2060,2,2298,2,2622,4,2385,10,2319,3,2788,1,2718,1,3425,1,2385,1,2653,3,3388,10,2718,1,3039,5,2897,2,2904,6,2563,1,2825,2,2074,3,2653,1,2539,3,3374,1,2340,2,2718,2,2319,2,1899,2,2432,1,2825,1,3316,1,3039,1,3039,1,2793,1,2186,1,3039,1,2888,1,3039,1,2362,1,2362,1,2119,1,3039,1,3039,1,3039,1,3039,2,2186,1,3039,2,1943,3,1877,1,3138,1,2018,1,3039,2,3208,2,2864,7,3165,13,2432,4,2825,1,2904,2,2864,1,2432,3,2945,5,3041,3,2622,3,2825,1,2788,6,2005,6,1992,1,3506,8,2340,6,2457,1,2119],["abc",40,9552,212,5795,22,7460,4,7460,3,5872],["about",40,11507,119,4938,1,4938,1,4938,1,4938,1,4938,276,5170,16,7189,110,5100],["absent",10,8209,30,6335,216,6977],["absolute",40,6932,223,8802],["abuse",40,5908],["accept",17,9579,5,7802,18,12992,124,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773],["accepts",40,5908,320,9003],["access",40,15827,409,8308,32,6723],["accessed",40,4625,304,7408],["accessing",40,4625,330,6733],["accessors",27,10446],["accordance",40,5908],["according",40,4625,218,7021],["acl",40,7768],["acquirecontext",10,7700,17,7718,13,7758,302,7173,26,6702,3,55924,21,7760],["across",566,10446],["action",40,4625,330,6733],["active",40,11723,439,11674,2,9908],["actively",0,9379],["actual",40,9050,205,7327,3,6585,1,5686,44,7028],["add",10,7700,22,7541,8,10763,246,7648,7,6494,72,5791,1,48656,6,47950,30,49144],["added",27,8229,13,7735,174,6316,47,7492,193,7760,4,5758],["adding",40,13209,101,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,135,5990,77,4860,82,3922],["additional",40,6932],["addr",40,9050,391,8624],["address",40,13716,205,6802,1,5641,1,4901,2,4232,7,5522,1,4431,30,6078,1,6161,1,6078,49,4342,7,4156,51,4039,35,5232,37,6751,7,6247],["addresses",40,7768,209,9103],["addroute",10,8209,30,8271,333,53484,30,53588],["addrouteerror",40,8463,60,52323,193,46659,1,47157,1,47157],["adds",0,7644,10,7320,22,8987,8,5649,307,8828,42,7394,11,7546]],[["addrouteerror",100],["addrouteerror.error",294],["addrouteerror.unwrap",295]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c10.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c10.json new file mode 100644 index 00000000..4891a999 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c10.json @@ -0,0 +1 @@ +[[["documents",0,8572,32,8039],["does",10,7700,7,7673,23,12515,174,3134,22,3999,7,2754,24,3487,18,3805,28,3487,2,3597,20,3185,28,2821,20,3387,55,3760,69,3676,2,3760,1,3676,1,3760,1,3760,1,3717,1,3636,1,3760,1,3676,1,3760,1,3676,1,3760,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3717,1,3636,1,3805,1,3676,1,3636,1,3717,1,3636,1,3760,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3717,1,3039,1,2995,1,3017],["don",40,4625,256,7943],["done",40,5908,304,6770,17,6820],["dos",40,5908],["dot",40,6932,243,7972,41,6085],["down",5,8802,35,7099],["download",5,8802,35,6335,291,8663,62,6299],["drops",17,8180,15,8039],["duration",40,11920,229,5539,1,5390,219,56854,1,8966,23,8584,1,8443],["durations",40,6932,450,58299],["during",40,6932],["e",0,8189,5,10710,5,10581,7,10574,5,9881,5,9843,5,6226,8,10660,204,3937,1,3823,2,3436,1,3436,14,3173,11,2896,1,2985,4,2985,5,3709,10,3667,1,4878,1,4878,5,3350,44,3150,27,4049,1,3667,1,4261,1,3150,1,3631,1,3631,1,3270,1,3296,1,3631,1,4356,1,3631,1,3562,1,3562,1,3196,1,3631,1,3631,1,3631,1,3631,1,3667,1,3296,1,3631,1,4049,1,4389,1,4720,1,4205,2,3245,1,3044,1,3631,1,3743,71,4326,6,2985],["each",17,7294,5,7417,5,7337,13,5649,321,6397,19,6867,38,6397],["earlier",40,4625],["early",17,7673,10,7718,13,3965,451,8151],["ease",40,4625,431,7943],["echo",0,24759,1,1877,1,1877,1,1905,1,1905,1,12450,5,9755,7,10518,5,10207,5,9346,5,11799,8,28810,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,26343,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,1,1998,22,1236,1,1236,1,1236,1,1236,1,1236,52,1966,29,2029,8,1259,2,1294,4,1243,1,21240,3,1321,5,22186,1,19590,1,1920,1,1882,4,1243,4,1243,3,1276,9,1666,1,1905,1,1905,16,23567,2,1341,28,2038,2,1512,2,2163,3,1213,7,1527,3,1628,10,1754,3,1853,2,22827,1,22719,1,22560,1,22807,1,22732,1,22545,1,22545,1,22394,1,22405,1,22545,1,22451,1,22545,1,22516,1,22516,1,22753,1,22545,1,22545,1,22545,1,22545,1,22560,1,22405,1,22545,1,22719,1,22627,1,22998,1,22784,1,22577,1,22384,1,22682,1,22545,1,22591,1,1395,1,1610,2,1628,1,1628,1,1628,1,1419,1,1431,1,1628,1,1221,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1940,1,1707,1,1710,1,1628,1,1988,9,1924,27,2135,9,1867,1,1351,3,1802,3,1950,5,2014,2,1920,7,2049,78,11317],["echo_header_allow",40,4625,174,7751],["echo_route_any",40,8463],["echo_route_method_not_allowed_name",40,5908,172,8218,1,8218],["echo_route_not_found",40,8463],["echo_route_not_found_name",40,5908,172,8218,1,8218],["echo_test",40,4625,204,7111],["echotest",32,12936,5,49436],["edges",0,9379],["editor",40,14025,101,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,281,4148],["effect",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["effects",40,5908]],[["echo",109],["echo — high performance, minimalist go web framework",0],["echo.acquirecontext",371],["echo.add",372],["echo.addroute",373],["echo.any",374],["echo.connect",375],["echo.delete",376],["echo.file",377],["echo.filefs",378],["echo.get",379],["echo.group",380],["echo.head",381],["echo.match",382],["echo.middlewares",383],["echo.newcontext",384],["echo.options",385],["echo.patch",386],["echo.post",387],["echo.pre",389],["echo.premiddlewares",390],["echo.put",388],["echo.query",391],["echo.releasecontext",392],["echo.routenotfound",393],["echo.router",394],["echo.servehttp",395],["echo.start",396],["echo.static",397],["echo.staticfs",398],["echo.trace",399],["echo.use",400]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c11.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c11.json new file mode 100644 index 00000000..6e22b790 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c11.json @@ -0,0 +1 @@ +[[["eg",40,4625,275,8895],["else",17,7673,10,7718,13,5065],["email",22,13153],["embed",40,11001,218,7150,52,7637,46,5746,42,7274,22,7542],["embeds",40,7768,218,5721,52,6172,88,5833,22,6081],["emits",40,4625,258,7517],["empties",40,5908,438,8811,2,8922],["empty",40,13882,211,6459,1,3922,18,3947,2,4381,1,6140,1,3872,3,6115,1,3872,35,4756,11,3672,7,4028,4,4344,9,4085,27,5252,68,5228,106,4145,1,4085,1,4115,16,4344,1,4275,1,3974],["en",40,15155],["enabled",40,5908],["enablepathunescapingstaticfiles",40,7768],["enables",40,7768],["enabling",40,9552],["encoded",40,13117,101,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,125,4954],["encodes",40,4625,392,9090],["encoding",17,7673,5,7802,18,13098,124,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,33,2764,25,2859,1,2783,26,3088,4,3062,62,5050,170,4359,18,4714],["end",32,8796],["ended",40,4625,353,6892],["endpoint",40,8463,204,7111],["endpoints",40,4625],["enforcement",40,4625],["engine",40,5908],["enough",40,4625,418,7065],["ensure",40,4625],["enumerable",40,5908],["equal",40,9050,505,5872,1,5787,17,6153,1,6054,1,5628],["err",5,11026,17,12186,18,12606,197,28249,15,3503,2,3598,6,29772,14,3458,2,3375,2,3458,3,3549,1,25541,3,35327,8,4248,12,4581,11,4871,1,4749,5,4871,1,4749,2,4166,1,4635,14,4207,13,4478,1,4936,3,4871,1,4749,1,4635,68,4936,1,5073,22,4528,29,5603,2,4698,7,5699],["errbadgateway",22,8318,18,10517,186,46392],["errbadrequest",22,8318,18,10517,176,51882,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["errcookienotfound",22,7802,5,7718,13,8189,188,5981,1,5981,1,5981,1,52373,1,5981,1,5981],["errforbidden",22,8318,18,10894,176,5490,1,5490,1,51882,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["errinternalservererror",22,8318,18,10517,185,46392],["errinvalidcertorkeytype",40,9552,188,5981,1,5981,1,5981,1,5981,1,52373,1,5981],["errinvalidjsonpcallback",40,7768,194,56319,90,6085],["errinvalidkeytype",40,8463,195,56419,6,7469,1,7321],["errinvalidlistenernetwork",40,9552,188,5981,1,5981,1,5981,1,5981,1,5981,1,52373],["errinvalidredirectcode",40,9552,188,5981,1,5981,1,52373,1,5981,1,5981,1,5981],["errmethodnotallowed",22,8318,18,10517,176,5490,1,5490,1,5490,1,5490,1,51882,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["errnonexistentkey",40,10703,196,55150,5,6350,10,4908,2,5695,20,4965,4,4936,2,5695],["errnotfound",10,7700,12,9700,18,9864,176,5490,1,5490,1,5490,1,51882,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490]],[]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c12.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c12.json new file mode 100644 index 00000000..d9673ac4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c12.json @@ -0,0 +1 @@ +[[["error",0,12282,5,10454,5,8749,7,10154,5,31609,1,2221,1,2259,1,2221,1,23163,1,9262,5,8640,8,11124,194,1698,1,1875,1,1947,1,16363,1,17651,1,17651,1,17678,1,16764,1,15986,1,2013,1,1823,7,15599,1,14822,1,15840,1,15288,6,22291,9,16420,1,14375,1,16591,1,15938,1,15617,1,14804,2,2330,1,15608,1,14804,1,15840,2,14841,1,15166,3,19426,5,17531,3,2139,1,25111,1,2259,1,1564,1,1973,1,1480,1,25576,1,1551,1,1438,2,1605,1,1751,1,1831,1,1973,3,1665,1,1491,1,1947,3,2028,2,1947,1,1898,2,1619,3,1947,1,1898,1,1311,1,1665,1,1852,2,2118,1,1947,10,1898,1,1681,13,1790,1,1973,1,1810,1,1448,1,1947,1,1898,1,1852,2,1469,3,1634,2,1898,1,2057,6,1973,1,1458,1,1681,1,1681,1,1514,2,1681,2,1681,1,1649,3,1681,1,1681,1,1681,1,1681,3,1681,2,1357,6,1681,3,1790,1,2000,1,1810,1,1810,1,1810,1,1577,2,1810,2,1810,1,1810,1,1810,1,1810,1,1810,1,1810,1,1810,4,1810,2,1698,1,25496,2,2259,1,2388,1,2433,2,2000,2,2226,1,1831,7,25516,2,1831,1,1852,5,1538,2,1810,1,1577,11,2000,1,2000,1,2000,1,1922,1,1810,3,1922,1,1605,1,1564,1,1852,4,2028,1,1382,1,2323,1,1989,1,1922,1,1448,6,1922,1,2278,19,1790,2,1831,1,1790,1,1831,1,2263,1,1810,1,1770,1,1831,1,1790,1,1831,1,1790,1,1831,1,1831,1,1810,1,1831,1,1810,1,1831,1,1810,1,1831,1,1810,1,1810,1,1770,1,1852,1,1790,1,1770,1,1810,1,1770,1,1831,1,1831,1,1810,1,1831,1,1810,1,1831,1,1810,1,1831,1,1810,1,1810,1,1480,1,1458,1,1469],["errorf",40,6932,439,7199,2,6723],["errorfunc",40,7768,437,7021],["errors",5,8257,17,10679,3,51507,15,12911,176,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,3872,1,6151,1,6151,1,6151,1,6151,1,6151,1,6151,1,3910,1,4317,1,4483,7,4636,8,3996,1,3224,2,3312,19,3088,3,3106,1,4017,23,4581,1,3312,95,3019,31,4543,2,4317,4,4216,44,3183,1,4370,2,5398],["errrenderernotregistered",22,7802,5,9622,13,8888,188,5981,1,52373,1,5981,1,5981,1,5981,1,5981],["errrequesttimeout",22,8318,18,10517,181,46392],["errs",40,9988,441,9908,7,7385],["errserverclosed",5,8802,35,6335,356,6658],["errserviceunavailable",22,8318,18,10517,187,46392],["errstatusrequestentitytoolarge",22,8318,18,10517,182,46392],["errtoomanyrequests",22,8318,18,10517,184,46392],["errunauthorized",22,8318,18,10517,176,5490,1,51882,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["errunsupportedmediatype",22,8318,18,10517,183,46392],["errvalidatornotregistered",22,10341,18,9476,188,52373,1,5981,1,5981,1,5981,1,5981,1,5981],["escape",10,8982],["escaping",40,5908],["etc",40,6932,353,6892],["even",40,5908,221,8402,128,7882],["eventually",40,4625,312,8624],["every",0,7327,10,8752,12,7110,10,9535,8,6611,217,6262,19,5873,87,5981],["everything",17,8180,23,5400],["exact",0,8572,40,7099,370,5908,12,5908,37,6988],["example",10,8209,30,13002,204,37807,5,3694,2,3565,1,3765,2,3868,4,3717,15,3606,1,3717,3,3586,1,3717,3,3815,63,3922,36,4241,13,3649,17,3649,12,3649,45,4395,4,4206,6,3717,2,34044,2,34044,7,34044,57,3980,1,3922,1,5800,16,4171,1,4104,1,5654],["exampledefaulthttperrorhandler",40,4625,204,7111],["examples",40,5908,298,6542,58,6085],["exceeded",40,4625],["exclude",40,7768],["executed",40,12555,349,6494,4,5190,7,6628,10,5190,12,5190,37,8763],["executetemplate",27,8229,13,5400,431,7943],["exhaustion",40,5908],["exist",40,15071,196,4133,31,3605,48,3718,29,3096,94,3887,49,4080,20,4725,1,3641,1,4805,1,4725,1,4805,1,4805,1,4765,1,4687,1,4805,1,4725,1,4805,1,4725,1,4805,1,4805,1,4765,1,4805,1,4765,1,4805,1,4765,1,4805,1,4765,1,4765,1,4687,1,4847,1,4725,1,4687,1,4765,1,4687,1,4805,1,4805,1,4765,1,4805,1,4765,1,4805,1,4765,1,4805,1,4765,1,4765,1,4061,1,4010,1,4035],["existent",40,4625,196,9889],["existing",27,8229,13,5400],["exists",40,9552,211,5772,22,5839,4,5805],["expected",40,6932,195,9522],["expensive",40,5908],["explanation",40,5908],["explicit",10,8209,30,6335,411,8010],["explicitly",40,6932,411,8010],["expose",40,14448],["exposeerror",40,9050,203,38830,33,38867],["ext",40,4625,291,7304],["extended",40,4625],["extensible",0,18182]],[["errors: httperror",25],["example defaulthttperrorhandler",244],["example valuebinder.binderror",479],["example valuebinder.binderrors",481],["example valuebinder.customfunc",488]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c13.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c13.json new file mode 100644 index 00000000..3adb9c94 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c13.json @@ -0,0 +1 @@ +[[["external",40,4625,204,7111],["extract",40,4625,391,8624],["extracted",40,8463],["extracting",40,5908],["extraction",40,4625,298,7158],["extractipdirect",40,6932,11,58679,194,48427],["extractipfromrealipheader",40,8463,12,58040,194,42461,92,6136],["extractipfromxffheader",40,8463,13,58040,194,41449,91,6136],["extractor",40,4625],["extracts",40,11507,205,5663,1,5857,1,5089,4,4241,1,4479,1,4921,1,4601,19,4290,1,4422,3,4265,1,4422,1,4921,2,4539],["extractschemedirect",40,6932,14,58679,194,47608],["extractschemefromheaders",40,9988,15,57181,194,38055,8,5706,88,5352,122,6483],["faces",40,5908,205,8218,3,7385],["fail",40,6932],["failed",5,8257,17,7802,18,9659,253,6737,5,7589,183,5746,7,6311,3,6367],["failfast",40,6932,451,56781],["failfastroutefunc",40,5908,439,7877],["fails",40,11001,211,4526,1,4780,1,5252,1,6372,19,4579,1,4719,3,4552,1,4719,1,5252,2,4844],["failure",22,8318,18,4227,218,7021],["failures",0,8572,22,10341],["fall",40,9050,188,5981,1,5981,1,5981,1,5981,1,5981,1,5981],["fallback",10,7700,17,10611,13,5943,412,7111],["falling",40,6932,216,6977],["falls",40,4625],["false",40,11507,243,5201,18,5706,19,7827,1,7827,116,7724],["family",32,8796],["fast",0,17374,40,4227],["faster",40,5908],["favicon",10,11204],["feel",40,4625,204,7111],["fetch",40,15433],["fiel",481,7355],["field",22,10341,18,13634,124,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,39,2705,1,3374,47,4775,2,3016,12,3889,1,3302,1,3943,56,2578,109,3869,2,3651],["fields",22,8318,18,11058,210,6343,52,6129,58,4749,5,5299,5,6073,31,5428,22,5943,21,5568,8,4900],["figure",40,4625,242,6772],["file",5,7849,5,10073,17,10087,13,11897,243,5113,1,33262,19,6821,6,45547,1,6489,1,5796,8,6861,12,5556,7,4196,32,3947,7,45204,1,7083,19,4473,1,4196,9,45355,1,6047,62,4778],["filecopyrighttext",40,4625,204,7111],["filefs",27,8229,13,9782,270,48153,68,48318,30,49689],["fileheader",40,4625,271,9889],["files",10,12383,4,54513,26,11593,218,4969,25,4713,27,5360,60,4766,27,5401,1,6591,22,5281],["filesystem",40,12684,218,4719,25,33566,1,34618,26,5091,60,4526,8,5210,20,4812,10,5431,12,5016,48,5130],["filterbymethod",40,6932,422,58633],["filterbyname",40,6932,423,58633],["filterbypath",40,6932,424,58633],["filtered",40,9988,262,6698,63,5791,36,5932,22,6494,21,6084,8,5355],["find",40,10368,172,8443,1,8443,1,5836,130,7225,45,6494,1,5836],["findbymethodpath",40,6932,425,58299],["fine",22,9101],["first",0,9428,5,7438,5,7320,22,8987,8,6897,216,5450,195,6257,26,5484,1,7530],["fix",40,4625],["fixes",32,12936],["flag",40,8463,382,6299,69,7450],["flattened",40,4625,260,7877],["float32",40,11507,229,5539,1,5390,222,56915,1,9048,22,8657,1,8513],["float32s",40,6932,453,58407],["float64",40,11507,229,5539,1,5390,224,56915,1,9048,22,8657,1,8513],["float64s",40,6932,455,58407],["flush",27,8229,13,7099,407,58840],["flusher",40,8463,407,12448],["fmt",40,9988,204,6096,235,8662,2,6306],["fn",40,5908,405,9158,1,9038],["folder",40,9050],["following",40,12804,176,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4710,1,4381,1,4381,1,4381,1,4381,1,4381,1,4381,57,5189,62,4756,9,4115]],[["extractipdirect",51],["extractipfromrealipheader",52],["extractipfromxffheader",53],["extractschemedirect",54],["extractschemefromheaders",55]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c14.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c14.json new file mode 100644 index 00000000..79e4f9c8 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c14.json @@ -0,0 +1 @@ +[[["for",0,8711,5,8880,5,10813,7,9288,15,9192,8,11913,98,1663,1,1663,1,1663,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1255,1,1247,1,1247,1,1247,1,1247,1,1247,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1628,1,1608,1,1608,1,2265,29,1218,1,1271,3,1445,1,1445,1,1628,1,1646,1,1576,1,1271,1,1794,1,1695,1,1895,1,2023,2,1637,4,1334,9,1470,1,1420,1,1592,1,1637,2,1837,1,1584,1,1637,1,1794,2,1675,1,1584,2,1470,9,1542,5,1344,3,1695,2,1457,6,1512,1,1354,1,1768,1,1816,1,1542,6,1470,12,1928,1,1895,2,1841,1,1807,3,2257,6,1948,1,1225,4,1841,1,1868,10,1232,1,1334,4,1771,1,1724,2,2093,2,1204,2,1542,2,1716,1,1527,1,1527,1,1375,1,1386,1,1527,1,1432,1,1527,1,1498,2,1344,1,1527,1,1527,1,1527,1,1527,1,1542,2,1527,2,1232,3,1190,2,1280,1,1527,2,1807,1,1625,2,1644,1,1644,1,1644,1,1832,1,1844,1,1644,1,1610,1,1644,1,1644,1,1644,1,1644,1,1644,1,1644,1,1644,1,1958,1,1724,1,1726,1,1644,1,1610,1,1542,2,1868,4,1703,2,1542,2,1663,4,1768,1,1663,1,1306,2,1792,17,1646,1,1457,3,1816,1,1816,1,1816,1,1745,2,1484,1,1364,3,1420,2,1558,1,1737,1,1841,2,1872,1,1724,1,1408,1,1745,1,1315,85,1868],["forbidden",40,6932,243,6658],["form",0,7327,22,15578,5,9669,5,8614,8,11570,197,5584,13,7837,1,6147,1,5616,1,4740,1,6543,42,4818,15,5999,1,6161,1,6589,1,6247,14,7721,32,4181,50,4181],["format",22,8318,18,7099,320,5908,113,7469,1,6444],["formfieldbinder",40,7768,16,58679,194,41019],["formfile",40,6932,271,58407],["formparsemaxmemory",40,7768],["forms",40,7768,197,6457,13,6457],["formvalue",27,7718,5,10465,8,7758,17,55040,194,29900,61,50265],["formvalueor",27,7718,5,7541,8,8562,18,55040,194,32422,61,50111],["formvalues",27,7718,5,7541,8,7758,19,55040,194,32731,61,50365],["formvaluesor",40,7768,20,58679,194,34761],["forwarded",40,15614,207,6084,2,7846,7,6854,1,8122,81,7012,7,7736],["forwarding",40,8463,208,6927,9,6262,88,5873],["found",40,14970,119,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,3036,1,3036,1,2617,14,2682,1,2682,1,2682,1,2682,1,2682,1,2682,18,2274,1,2401,1,2639,1,2467,19,2300,1,2371,3,2287,1,2371,1,2639,2,2433,63,2502,45,2913,4,2328,7,2972],["fractional",40,4625,320,6892],["frame",40,14390],["framework",0,45571,1,7726,1,7726,1,7842,1,7842,6,7016,17,7033,13,12458,330,4908,196,9476],["free",32,8796],["friends",5,9631],["from",0,8711,5,7252,5,11459,7,6739,15,12654,8,11243,197,3267,4,4028,1,3948,1,3149,6,4209,1,4256,1,4075,1,3288,4,3226,1,3377,1,3246,15,4118,1,3246,3,4096,1,3246,5,4033,1,3803,1,4350,11,3672,14,3501,5,5142,23,3309,7,3168,18,3226,5,3803,2,3113,1,4403,7,3584,19,3528,1,3309,3,4672,30,3988,1,4203,45,4232],["fs",10,10596,17,7718,13,12893,218,53499,5,45990,20,34067,1,41936,19,6544,6,6738,1,8169,9,6591,58,6239,1,7612,20,7950,9,6452,1,7793,12,8113],["fsroot",40,7768,218,41404,139,6542,22,8264],["full",0,8041,32,9454,8,3965,323,6977],["fully",40,5908]],[["formfieldbinder",56],["formvalue",57],["formvalueor",58],["formvalues",59],["formvaluesor",60]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c15.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c15.json new file mode 100644 index 00000000..f986f3a7 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c15.json @@ -0,0 +1 @@ +[[["func",5,8595,5,9009,7,9510,5,9080,5,9022,5,8898,8,11498,197,12755,1,13672,1,13672,1,13688,1,12478,1,12051,1,13976,1,1111,1,17445,1,15092,1,14946,1,17335,1,13976,1,13976,1,11026,1,11528,1,11964,1,11551,1,15249,1,16365,1,17242,1,13989,1,17698,1,13126,1,16122,1,11922,1,15033,1,13705,1,12635,1,15249,1,14181,1,16272,1,12790,1,12291,1,12894,1,12385,1,11026,1,11517,1,15249,1,13976,1,11026,1,11517,1,11964,1,15249,1,11539,1,10674,1,12469,1,13456,1,15106,1,14365,1,15179,1,15195,1,15179,1,13599,1,14438,1,18847,2,1377,1,1377,4,1333,1,946,3,979,1,1068,1,1116,1,1203,1,1254,1,1333,1,1015,1,909,1,1187,1,1219,1,1035,1,1236,1,1068,1,1187,1,1157,1,1172,1,987,1,1203,1,1203,1,1187,1,1157,2,1015,1,1130,1,1333,1,1292,1,1187,1,1272,1,877,1,1272,1,1312,1,1236,1,946,1,1254,1,1292,2,1157,1,1025,1,1354,1,1057,1,1333,1,889,1,822,1,1236,1,1236,1,1312,1,1236,1,1254,1,1312,1,1035,1,1091,1,1203,1,1104,2,1187,1,1157,1,1130,2,896,3,996,2,1157,1,1254,1,987,1,1333,2,1143,1,1035,1,1203,1,889,1,1025,1,1025,1,923,1,930,1,1025,1,962,1,1025,1,1006,1,1006,1,902,1,1025,1,1025,1,1025,1,1025,1,1035,1,930,1,1025,1,1143,1,1081,1,1333,1,1187,2,916,1,859,1,1025,1,1057,2,1091,1,1219,1,1104,1,1104,1,1104,1,962,1,970,1,1104,2,1104,1,1104,1,1104,1,1104,1,1104,1,1104,1,1104,2,1157,1,896,1,1104,3,1254,1,1254,1,1377,1,1203,1,1236,2,1219,1,1035,3,1254,3,1187,1,1116,2,1272,1,1203,4,1456,1,1442,1,1091,1,938,1,1091,1,1104,1,962,2,1292,1,1143,2,1333,1,1130,4,1333,1,1219,1,1219,1,1219,1,1172,1,1104,1,996,2,1172,1,979,2,1130,3,1236,2,1099,1,1157,1,946,1,1172,1,883,1,1219,1,1068,1,1254,1,1187,1,1254,1,1630,1,1238,1,1236,1,1172,1,979,1,1254,1,1187,1,1254,1,1187,1,1254,1,1254,1,1219,1,1254,1,1219,1,1254,1,1219,1,1254,1,1219,1,1219,1,1187,1,1091,1,1046,1,1116,1,1091,1,1116,1,1514,1,1104,1,1079,1,1116,1,1091,1,1116,1,1091,1,1116,1,1116,1,1104,1,1116,1,1104,1,1116,1,1104,1,1116,1,1104,1,1104,1,1079,1,1130,1,1091,1,1079,1,1104,1,1079,1,1116,1,1116,1,1104,1,1116,1,1104,1,1116,1,1104,1,1116,1,1104,1,1104,1,902,1,889,2,1272,1,1219,1,1203,1,1236,1,1172,1,1254,1,1254,1,1219,1,1254,1,1219,1,1254,1,1219,1,1254,1,1219,1,1219,1,946,1,930]],[["func bindbody(c *context, target any) (err error)",237],["func bindheaders(c *context, target any) error",238],["func bindpathvalues(c *context, target any) error",239],["func bindqueryparams(c *context, target any) error",240],["func contextget[t any](c *context, key string) (t, error)",241],["func contextgetor[t any](c *context, key string, defaultvalue t) (t, error)",242],["func defaulthttperrorhandler(exposeerror bool) httperrorhandler",243],["func extractipdirect() ipextractor",245],["func extractipfromrealipheader(options ...trustoption) ipextractor",246],["func extractipfromxffheader(options ...trustoption) ipextractor",247],["func extractschemedirect() schemeextractor",248],["func extractschemefromheaders(options ...trustoption) schemeextractor",249],["func formfieldbinder(c *context) *valuebinder",250],["func formvalue[t any](c *context, key string, opts ...any) (t, error)",251],["func formvalueor[t any](c *context, key string, defaultvalue t, opts ...any) (t, error)",252],["func formvalues[t any](c *context, key string, opts ...any) ([]t, error)",253],["func formvaluesor[t any](c *context, key string, defaultvalue []t, opts ...any) ([]t, error)",254],["func handlername(h handlerfunc) string",255],["func legacyipextractor() ipextractor",256],["func legacyschemeextractor() schemeextractor",257],["func mustsubfs(currentfs fs.fs, fsroot string) fs.fs",258],["func new() *echo",259],["func newbindingerror(sourceparam string, values []string, message string, err error) error",260],["func newconcurrentrouter(r router) router",261],["func newcontext(r *http.request, w http.responsewriter, opts ...any) *context",262],["func newdefaultfs(dir string) fs.fs",263],["func newhttperror(code int, message string) *httperror",264],["func newresponse(w http.responsewriter, logger *slog.logger) (r *response)",265],["func newrouter(config routerconfig) *defaultrouter",266],["func newvirtualhosthandler(vhosts map[string]*echo) *echo",267]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c16.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c16.json new file mode 100644 index 00000000..526b0444 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c16.json @@ -0,0 +1 @@ +[[["function",17,8180,23,11989,194,4826,21,5931,16,4602,1,4444,10,3789,1,3726,1,4602,17,4087,60,4175,69,5683,1,4826,3,5845,9,5264,2,5606,1,5533,6,3979,15,4644,9,5762,7,4977,25,4875],["functionality",40,4625,361,7877],["functions",0,9379,43,64204],["further",40,6932,438,8811,2,8922],["furthest",40,4625,207,8080],["g",27,8229,13,12819,234,3767,4,3767,5,3572,17,4226,80,6606,22,4877,1,5449,1,4932,1,4932,1,4932,1,4298,1,4335,1,4932,2,4932,1,4932,1,4932,1,4932,1,4932,1,4932,1,4932,2,5172,1,4003,1,4932],["g101",40,14390],["ge",370,6733],["generally",40,4625,353,6892],["generated",0,9379],["generates",40,7768],["generating",40,5908],["generic",27,15112,5,10465,4,46192,4,7758,229,5206,1,5066,1,5821,1,5622,28,5576,44,5243],["get",0,8433,1,39061,4,9375,5,10837,7,6524,10,6563,5,6411,8,10444,119,4232,1,4232,1,4232,1,4232,1,4232,81,5616,39,4039,32,42986,53,4989,11,43511,1,6214,29,43839,28,43528,40,5553],["getor",40,6932,398,57888],["getting",40,4625,174,7751],["getwd",40,5908],["ghsa",10,10240,30,7735],["github",0,8711,5,9685,12,9825,15,8304,8,43196,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3366,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,1,3311,107,2087,322,12200],["give",40,4625,320,6892],["given",40,13829,215,5541,8,4601,4,5678,1,5461,8,3582,6,3540,8,4919,20,3959,42,4509,44,3481,31,5238,10,5169,1,4861,19,4919,9,4806,2,3989,1,5103,1,4261,2,4919,73,3929,1,3873,1,3901,16,4118,1,4052,1,3767],["global",40,6932,412,7111]],[["func newwithconfig(config config) *echo",268],["func parsevalue[t any](value string, opts ...any) (t, error)",269],["func parsevalueor[t any](value string, defaultvalue t, opts ...any) (t, error)",270],["func parsevalues[t any](values []string, opts ...any) ([]t, error)",271],["func parsevaluesor[t any](values []string, defaultvalue []t, opts ...any) ([]t, error)",272],["func pathparam[t any](c *context, paramname string, opts ...any) (t, error)",273],["func pathparamor[t any](c *context, paramname string, defaultvalue t, opts ...any) (t, error)",274],["func pathvaluesbinder(c *context) *valuebinder",275],["func problemdetailshttperrorhandler(exposeerror bool) httperrorhandler",276],["func queryparam[t any](c *context, key string, opts ...any) (t, error)",277],["func queryparamor[t any](c *context, key string, defaultvalue t, opts ...any) (t, error)",278],["func queryparams[t any](c *context, key string, opts ...any) ([]t, error)",279],["func queryparamsbinder(c *context) *valuebinder",280],["func queryparamsor[t any](c *context, key string, defaultvalue []t, opts ...any) ([]t, error)",281],["func resolveresponsestatus(rw http.responsewriter, err error) (resp *response, status int)",282],["func staticdirectoryhandler(filesystem fs.fs, disablepathunescaping bool) handlerfunc",283],["func staticfilehandler(file string, filesystem fs.fs) handlerfunc",284],["func statuscode(err error) int",285],["func trustiprange(iprange *net.ipnet) trustoption",286],["func trustlinklocal(v bool) trustoption",287],["func trustloopback(v bool) trustoption",288],["func trustprivatenet(v bool) trustoption",289],["func unwrapresponse(rw http.responsewriter) (*response, error)",290],["func wraphandler(h http.handler) handlerfunc",291],["func wrapmiddleware(m func(http.handler) http.handler) middlewarefunc",292],["functions",43],["generic helpers take *context",36],["github.com/labstack/echo/v5",40]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c17.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c17.json new file mode 100644 index 00000000..2080168c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c17.json @@ -0,0 +1 @@ +[[["go",0,43190,1,5541,1,5541,1,5625,1,5625,1,10257,5,9006,7,8991,5,9063,5,9346,5,8412,8,16535,218,3670,26,4299,19,4261,6,4421,1,3959,9,4299,19,3742,22,3603,17,4020,1,4052,20,3742,9,4188,1,4224,12,3901,29,4752,24,4554,1,3929,3,3670,89,56220],["go1",40,5908,409,9090],["goes",22,9101],["golang",40,11267,197,7502,207,6585,3,7408,1,6367],["gone",32,12207,2,40839],["goroutine",40,5908,330,8813],["graceful",5,8802,35,7099],["gracefully",5,9631],["gracefultimeout",40,7768],["grained",22,9101],["group",0,8041,10,12567,30,12929,70,33847,270,31427,3,4325,18,29781,1,30401,1,29808,1,30450,1,30450,1,30450,1,29853,1,29890,1,30450,1,39924,1,30450,1,30450,1,30450,1,30450,1,30450,1,30450,1,30450,1,31661,1,30657,1,29549,1,30450,1,30359,32,6039],["grouped",40,4625,414,9522],["groups",5,8257,5,19879,3,63589,27,3965],["guard",10,8209,30,7099],["guarded",40,6932],["guards",10,10240,30,8271,243,6658],["guide",10,10240,30,5400,391,8624],["guides",0,12063,5,11594,12,7294,15,7168],["gzip",17,11174],["gzipwithconfig",17,8950],["h",40,13294,215,38146,36,36293,84,4464,1,4464,3,4464,2,4464,4,4464,1,4464,1,4464,1,4464,3,4464,2,3603,6,4464,6,4806,1,4806,3,4806,2,4806,2,4806,1,4806,1,4806,1,4806,1,4806,4,4806,48,5103,1,4261],["had",40,5908,273,7882,22,7199],["hand",32,8796],["handle",40,6932,418,7065],["handled",40,4625,258,7517],["handler",0,6639,5,6817,5,8749,7,9576,5,9642,4,40739,1,9262,5,9507,8,10578,174,4354,29,4466,33,2992,7,3809,1,3592,7,34326,1,43838,9,3190,1,3885,30,4629,17,4497,17,4210,2,3592,4,4744,2,4190,1,3729,1,3729,3,3729,1,4474,1,3729,1,4637,3,3729,1,3729,1,3729,1,3729,3,3729,4,4319,1,2908,3,3729,1,3844,2,3970,2,4015,8,4015,16,4497,16,3529,3,3970,1,3412,4,3105,7,5082,10,5200,1,4537],["handlerfunc",17,10574,15,7541,8,12409,74,45066,141,31764,28,23967,1,27770,7,31153,77,3803,4,3988,2,3425,1,3948,1,3948,3,3948,2,3948,1,3873,3,3948,1,3948,1,3948,1,3948,3,3948,2,3187,6,3948,3,4203,2,4250,1,4250,1,4250,3,4250,2,4250,1,4250,1,4250,1,4250,1,4250,1,4250,1,4250,4,4250,9,40593,4,5769,18,4281,7,4803],["handlername",40,6932,21,58679,194,44123],["handlers",0,6639,5,16497,5,6358,7,7909,5,15036,5,6373,5,7806,8,7975,242,4936,19,5324,69,4908,63,6778,19,5183],["handles",40,9050,412,7111],["handling",0,16690,5,9212,12,9635,5,47174,1,6844,1,6960,1,6844,1,6844,14,8988,119,4232,1,4232,1,4232,1,4232,1,4232,88,4084,22,4132,4,4108,61,5649,85,5232],["hands",27,9003],["happens",40,5908,203,6225,15,6416],["harnesses",32,8796],["has",10,7700,12,7802,18,12255,101,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,1,3313,85,3214,8,3177,1,3355,9,4338,12,3214,1,3313,3,3195,1,3313,4,4180,8,4439,34,3142,41,3628,5,4158,30,4153,18,4555,147,3400],["have",40,10368,223,8802],["having",40,5908],["he",22,10341,18,7099,384,8513,1,8513,1,9350,1,8166],["head",10,8209,30,11989,341,53356,30,53851],["header",17,8180,23,14262,124,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,3,3876,32,4469,1,4010,57,3458,20,2588,23,4003,13,2679,91,3114]],[["go api",566],["group",110],["group.add",402],["group.addroute",403],["group.any",404],["group.connect",405],["group.delete",406],["group.file",407],["group.filefs",408],["group.get",409],["group.group",410],["group.head",411],["group.match",412],["group.options",413],["group.patch",414],["group.post",415],["group.put",416],["group.query",417],["group.routenotfound",418],["group.static",419],["group.staticfs",420],["group.trace",421],["group.use",422],["groups",13],["handlerfunc",114],["handlername",61]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c18.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c18.json new file mode 100644 index 00000000..e8aa8af1 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c18.json @@ -0,0 +1 @@ +[[["headeraccept",40,14420,124,49284,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["headeracceptencoding",40,14420,124,2892,1,49284,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["headeraccesscontrolallowcredentials",40,14420,160,46392],["headeraccesscontrolallowheaders",40,14420,159,46392],["headeraccesscontrolallowmethods",40,14420,158,46392],["headeraccesscontrolalloworigin",40,14420,157,46392],["headeraccesscontrolexposeheaders",40,14420,161,46392],["headeraccesscontrolmaxage",40,14420,162,46392],["headeraccesscontrolrequestheaders",40,14420,156,46392],["headeraccesscontrolrequestmethod",40,14420,155,46392],["headerallow",40,15163,124,3773,1,3773,1,50165,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773,1,3773],["headerauthorization",40,14420,124,2892,1,2892,1,2892,1,49284,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["headercachecontrol",40,14420,153,46392],["headerconnection",40,14420,154,46392],["headercontentdisposition",40,14420,128,46392],["headercontentencoding",40,14420,129,46392],["headercontentlength",40,14420,130,46392],["headercontentsecuritypolicy",40,14420,167,46392],["headercontentsecuritypolicyreportonly",40,14420,168,46392],["headercontenttype",40,14420,131,46392],["headercookie",40,14420,132,46392],["headerifmodifiedsince",40,14420,134,46392],["headerlastmodified",40,14420,135,46392],["headerlocation",40,14420,136,46392],["headerorigin",40,15163,152,46392],["headerreferrerpolicy",40,14420,170,46392],["headerretryafter",40,14420,137,46392],["headers",17,10212,23,14386,124,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,1,2733,27,3925,10,3165,1,3566,7,2733,1,3713,81,2804,7,2684],["headersecfetchsite",40,15163,171,46392],["headerserver",40,14420,151,46392],["headersetcookie",40,14420,133,46392],["headerstricttransportsecurity",40,14420,163,46392],["headerupgrade",40,14420,138,46392],["headervary",40,14420,139,46392],["headerwwwauthenticate",40,14420,140,46392],["headerxcontenttypeoptions",40,14420,164,46392],["headerxcorrelationid",40,14420,149,46392],["headerxcsrftoken",40,14420,169,46392],["headerxforwardedfor",40,14420,141,46392],["headerxforwardedproto",40,14420,142,46392],["headerxforwardedprotocol",40,14420,143,46392],["headerxforwardedssl",40,14420,144,46392],["headerxframeoptions",40,14420,166,46392],["headerxhttpmethodoverride",40,14420,146,46392],["headerxrealip",40,14420,147,46392],["headerxrequestedwith",40,14420,150,46392],["headerxrequestid",40,14420,148,46392],["headerxurlscheme",40,14420,145,46392],["headerxxssprotection",40,14420,165,46392],["hello",0,7063,5,18876,2,56577,3,6763,17,9320,5,8304,8,8060,431,8721],["helper",10,8209,30,6335,396,8955,24,8955,11,6809],["helpers",0,9037,10,7016,12,7110,5,17730,5,11285,4,44553,1,44553]],[["hello, world!",7]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c19.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c19.json new file mode 100644 index 00000000..1de21644 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c19.json @@ -0,0 +1 @@ +[[["helpful",40,4625,218,7021],["here",40,9050,119,5450,1,5450,1,5450,1,5450,1,5450],["hi",27,11224],["hidebanner",40,7768,428,9840],["hideport",40,7768,428,9840],["high",0,39869,1,8280,1,8280,1,8405,1,8405,36,12369,526,10400],["higher",0,8572,5,8802],["hijack",40,6932,408,56428],["hijacker",40,8463,408,11312],["hints",27,9003],["historical",40,5908],["hold",10,8209,17,8229],["holds",40,4625,262,8895],["honoring",40,4625],["honors",17,8950],["hook",40,5908],["host",40,6932,333,10020],["hostname",40,14390],["hosts",40,5908,227,10862],["how",40,4625,305,6851],["htm",360,6892],["html",0,10610,5,10355,12,6335,5,6442,5,8761,5,6226,8,10739,101,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,1,2484,6,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,1,2469,105,51009,24,3022,131,3600,95,8587],["htmlblob",27,8229,13,6335,277,58192],["http",0,9848,5,9841,5,9526,7,8145,5,9929,5,11073,13,11546,119,2387,1,2387,1,2387,1,2387,1,2387,53,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,1,4667,10,3150,1,3429,5,2330,1,3618,4,2765,1,2387,12,3146,1,31123,3,25402,11,3064,6,24000,8,27934,1,29623,1,37920,9,2499,1,3044,4,3429,1,4270,9,3384,1,3299,3,3429,1,3429,20,4492,1,3775,1,3798,2,2344,2,4229,4,4400,1,4127,13,2631,7,2951,2,2535,8,2866,2,3324,9,3532,2,4673,1,2985,27,2951,2,3574,3,3524,1,3258,1,3475,1,3717,8,3243,2,3429,3,4424,3,4498,1,4154,1,4259,1,3146,1,3505,1,2433,15,4029,1,3808,1,4074,1,2789],["httperror",0,8041,22,16850,3,38890,15,13277,71,43512,105,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,1,7115,37,29159,12,3676,22,4033,125,38665,1,38441,1,38441,1,38992,1,39343],["httperrorhandl",301,7304],["httperrorhandler",0,7644,17,9106,5,9221,18,9714,72,52800,131,29073,33,29073,25,8126,127,48401],["https",5,7523,12,10192,10,7033,5,6871,8,12228,101,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,1,3071,6,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,1,2341,26,3089,11,2711,97,2299,86,2894,8,2451,5,2711,3,3050,1,2621,1,3050,18,2785,3,2735],["httpstatuscoder",40,12415,73,55093,103,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,1,5090,58,5608,144,49372,12,5973],["httptest",40,10368,204,7111],["human",40,7768,399,7304],["i",22,12021,18,11593,205,5454,2,4901,1,4901,2,4286,43,5232,11,6747,18,5999,4,5708,29,6915,1,4462,1,5999,2,5708,34,4181,83,6247,1,4259],["ico",10,11204],["id",5,7849,5,11536,17,10087,13,12390,234,10976,26,7199],["idempotent",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["identifier",40,5908,204,6499,80,6085],["identifiers",40,4625,284,6658],["identifies",40,8463,399,6676,13,6499],["ids",40,13451,241,10320,196,7460,2,9940,2,8835],["ietf",40,14795,101,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,6,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521]],[["httperror",111],["httperror.error",424],["httperror.statuscode",425],["httperror.unwrap",426],["httperror.wrap",427],["httperrorhandler",112],["httpstatuscoder",113]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c2.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c2.json new file mode 100644 index 00000000..3978f5df --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c2.json @@ -0,0 +1 @@ +[[["admin",10,12383,30,11209,243,6085,127,8228],["adopting",17,8950],["advanced",40,4625,408,7813],["advertised",40,14390,124,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["advisories",40,8463],["after",0,8711,5,7252,5,6763,7,6739,10,6780,13,11166,221,6507,81,6230,13,6507,10,5443,5,6238,22,6740,8,6230,45,55693],["afterwards",40,4625,323,6977],["ag",283,6658],["again",40,5908],["against",32,8039,8,6335,217,7304],["age",40,14390],["ala",40,4625,203,6811],["algorithm",40,5908],["all",10,9605,17,10611,13,11072,207,5194,3,4542,3,5023,1,4696,25,5023,2,4632,84,4944,4,7136,49,4797,40,4542,19,4513,3,6276],["allocate",40,5908,418,7065],["allocating",40,4625,323,6977],["allocations",40,6932],["allow",40,15770,124,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,1,4213,3,4031,233,3676,1,3159],["allowed",40,6932,172,7708,1,7708,131,6351],["allowoverwritingroute",40,7768],["allows",40,10368,223,7546,189,6096,25,6019],["alone",40,4625],["along",40,4625,302,8802],["already",0,8041,22,7802,18,8189,203,6225,39,6189],["also",40,7768,203,5839,7,6057,118,7051],["alternative",17,8180,5,8318],["alternatives",40,5908],["amounts",40,4625],["an",0,6639,5,9104,5,7930,7,8730,5,8009,5,7944,5,6226,8,10777,124,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,1,2212,32,2159,2,3554,6,3212,1,2935,1,2477,1,2316,2,2212,3,3519,9,3311,5,2823,1,2902,3,2809,1,2902,1,2477,2,2284,1,2147,1,2111,13,2518,2,2383,18,3135,1,3056,40,3135,1,3056,5,2212,1,2631,1,2438,6,3019,1,2734,38,2185,12,2185,1,2734,6,3019,15,3668,3,2882,1,2477,2,2914,1,3247,8,2584],["and",0,12928,5,12698,5,46806,1,2651,1,37057,1,2651,1,2606,1,2521,1,2651,1,12754,5,44406,1,2562,1,2606,1,2562,1,2562,1,46016,1,2481,1,2562,1,2651,1,2651,1,12462,8,11147,119,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,1,1585,3,1760,20,1959,3,1605,7,1615,4,1835,1,2570,1,2592,1,2002,1,2103,1,2569,1,2153,3,1659,5,2193,9,1868,1,1804,1,2023,1,2079,2,1556,1,2012,1,2079,1,2569,2,2127,1,2012,1,1512,13,1804,5,1659,1,2526,2,2020,1,2112,19,1981,5,2246,2,2153,4,1789,3,1626,2,1939,2,1999,2,1682,1,1556,7,1959,1,2065,7,2698,3,2366,1,1885,1,1747,1,2189,2,2376,2,1529,2,1959,8,1819,2,1903,2,2206,9,1565,3,1512,1,1733,3,1999,10,2045,8,2488,14,2567,3,2246,9,1835,4,1774,6,2163,4,1605,7,2217,6,1804,7,2189,2,2217,65,1707,1,1682,1,1695,16,1789,1,1760,1,1636],["answers",40,4625],["any",10,9130,12,11101,5,10087,13,12419,197,19163,1,21128,1,21128,1,21183,1,19179,1,18553,2,2875,7,19821,1,22025,1,24396,1,22982,3,2954,5,18117,7,25296,1,23473,1,25672,1,24693,1,19821,1,21988,2,2770,1,19821,1,21988,1,24396,2,22937,16,4052,7,3597,11,4497,7,3999,2,2692,2,3805,14,3453,6,4164,9,3717,1,2974,1,3999,2,3805,2,3017,2,2821,1,3356,10,29646,9,3387,10,3640,11,29956,28,4571,11,3805,14,3805,9,3717,4,3296,1,3212,1,3805,4,4164,7,3597,8,3296,17,3523],["anymore",17,8950],["anyway",40,5908,222,6820,122,6870],["api",0,11017,3,50805,2,9212,5,11346,30,8361,204,7232,87,7404,146,5484,89,60036]],[["api reference",3]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c20.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c20.json new file mode 100644 index 00000000..4c7bdf30 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c20.json @@ -0,0 +1 @@ +[[["if",5,9610,12,7294,5,10151,18,12677,197,3031,4,3737,1,3663,1,3821,2,3857,1,3989,1,4425,1,3466,3,4347,1,5190,1,4305,1,5001,2,3905,7,3776,10,4387,1,5152,2,3841,1,4366,1,5152,1,4305,2,5229,1,3800,1,2856,2,4974,2,4298,1,4357,1,4298,12,4066,12,3700,7,4298,1,4298,14,3379,3,3070,6,3178,12,4650,54,2957,12,2957,16,3989,13,3436,19,4457,9,3379,2,3155,7,4425,3,3497],["ignored",40,8463,208,6927,1,5981,33,5805],["image",40,5908,291,9479],["images",40,9988,218,7460,52,7968,88,7589,22,7868],["implement",40,11267,236,4849,9,6660,5,6660,6,7201,4,5576,56,6750,73,6740,13,6582],["implementation",40,11001,197,5320,6,5129,7,5320,81,5500,29,5190,92,5355],["implementations",10,7700,22,7541,8,9176,244,5821,19,5769,6,5986,10,5821,58,5443,1,5486,29,5670,1,5719],["implemented",22,7802,10,7541,8,3965],["implementing",22,7802,5,7718,13,10763,176,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,1,4850,214,5691,41,5768,24,5616,1,5163,22,5107,3,5107,18,5691],["implements",40,17780,245,4635,15,3880,52,4248,4,3623,5,3676,1,5468,33,4871,7,4478,2,4528,1,4528,1,4528,1,3946,1,3980,1,4528,2,4528,1,4528,1,4528,1,4528,1,4528,1,4528,1,4528,1,3676,1,4749,1,3676,1,4528,1,3395,22,3980,3,4478,1,3849,118,11087],["implications",40,5908],["implicit",40,4625,411,8010],["import",5,8802,35,5400,204,7111],["important",40,10703,370,5908,8,6397,4,5908],["in",0,10671,5,8347,5,6358,7,9823,5,8817,5,9843,1,33750,4,10104,2,30723,6,10950,98,3746,1,3746,1,3746,19,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,1,1967,3,2186,20,2432,9,2511,7,1992,6,1967,2,1980,9,3063,15,1909,1,1877,23,2825,13,2319,6,2385,2,3130,18,1932,1,2904,1,2904,1,3081,13,2104,11,2432,2,2706,1,2408,1,2408,3,2408,2,2408,1,2362,3,2408,1,2408,1,2408,1,2408,3,2408,5,2460,3,2408,11,1943,12,1943,13,2788,4,2060,13,2005,21,2457,1,2739,3,1980,4,2074,64,2119,1,2706,1,2722,16,2221,1,2811,1,2641],["including",0,8572,40,9476,218,5117,52,5520,14,4853,50,5400,24,5217,22,5439,2,5024],["incoming",40,4625,298,7158],["indent",40,9050,286,7668,33,7668,5,8590,68,7408],["index",40,5908],["indicate",40,4625,451,8151],["indicates",40,15172],["info",5,7523,5,14950,7,6991,10,7033,13,6068,422,7934,1,7934,1,7934,1,7626],["information",40,12099,119,4808,1,4808,1,4808,1,4808,1,4808,130,5943,51,5105,108,4900,3,6999],["informational",27,9003],["inherited",40,4625,378,7462],["inheriting",40,4625,361,7877],["init",5,9631],["initialize",5,9631],["initializeroute",40,9050,278,58299],["initiator",40,14390],["inline",27,10258,13,7099,279,58097],["inner",40,4625,361,7877],["input",40,6932,223,8045,100,8319],["inputs",40,4625],["inserting",40,5908,340,7321,30,6299],["inside",10,8209,30,5400,304,6770,83,9158],["install",0,8572,5,21042,1,63980],["instance",5,13911,35,12687,219,5956,1,5449,2,4003,1,4722,1,5525,1,5376,1,5687,1,5828,1,5604,33,3919,7,5956,44,4627,13,4126,5,4728,1,5109,13,4033,8,5109,9,4226,9,3698,12,3698,36,5645,10,5279],["instances",40,5908,396,9547,24,9547],["instead",10,7016,7,6991,5,7110,10,6871,8,10448,101,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,1,3717,99,3868,14,4355,1,4206,24,4206,60,3895,77,4924],["instructs",40,7768,428,9840],["int",40,14621,211,3082,1,3255,12,30653,5,3367,1,3277,3,3118,1,4191,3,3100,1,4191,3,4288,1,22205,3,33381,20,4257,11,4527,1,4413,5,4527,1,4413,2,3872,1,4307,3,4527,10,4413,1,3909,13,4162,1,4587,3,4527,1,4413,1,4307,64,3948,2,4782,4,4359,12,4587,3,3699,6,4209,1,3667,45,44204,9,5604,14,5263,9,5219],["int16",40,11507,229,5539,1,5390,227,56915,1,9218,22,8657,1,8584],["int16s",40,6932,458,58633],["int32",40,11507,229,5539,1,5390,229,56915,1,9218,22,8657,1,8584],["int32s",40,6932,460,58633],["int64",40,13209,229,4945,1,4812,174,5431,35,7647,2,7287,7,6934,13,55786,1,8229,22,7728,1,7663]],[["install",6]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c21.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c21.json new file mode 100644 index 00000000..9d6aa3a5 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c21.json @@ -0,0 +1 @@ +[[["int64s",40,8463,439,6753,2,6306,21,56886],["int8",40,11507,229,5539,1,5390,233,56915,1,9218,22,8657,1,8584],["int8s",40,6932,464,58633],["integer",40,5908,434,7517],["integration",40,5908],["interface",0,6837,10,13219,5,35842,2,6524,5,6634,5,6563,5,14532,1,35842,1,29098,1,35842,5,10673,176,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,1,3539,42,4493,1,4404,15,4806,11,4741,1,5026,59,3049,4,2857,3,2892,1,3440,31,4099,29,4329,5,4848,3,4686,1,4765,7,4393,1,4153,1,4765,1,4806,1,3349,3,3768,1,3238,10,2928,13,3292,5,5122,6,4210,24,4099,1,3768,22,3727,3,3727,18,4153],["interfaces",40,4625,392,9090],["intermediaries",40,4625],["internal",40,6932,323,6377,128,7450],["internalerror",40,5908],["internalservererror",40,9050,188,5981,1,5981,1,5981,1,5981,1,5981,1,5981],["internet",40,5908,205,8218,3,7385],["interoperates",0,9379],["interrupt",40,5908,356,8723],["into",17,7673,5,15351,18,10763,188,4656,1,4656,1,4656,1,4656,1,4656,1,4656,43,4016,15,6307,1,6307,8,4617,4,5214,34,4196,25,6108,1,4865,4,4821,74,5451],["introduces",5,9631],["ints",40,6932,465,58633],["invalid",40,13117,188,7883,1,7883,1,7883,1,7883,1,7883,1,7883,1,5943,1,6562,23,4838],["io",27,10258,13,8271,313,7408,90,7668,28,6473,1,7668],["ip",27,8229,13,13567,205,7936,1,8137,1,7302,9,7375,30,7189,52,8595,93,7688,44,7289],["ipchecker",40,4625,435,10298],["ipextractor",27,8229,13,11702,75,48074,130,38010,1,33642,1,32753,9,36541,82,5217,93,43725],["ipnet",40,4625,246,43713],["iprange",40,4625,246,43713],["ips",40,4625,207,8080],["ipv6",40,5908,216,9103],["irrelevant",40,5908],["is",0,9757,5,6817,5,9590,7,9235,5,9881,5,9843,1,32852,4,10540,2,39016,6,11211,101,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,1402,1,2082,1,2082,1,2082,1,2082,1,2082,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,1818,1,2240,1,2240,1,2247,20,2170,1,2553,1,2400,1,1411,4,2187,1,2153,1,1361,6,1394,2,1345,1,2289,2,1894,2,1818,1,1459,1,1402,9,1723,3,1860,1,1643,1,2285,1,1361,1,2270,2,1369,1,1353,1,2270,3,2133,1,2033,1,2189,10,1723,3,1587,1,2002,1,1941,3,2453,9,1513,5,1777,5,2002,1,2002,3,1742,1,1689,6,2155,7,1860,6,1917,1,1789,10,1836,1,2339,4,1377,1,1491,2,2082,2,1979,5,2024,10,1600,3,1674,6,2170,1,1548,3,2242,3,1742,2,1430,2,2204,1,1574,9,1798,8,1491,2,1491,2,1377,1,1723,5,2057,1,1902,2,1723,1,1816,3,1975,1,2087,3,2155,3,1858,1,1880,2,2423,1,2400,2,1561,3,1600,1,1850,2,1902,4,1839,1,2825,1,2087,7,2106,1,2223,2,2325,1,1587,3,1502,1,2057,1,2057,1,2092,6,1777,4,1950,21,1740,37,1502,1,1480,1,1491,16,1574,1,1548,1,1439],["issues",40,5908],["istls",27,8229,13,6335,280,58519],["iswebsocket",27,8229,13,6335,281,58519],["it",0,8189,5,9104,5,9590,7,10516,5,9310,5,9600,5,9156,8,10472,119,4209,1,4209,1,4209,1,4209,1,4209,51,3584,29,4118,7,4256,1,3113,2,3612,4,3377,6,4070,10,3149,3,4140,1,3131,2,3612,6,5361,17,4113,22,3078,1,3910,13,3309,4,4070,3,3168,10,4250,8,3226,1,3837,4,5412,24,4403,9,4672,17,3450,6,4830,28,3288,2,4403,19,4028,1,3475,17,3769],["its",40,12415,119,4938,1,4938,1,4938,1,4938,1,4938,200,4938,72,6999,9,5719],["itself",40,8463,370,5908,12,5908,17,6262],["javascript",40,14069,101,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,166,3726,241,4032],["jpg",40,5908,291,9479],["json",0,6837,5,7020,12,6524,5,14546,5,6563,5,8038,8,11215,101,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,1,4747,85,4038,1,3224,25,3335,1,3245,6,3106,22,4992,2,4581,22,52307,1,4370,3,4266,34,3125,2,5890,1,5425,1,3763,59,4924,9,4121,7,4297,67,5447,23,5083],["jsonblob",40,6932,283,58192],["jsoniter",40,5908],["jsonp",27,8229,13,10714,194,10980,90,55785,1,10215]],[["ipextractor",115]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c22.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c22.json new file mode 100644 index 00000000..a7b304b7 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c22.json @@ -0,0 +1 @@ +[[["jsonpblob",40,7768,194,7882,91,56169],["jsonpretty",27,8229,13,6335,286,57987],["jsons",40,4625,324,8300],["jsonserializer",40,11507,76,58679,316,52732],["jsonunmarshaler",40,6932,466,58407],["just",40,8463,353,5908,52,8590,1,8477],["jwt",17,12334],["jwtconfig",10,8982],["jwtwithconfig",10,8982],["kbd",5,13501],["keep",40,4625],["kept",40,4625,258,7517],["key",27,10258,13,12777,188,4381,1,4381,1,4381,1,4381,1,4381,1,4381,2,5252,1,6626,5,25653,1,24864,9,22633,1,22238,1,24454,1,23544,23,23805,1,22188,1,24454,2,23482,34,6134,31,5679,124,4495],["keyfile",40,8463,430,11637],["kind",40,5908,370,6299,12,6299],["known",40,4625,334,7408],["labstack",0,8711,5,9685,12,10803,15,8304,8,44340,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3347,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,107,2701,187,2516,135,12182],["large",40,4625],["last",40,14502,291,6676,87,6820],["later",32,8039,8,5400,174,7751],["latest",32,12207],["layout",40,12415,433,6560,1,8935,59,6922,1,6770,17,7755,1,7351],["layouts",40,8463,320,7718,113,7469,1,6444],["lead",40,5908],["leading",40,9988,244,5821,19,5769,6,5986,10,5821,58,5443,1,5486,29,5670,1,5719],["leads",40,4625,330,6733],["learn",5,9522,35,4625],["leave",40,5908],["leaves",0,9379],["left",40,8463,216,5686,6,6081,122,6126,68,5795],["legacyipextractor",40,8463,22,58040,194,44161,82,6136],["legacyschemeextractor",40,6932,23,58679,194,46843],["len",40,6932,448,8080],["length",22,10341,18,13608,418,5758,21,9940,2,8835,7,9429],["lets",22,8318,18,4227],["letters",40,4625,284,6658],["level",0,8572,40,11475,330,3884,2,4975,2,4273,1,4926,1,4926,1,4436,2,4926,1,4621,1,4926,1,4832,1,6125,2,4926,1,4926,1,4926,1,4926,3,4926,8,4926,11,3976],["leverage",40,5908],["libraries",40,5908],["library",0,9428,17,7294,15,7168,8,10232,119,4024,1,4024,1,4024,1,4024,1,4024,74,4075,13,4075,1,3884,22,3929,4,3906,7,4744,19,4702,6,4878,10,4744,58,4436,1,4471,29,4621,1,4661],["license",40,4625,204,7111],["licensed",0,9379],["like",40,10368,222,5829,63,6606,6,5706,53,5872,9,5384],["limit",17,8180,23,9128,212,12098],["limiting",40,7768],["limits",40,5908],["line",0,8572,32,8039],["link",40,8463,209,5981,38,8590,58,5873],["links",0,9379],["list",10,7700,22,9454,8,12362,124,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,45,2868],["listen",40,5908],["listenandserve",40,4625],["listener",40,13451,188,5790,1,5790,1,5790,1,5790,1,5790,1,5790,235,5562],["listeneraddrfunc",40,7768],["listenernetwork",40,9050],["listeners",40,5908],["listening",40,7768,428,7631],["listusers",10,8982],["live",17,8950],["llc",40,4625,204,7111],["load",40,9050,284,6658],["loads",40,4625,328,8224],["local",40,11920,209,4690,38,6736,58,4605,15,6052,185,5053,1,4980,1,5016,16,5295,1,5210,1,4844],["localhost",5,9631],["location",40,14643],["log",5,9685,5,6763,7,18531,5,6853,10,8304,8,6372,203,5839,238,6306],["logerror",17,8950],["logged",40,5908,203,6811],["logger",17,11026,5,7417,10,10946,8,10526,225,44939,36,9500,26,54062,21,11188],["logging",17,11897,1,47691,14,18132,2,36290,6,7758,261,5953],["login",27,9003],["loglatency",17,8950],["logmethod",17,8950],["logremoteip",17,8950]],[["jsonserializer",116],["legacyipextractor",62],["legacyschemeextractor",63],["logging: the old interface is gone, slog is in",34]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c23.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c23.json new file mode 100644 index 00000000..4874d729 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c23.json @@ -0,0 +1 @@ +[[["logs",40,5908],["logstatus",17,8950],["loguri",17,8950],["logvaluesfunc",17,8950],["longer",10,7320,12,7417,5,7337,5,7168],["look",40,4625,298,7158],["looks",40,4625,328,8224],["loopback",40,8463,209,5981,39,8707,57,5873],["low",40,5908],["lower",40,8463],["lowercase",40,4625,305,6851],["m",40,13294,252,39181,83,4464,1,4464,2,4052,1,4464,1,4188,1,4464,4,4464,1,4464,1,4464,1,4464,3,4464,2,3603,6,4464,6,4806,1,4806,2,4224,1,4806,2,4806,2,4806,1,4806,1,4806,1,4806,1,4806,4,4806],["made",40,7768,419,8151],["main",5,10778,35,5400],["mainly",40,4625,411,8010],["maintained",0,8572,17,8180],["maintainers",32,8796],["maintenance",32,8796],["major",32,8796],["make",40,8463,378,7462],["makes",40,8463,384,9547,16,9687],["making",40,5908],["mandatory",40,14448,124,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,1,2844,3,3160,238,2899],["map",22,10151,5,7337,5,8987,8,5649,204,6499,23,43484],["marshal",40,4625],["marshaler",40,5908,260,10104],["marshaljson",40,9050,258,8879,2,55627],["marshals",40,5908,437,7021],["mass",40,4625,253,8624],["master",32,8796],["match",0,7644,10,10073,22,7168,8,9860,253,6286,38,5324,51,50140,11,5024,17,5024,2,51533,10,5024],["matched",10,7016,7,6991,10,7033,5,6871,8,5415,243,5708,61,6351,78,5908],["matches",40,11001,223,7546,111,6351,85,8906],["matching",40,14262,172,5789,1,5789,1,4002,130,4954,21,3970,1,4977,6,4453,2,3825,1,4409,1,4409,3,4409,2,4409,1,4325,3,4409,1,4409,1,4409,1,4409,1,4453,1,4002,1,4409,8,4409,1,4544,62,5244,1,5244,1,5244,1,5040],["matter",22,9101],["max",40,14448],["maxbytesreader",40,4625],["maximum",40,4625,418,7065],["may",22,8318,18,7735,320,6892],["md",32,12936],["meaning",40,4625,349,8624],["means",40,6932,295,7199,104,6676],["memory",40,7768,323,6977],["message",22,11385,18,11593,203,6137,1,4900,16,34776,4,36186,12,4721,22,5180,1,7649,1,6962,123,7485],["metadata",40,14390],["meter",10,8982],["method",5,7252,5,9842,7,9825,10,6780,5,6623,8,11844,119,3840,1,3840,1,3840,1,3840,1,3840,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,2921,1,3599,1,3599,1,3611,76,3020,3,2768,3,2549,1,3216,1,2412,17,2855,29,3497,8,2768,4,3061,10,3094,1,3353,1,2640,4,3486,2,3080,9,3408,7,3200,3,2212,3,2800,4,2825,2,2918,46,2508,4,3393,3,3260,4,3334,3,3929,3,3821,3,3158,23,2616],["methodget",40,7768],["methodnotallowedhandler",40,7768,419,10389],["methodnotallowedroutename",40,8463,172,10248,1,56640],["methods",0,7327,10,7016,17,7033,5,6871,8,11958,124,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,1,2671,141,3302,9,2857,13,2836,8,4066,30,3520,24,4000,22,2705,2,4000,17,2688,14,4456],["middleware",0,10455,5,10663,5,9876,7,61139,1,5192,1,5382,1,45872,1,45872,1,6634,10,10632,8,10703,203,3962,39,3012,19,3249,51,3836,20,4832,2,4268,1,3799,1,3799,1,4406,2,3799,1,3563,1,3799,1,4723,3,3799,1,3799,1,3799,1,3799,1,5365,1,3448,1,3799,6,3394,1,3184,1,3799,1,4908,1,3504,1,4044,2,4089,3,3563,3,3066,2,4089,7,4288,1,3319,2,4005,11,4137,1,4647],["middlewareconfigurator",40,6932,77,58679,316,52907]],[["middleware",17],["middlewareconfigurator",117]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c24.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c24.json new file mode 100644 index 00000000..104041bb --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c24.json @@ -0,0 +1 @@ +[[["middlewarefunc",32,8039,8,13277,78,50125,174,34133,80,3636,2,3123,1,3600,1,3600,1,3242,1,3267,1,3600,1,3377,1,3600,1,3532,1,3532,2,3600,1,3600,1,3600,1,3600,1,3636,1,3267,1,3600,2,2905,4,3217,1,3017,1,3600,1,3711,2,3832,2,3875,1,3875,1,3875,1,3377,1,3406,1,3875,2,3875,1,3875,1,3875,1,3875,1,3875,1,3875,1,3875,2,4064,1,3146,1,3875,12,3920,1,45031,18,2998,2,4014],["middlewares",17,8180,23,12150,304,5105,26,4640,13,55086,7,5341,20,4749,8,7548,4,4749,30,4900,2,8060],["migration",0,11583,32,51853,1,8091,1,7614,1,8091,1,8091,1,8091,1,8362,1,8508],["millisecond",40,5908,506,6770,18,7084],["milliseconds",40,8463,98,7972,1,7972,1,7972],["mime",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["mimeapplicationform",40,12555,109,46392],["mimeapplicationjavascript",40,13980,103,46392],["mimeapplicationjavascriptcharsetutf8",40,12555,104,46392],["mimeapplicationjson",40,14903,101,52431,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039,1,6039],["mimeapplicationjsonchars",141,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["mimeapplicationjsoncharsetutf8",40,12555,102,46392],["mimeapplicationmsgpack",40,12555,111,46392],["mimeapplicationproblemjson",40,13980,112,46392],["mimeapplicationprotobuf",40,12555,110,46392],["mimeapplicationxml",40,13980,105,46392],["mimeapplicationxmlcharsetutf8",40,12555,106,46392],["mimemultipartform",40,13020,117,46392,80,10521],["mimeoctetstream",40,12555,118,46392],["mimetexthtml",40,13980,113,46392],["mimetexthtmlcharsetutf8",40,12555,114,46392],["mimetextplain",40,13980,115,46392],["mimetextplaincharsetutf8",40,12555,116,46392],["mimetextxml",40,13980,107,46392],["mimetextxmlcharsetutf8",40,12555,108,46392],["minimalist",0,46497,1,7981,1,7981,1,8102,1,8102,36,12066,526,10400],["minor",27,8229,5,8039],["missing",40,9988,201,6350,1,6225,10,5183,2,5324,20,5117,4,5117,3,5252],["mit",0,8572,40,4227,204,7111],["mod",5,9631],["modified",40,15155],["modifies",40,4625,451,8151],["modify",40,4625],["module",0,8041,17,7673,15,9454],["modules",5,9631],["more",40,5908,391,8624],["most",40,10368,216,4808,28,5667,19,5617,6,5828,10,5667,58,5299,1,5341,29,5520,1,5568],["move",32,8796],["mozilla",40,15155],["msgpack",40,12415],["multipart",40,13117,271,10981,17,11633],["multipartform",40,6932,288,59120],["multiple",40,5908,216,6377,126,7657],["must",10,7320,17,7337,5,7168,8,10435,188,4818,1,4818,1,4818,1,4818,1,4818,1,4818,91,4039,16,5180,2,5339,13,5577,1,5785,15,5776,21,5776,66,4286,13,6171],["mustbindunmarshaler",40,6932,467,57697],["mustbindwithdelimiter",40,6932,468,57339],["mustbool",40,6932,469,57888],["mustbools",40,6932,470,57697],["mustbyte",40,6932,471,57888],["mustcustomfunc",40,6932,472,57888],["mustduration",40,6932,473,57791],["mustdurations",40,6932,474,57604],["mustfloat32",40,6932,475,57888],["mustfloat32s",40,6932,476,57697],["mustfloat64",40,6932,477,57888],["mustfloat64s",40,6932,478,57697],["mustint",40,6932,479,57888],["mustint16",40,6932,480,57888],["mustint16s",40,6932,481,57791],["mustint32",40,6932,482,57888],["mustint32s",40,6932,483,57791],["mustint64",40,6932,484,57888],["mustint64s",40,6932,485,57791],["mustint8",40,6932,486,57888],["mustint8s",40,6932,487,57791],["mustints",40,6932,488,57791],["mustjsonunmarshaler",40,6932,489,57604],["muststring",40,6932,490,57987],["muststrings",40,6932,491,57697],["mustsubfs",40,9988,24,57181,194,39545,52,5916,88,5591,22,5829],["musttextunmarshaler",40,6932,492,57604],["musttime",40,6932,493,57791],["musttimes",40,6932,494,57604],["mustuint",40,6932,495,57888],["mustuint16",40,6932,496,57888],["mustuint16s",40,6932,497,57791],["mustuint32",40,6932,498,57888],["mustuint32s",40,6932,499,57791],["mustuint64",40,6932,500,57888],["mustuint64s",40,6932,501,57791],["mustuint8",40,6932,502,57888],["mustuint8s",40,6932,503,57791],["mustuints",40,6932,504,57791]],[["middlewarefunc",118],["migration v4 → v5",32],["mustsubfs",64]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c25.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c25.json new file mode 100644 index 00000000..067152f8 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c25.json @@ -0,0 +1 @@ +[[["mustunixtime",40,6932,505,56107],["mustunixtimemilli",40,6932,506,55987],["mustunixtimenano",40,6932,507,53854],["mutate",40,6932,330,5772,13,7182,7,6645],["mutating",40,5908],["mutation",40,5908],["my",40,4625,439,7877],["myapp",5,9631],["n",40,5908,410,8402,29,7199],["naively",40,5908],["name",10,8752,12,11103,5,10594,5,6871,8,11882,124,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,2356,1,3786,1,3786,21,2913,21,3579,18,2300,1,2371,9,2249,15,2538,5,2753,3,3384,5,4058,1,4134,1,4073,6,2777,11,4256,1,3201,3,4173,1,3841,5,2884,4,2502,91,4058,2,4058,1,4259,14,2401,3,3430,8,4134,8,2682,1,3177],["named",22,8318,18,5400,266,9158,87,6299],["names",32,8039,8,7099],["nanosecond",40,5908,507,6820,18,6585],["nanoseconds",40,8463,98,7972,1,7972,1,7972],["nb",40,6932,197,6057,13,6057,241,6988],["ne",422,6892],["nearest",40,4625,207,8080],["nearly",32,8796],["necessary",40,9552,218,5721,52,7968,88,7589,22,7868],["need",5,8257,5,7700,30,7255,203,5551,39,5519,74,5994,40,5426],["needed",40,5908,370,6299,12,6299],["needs",27,9003],["nested",40,4625],["nesting",10,8982],["net",0,13585,5,8257,35,11651,119,4395,1,4395,1,4395,1,4395,1,4395,74,5799,7,5832,38,4265,4,39954,158,5089,3,5726,1,6322],["network",40,11507,188,5473,1,5473,1,5473,1,5473,1,5473,1,5473,16,4808,40,6905,56,4721],["never",10,8209,30,5400,242,6189,1,6085],["new",0,6639,5,9104,5,6358,7,6335,5,8009,5,6373,5,9156,5,37427,3,10637,25,50006,163,5444,1,5444,1,5444,1,5444,1,5444,1,5444,1,3545,1,3914,1,4065,7,2800,1,2923,15,41152,1,4175,2,3067,1,3618,1,4233,1,4119,1,4357,10,2816,90,3962,4,2768,2,3545,1,4119,1,3045,1,3510,1,3510,1,3161,1,3186,1,3510,1,3293,1,3510,1,3443,2,3090,1,3510,1,3510,1,3510,1,3510,3,3510,6,3136,1,2942,1,3510,4,4175,7,2833,8,3067,9,4119,25,2923,19,3265],["newbindingerror",22,8318,18,7099,26,58040,194,38272,228,6927],["newconcurrentrouter",10,8209,30,6335,27,58679,194,45455],["newcontext",40,10368,28,55040,194,32404,122,48100],["newdecoder",40,4625,323,6977],["newdefaultfs",40,8463,29,58679,194,42690],["newdefaultrouter",10,8982],["newhttperror",17,7673,5,10679,18,5943,30,58679,194,40385],["newrecorder",40,7768],["newrequest",40,7768],["newresponse",40,6932,31,58679,194,37753],["newrouter",40,8463,32,58679,194,44123],["newvirtualhosthandler",40,6932,33,58679,194,40596],["newwithconfig",5,8802,35,8271,34,57562,194,45206,33,5953,121,5617],["next",5,10109,4,57250,8,10574,23,3965,394,9547],["nil",5,7849,12,7294,5,7417,18,11313,211,4084,1,5616,2,5750,8,4526,11,4132,1,5553,3,4108,1,5553,3,5682,34,7455,69,4560,68,4314,27,4778,2,4462,7,7019],["no",10,8436,7,8414,5,6853,5,6780,5,9192,8,11115,101,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,1,4459,87,4380,3,3936,3,3280,22,3318,4,3299,36,4202,16,4817,6,3837,21,3583,37,3358,17,3358,12,3358,37,5061],["noautoregisterro",410,6892],["noautoregisterroutes",40,5908,382,6892],["nocontent",27,8229,13,7735,289,57374,64,6299],["nogroupautoregister404routes",40,9988,378,6820,4,6299],["non",40,7768,196,9038,1,6457],["none",27,9003],["nosec",40,14390],["nosniff",40,4625,284,6658]],[["new",65],["new test helpers: echotest",37],["newbindingerror",66],["newconcurrentrouter",67],["newcontext",68],["newdefaultfs",69],["newhttperror",70],["newresponse",71],["newrouter",72],["newvirtualhosthandler",73],["newwithconfig",74],["next steps",9]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c26.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c26.json new file mode 100644 index 00000000..9c4aea03 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c26.json @@ -0,0 +1 @@ +[[["not",0,6837,5,8595,5,9009,12,6634,5,6563,5,6411,8,11431,119,2016,1,2016,1,2016,1,2016,1,2016,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,1545,1,2896,1,2896,1,2208,14,2534,1,2534,1,2534,1,2534,1,2534,1,2534,1,1910,1,2109,1,2190,1,1565,4,1930,1,1892,1,2265,8,1491,1,1575,1,1731,1,1618,3,1618,10,1910,6,1509,1,1555,2,1983,1,1500,1,1555,1,1731,2,1596,2,1475,2,2084,13,1665,3,2100,12,1910,2,1970,9,1475,7,2100,4,1745,9,2605,1,1518,15,1994,3,1545,2,2194,5,1952,4,1641,9,2623,6,1910,1,2208,6,1475,1,1690,13,1527,12,1527,16,2060,13,1774,16,1838,1,2180,39,2014,2,2060,1,2014,1,2060,1,2060,1,2036,1,1992,1,2060,1,2014,1,2060,1,2014,1,2060,1,2060,1,2036,1,2060,1,2036,1,2060,1,2036,1,2060,1,2036,1,2036,1,1992,1,2084,1,2014,1,1992,1,2036,1,1992,1,2060,1,2060,1,2036,1,2060,1,2036,1,2060,1,2036,1,2060,1,2036,1,2036,1,2152,1,2125,1,1653,16,1745,1,1717,1,1596],["notation",40,12555,101,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,128,5768],["note",40,13294,197,3953,6,4983,7,3953,12,4175,21,3726,15,4206,15,4826,22,4407,28,3904,2,4303,18,4687,1,4206,6,4337,6,3726,149,4206,1,4145,1,4175,16,4407,1,4337,1,4032],["notes",40,6932,291,7304],["notfound",40,7768,370,5908,8,8277,4,5908],["notfoundhandler",40,8463,419,10389],["notfoundroutename",40,8463,172,56640,1,10248],["nothing",40,4625,284,6658],["notifycontext",40,4625,356,6658],["nov",0,9379],["now",32,11157,8,5400],["number",40,7768,525,7205],["object",40,12916,101,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,79,3842,1,5449,1,5449,1,5523],["objects",40,4625,262,8895],["occur",40,5908,212,6499,2,6676],["occurred",40,6932,242,5805,16,6444,125,7394],["occurrence",40,9050],["octet",27,8229,13,11347],["of",5,7252,5,6763,7,6739,5,6853,10,6623,8,11813,119,1784,1,1784,1,1784,1,1784,1,1784,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2327,1,2867,1,2867,1,1982,1,2838,34,1784,2,1721,6,2423,2,2838,1,2597,4,2633,1,2562,2,2205,1,2671,3,2103,1,2031,1,1741,4,1731,6,1702,1,2103,14,1922,4,2274,1,2084,6,2735,9,2496,1,2103,5,1702,7,1867,25,1881,4,1762,5,1966,12,1966,1,1982,18,1702,5,2014,6,2048,1,2066,2,2639,12,2639,11,2377,3,2671,3,2423,11,2350,6,2838,4,2671,1,2838,6,2122,6,2227,1,1922,11,2528,5,2496,3,2528,2,2528,3,2597,2,2597,2,2597,2,2597,1,2597,5,2324,4,2299,2,2324,2,2324,13,2324,3,2299,15,2597,3,2496,3,2597,2,2597,2,2597,2,2597,1,2597,3,1842],["official",0,8041,5,8257,12,19857,3,57451],["ok",22,9700,5,7718,13,5065,242,6772],["old",17,8180,15,11823,2,40839],["older",32,8796],["omit",40,4625],["omitempty",40,7768],["on",0,12082,5,8880,5,9842,12,6853,10,9192,8,11222,101,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2688,1,2671,1,2671,1,2671,1,2671,1,2671,95,2688,24,2593,22,3406,59,2671,11,2836,1,3270,1,3270,1,2944,2,3270,2,3270,1,3208,3,3270,1,3270,1,3270,1,3270,3,3270,5,2549,3,3270,3,3481,2,3520,1,3520,1,3520,1,3067,2,3520,2,3520,1,3520,1,3520,1,3520,1,3520,1,3520,1,3520,4,3520,37,2705,10,2922],["onaddroute",40,9988],["once",10,8209,30,4227],["one",0,7327,10,7016,7,6991,5,8839,18,10246,101,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,1,3767,89,4335,184,4627,36,4453,6,4674,1,4033],["ones",40,4625],["ongoing",40,5908]],[["official middleware",20]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c27.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c27.json new file mode 100644 index 00000000..54ca1a6b --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c27.json @@ -0,0 +1 @@ +[[["only",5,7849,5,7320,22,8987,8,12157,174,4789,34,4992,1,4311,3,4393,2,4513,2,4311,18,4338,4,4338,3,4452,43,4114,21,4233,51,4114,91,6032,78,4452],["onlyjson",17,11174],["onshutdownerror",40,7768],["onto",27,9003],["open",40,9552,223,8802],["opening",40,4625,279,8224],["opentelemetry",17,8950],["operations",40,10703,244,5821,19,5769,6,5986,10,5821,58,5443,1,5486,29,5670,1,5719],["option",40,5908],["optional",40,13117,242,3906,78,3976,12,4975,2,4273,1,4926,1,4926,1,4436,2,4926,1,4621,1,4926,1,4832,3,4926,1,4926,1,4926,1,4926,3,4926,8,4926,11,3976],["optionally",40,7768,324,8300],["options",10,8209,30,14198,124,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,1,2503,3,2781,32,31204,1,30766,2,27867,3,2551,1,2803,1,2621,17,2951,1,2850,2,2519,4,2519,1,2803,2,2585,43,2389,61,40540,11,2389,17,40734,46,3727,8,2978,7,2697],["optionsmethodhandler",40,7768,419,8151],["opts",40,13375,211,17073,1,16529,1,22457,1,21562,8,22214,7,23505,1,17702,1,24104,1,23175,1,17073,1,16529,3,17073,1,16529,1,22457,2,16529,198,8405,2,7470],["or",0,8189,5,8347,5,7930,7,7909,5,9310,5,7944,5,8640,8,10682,188,4443,1,4443,1,4443,1,4443,1,4443,1,4443,8,3805,1,3729,1,2974,9,4043,2,3190,3,3190,1,3066,11,3212,1,3126,4,3066,2,3911,2,3066,4,3869,1,2908,13,3469,6,3885,11,4744,11,2908,7,3190,4,4413,3,3126,7,5169,7,3766,13,3358,36,4413,17,3259,5,3766,14,4319,1,4061,6,3529,8,3105,15,3625,3,5082,3,3805,1,3283,3,3066],["order",17,7673,5,7802,18,5065,216,6377,105,6820],["org",40,15618,101,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,1,3195,6,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,26,3214,202,2550,5,2821,3,3173,1,2727],["origin",17,8180,23,14371],["original",40,9050,216,5981,34,8066,159,9691],["os",40,9988,330,6154,26,7972],["otel",17,11174],["other",40,11723,209,5450,111,5384,33,7033,55,6103,43,6367],["otherwise",40,10368,208,6084,34,5099,38,7545,1,7545,3,5014,32,5539],["out",40,4625,242,6772],["output",40,9552],["over",10,8209,30,6335,210,6057,124,6351,74,6698],["override",40,14420,321,7462],["overrides",17,8180,23,4227],["overwrite",40,4625],["overwrites",40,5908],["overwriting",40,6932],["own",22,8318,18,9476,260,5576,56,5206,5,5281,22,5930,7,5486,28,5281,59,4969,2,5576],["p",40,6932,309,8828,88,8477,1,7972],["package",0,9543,5,7252,12,6739,15,9741,8,15073,204,7937,322,19300],["packages",17,9283,23,4625,431,7259],["page",5,8802,35,7735,238,12009],["pair",40,4625,412,7111],["panic",17,7673,5,7802,18,5065,218,9154],["panicking",40,4625,393,9299],["panics",5,8257,12,9579,23,11531,334,3778,1,4356,1,4356,1,3922,2,4356,2,4356,1,4273,3,4356,1,4356,1,4356,1,4356,3,4356,8,4356,3,4636,2,4689,1,4689,1,4689,1,4086,2,4689,2,4689,1,4689,1,4689,1,4689,1,4689,1,4689,1,4689,4,4689],["param",10,11615,17,7718,13,11531,243,4374,13,6683,34,54670,4,6765,1,5174,210,6382,1,6303,1,6342,16,6637,1,6549,1,6153]],[]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c28.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c28.json new file mode 100644 index 00000000..1a318308 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c28.json @@ -0,0 +1 @@ +[[["parameter",0,7644,10,9130,17,9147,13,12593,101,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,1,1776,81,2535,4,1723,8,1703,1,1799,1,1977,1,1848,19,2816,1,2316,1,2681,1,1733,1,2575,1,2316,1,2539,1,2681,1,2370,17,1902,32,2681,1,2729,2,2764,31,2100,1,1945,70,2502,2,2502,1,2353,20,1787,19,2649,5,2569,1,2814,1,2643,1,2502,1,2643,1,3012,2,2605,1,2470,2,2643,1,2502,1,2643,1,2502,1,2643,1,2643,1,2569,1,2643,1,2569,1,2643,1,2569,1,2643,1,2569,1,2569,1,2502,1,2300,1,2769,1,2353,1,2300,1,2353,1,2353,1,2326,1,2275,1,2353,1,2300,1,2353,1,2300,1,2353,1,2353,1,2326,1,2353,1,2326,1,2353,1,2326,1,2353,1,2326,1,2326,1,2275,1,2380,1,2300,1,2275,1,2326,1,2275,1,2353,1,2353,1,2326,1,2353,1,2326,1,2353,1,2326,1,2353,1,2326,1,2326,1,1902,1,1874,1,1888,1,2681,1,2569,1,2535,1,2605,1,2470,1,2643,1,2643,1,2569,1,2643,1,2569,1,2643,1,2569,1,2643,1,2569,1,2569,1,1993,1,1961,1,1823],["parameters",0,6837,5,8595,5,14442,2,48862,10,9080,5,6563,5,6411,8,9333,210,4365,52,5496,34,6454,14,6454,18,5081,25,4258,62,6275,2,5813,1,5688,8,5680,7,5383,1,4644],["paramname",40,5908,233,25723,1,31923],["paramor",10,7700,17,7718,13,5943,291,55871],["params",40,11001,200,7189,10,6516,54,7872,40,5243,17,6834,92,7616,4,6660,9,6507],["parent",40,6932,361,7199,9,8228],["parse",40,4625,431,7943],["parsed",40,7768],["parseform",40,7768,197,7065],["parseglob",27,8229,13,4227,431,7943],["parseinlocation",40,9050],["parsemultipartform",40,7768,197,7065],["parser",40,4625,323,6977],["parses",40,12555,197,4141,13,6167,1,3947,1,4168,1,4580,1,4282,15,4312,1,4196,1,4821,1,4656,1,3992,1,4115,3,3969,1,4115,1,4580,2,4224,87,4821],["parsevalue",40,11507,35,56591,177,5183,17,34729,2,7627,1,7415,2,5117,4,5117],["parsevalueor",40,6932,36,58679,194,35181],["parsevalues",40,9552,37,56863,176,5883,1,5500,17,35657,8,5883,2,5426],["parsevaluesor",40,6932,38,58679,194,35968],["parsing",40,13523,98,5364,1,5364,1,5364,97,4075,13,4075,1,3884,1,5340,2,6221,15,4243,1,4129,3,3929,1,4050,3,3906,1,4050,3,4156,84,4436,108,5025,1,6351],["part",40,9552,119,5085,1,5085,1,5085,1,5085,1,5085,168,5324,119,6701],["partially",22,9101],["particularly",40,7768],["parts",0,8572,40,4227,243,6658],["party",0,8572,40,5400],["pass",40,4625],["passed",17,8180,23,4227],["passes",27,8229,13,4227,217,7304],["patch",10,7700,22,7541,8,8888,210,6057,136,52677,28,53141],["path",0,6639,5,6817,5,9251,7,7909,5,11329,5,10027,5,7806,8,10937,199,3451,19,3153,15,3068,1,2418,1,3651,8,3004,10,2971,9,3831,2,3064,6,2608,14,2293,6,3651,1,4015,1,51051,1,3763,11,2552,5,3547,1,3598,10,2374,1,2570,4,2649,1,3320,1,3598,1,3604,4,3741,2,3753,1,3713,1,3713,1,3411,1,3434,1,3713,1,2759,1,3713,1,3657,3,3713,1,3713,1,3713,1,3713,3,3713,2,3555,4,2628,1,3207,1,3713,3,3131,2,3166,1,3166,1,3166,1,2759,1,2783,1,3166,2,3166,1,3166,1,3166,1,3166,1,3166,1,3166,1,3166,1,2570,2,2570,1,3166,14,4139,2,3406,1,3203,14,3642,3,3498,2,3241,1,2434,1,2808,5,4216,1,4101,1,3166,11,2418],["pathparam",40,6932,39,58679,194,31948],["pathparamor",40,7768,40,58679,194,34472],["pathprefix",40,9050,357,7687,1,5591,21,7530,1,5829,34,7438],["paths",5,8802,35,11475,218,4185,5,5247,21,4902,19,4859,6,5041,1,4514,9,4902,58,4584,1,4620,19,5866,1,4267,9,4775,1,4816,12,4448,38,4211,12,4859],["pathvalue",40,8463,79,58040,316,52701,1,10698],["pathvalues",10,8209,30,11475,80,48923,198,8004,15,45468,17,8388,86,44627,1,42886,1,42490,19,6325,1,4749,8,6180],["pathvaluesbinder",40,6932,41,58679,194,44123],["pattern",10,10596,17,7718,5,7541],["payload",40,5908,284,6085,1,7730],["payoff",32,8796],["pdf",10,10240,17,12710],["pe",40,5908,400,9687,1,9158],["peer",40,5908],["peers",40,5908,209,6977],["per",10,8209,7,10212],["performance",0,39869,1,7981,1,7981,1,8102,1,8102,36,13167,328,6193,198,10400],["performed",40,6932,316,7355],["pf",40,4625,395,9889]],[["parameters and wildcards",12],["parsevalue",75],["parsevalueor",76],["parsevalues",77],["parsevaluesor",78],["pathparam",79],["pathparamor",80],["pathvalue",119],["pathvalues",120],["pathvalues.get",437],["pathvalues.getor",438],["pathvaluesbinder",81]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c29.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c29.json new file mode 100644 index 00000000..374878c4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c29.json @@ -0,0 +1 @@ +[[["pkg",40,11723,197,7502,207,6585,3,7408,1,6367],["place",22,8318,18,5400],["places",17,8950],["plain",27,8229,13,11347],["plan",32,8796],["please",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["pluggable",0,11569],["plus",10,10240,12,10341],["point",0,9379],["pointer",5,8257,22,7718,5,7541],["policy",40,15433],["pool",10,11297,6,56398,24,5400,331,8163,21,8163],["pooled",27,8229,13,4227,323,6977],["populate",40,6932],["populated",40,4625],["port",40,14552,428,7631],["portion",40,5908],["possibility",40,4625,393,9299],["post",5,8257,5,11615,30,8888,210,6057,137,52677,28,53141],["posts",40,6932,340,11504],["pprof",17,8950],["pre",0,7327,5,9212,5,7016,7,17912,23,7069,304,7819,45,55244,1,6316],["precedence",40,7768,210,5758,26,5583,6,5519,92,6037],["precis",565,7205],["precision",40,9050,506,6037,1,6081,17,6316,1,5872],["precisions",40,6932,98,7972,1,7972,1,7972],["predefined",22,11315],["prefer",10,8982],["prefers",40,5908],["prefix",10,12383,30,12294,218,6153,5,5917,47,6572,70,7733,17,5130,1,7142,12,7985,8,6490,2,6490,34,6401],["premiddlewares",17,8180,23,6335,350,56362],["present",40,7768,216,6977],["preserve",40,4625,316,7355],["preserved",40,5908],["pretty",40,6932,286,8066,33,8066,5,7115],["preventing",40,5908],["previous",40,5908,321,6820,130,7450],["print",40,9050,286,8066,33,8066,109,8436],["printf",40,9050,439,7199,2,6723],["priority",40,8463],["private",10,8209,30,9476,209,5981,40,8590,56,5873],["probing",40,5908],["problem",22,8318,18,13277,236,9389,163,11224],["problemdetailshttperrorhandler",22,8318,18,7735,42,58040,194,38479,166,7972],["problemerror",40,11723,81,51624,155,5159,163,44945,1,47296,1,45352,1,9497],["problemerrorer",40,8463,82,58040,154,5873,166,52256],["process",40,4625,394,10446],["processes",40,5908,261,7304],["processing",40,5908],["produce",40,11723,176,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,1,5276,137,5128,65,5883],["production",0,9379],["project",5,9631],["projects",32,8796],["prometheus",17,12334],["prompting",40,4625,263,8151],["property",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["propfind",40,12099,119,54531,1,8139,1,8139,1,8139,1,8139],["protected",10,8209,30,4227],["protection",17,8180,23,13152],["proto",40,14576,209,5981,8,6262,88,5873],["protobuf",40,12415],["protocol",40,14502,209,5981,8,6262,88,7676],["provide",40,4625,412,7111],["provided",40,12264,243,4039,1,4989,20,5396,2,6078,5,5999,1,6161,1,5232,18,4431,3,6247,1,4778,4,5848,16,5577,23,4702,19,4629,1,4342],["provides",40,8463,437,7021],["providing",40,4625,356,6658],["proxies",40,7768],["proxis",40,4625,408,7813],["proxy",40,11723,205,6364,1,6582,1,5719,1,5719,8,4938,1,5170,81,5066,7,4849],["public",10,9605,22,7541,8,9864],["put",5,8257,5,9605,30,9431,206,7264,1,6311,3,5519,138,51764,28,52187],["q",27,11224],["quality",17,8950],["query",0,7644,22,15823,5,10663,13,11818,119,5992,1,5992,1,45763,1,5992,1,5992,77,5378,10,6042,27,3586,1,3717,1,4137,1,5612,1,3815,15,4206,8,4710,30,5453,1,5350,1,5531,1,5697,23,3649,1,3951,30,46118,26,46405,60,3717],["queryparam",27,8229,13,8271,43,55040,194,29933,57,50365],["queryparamor",27,8229,13,9476,44,55040,194,32334,57,50227],["queryparams",27,8229,13,8271,45,55040,194,32731,57,50468],["queryparamsbinder",40,9050,46,57181,194,42449,199,6153,2,5746,7,6311],["queryparamsor",40,7768,47,58679,194,34662],["querystring",27,8229,13,6335,297,59120],["quickstart",0,10573,5,63699,1,9861,1,9682,1,9682,1,9682],["quota",40,5908],["r",40,13655,210,3442,11,37342,1,27763,3,29898,77,4288,9,5323,1,4202,1,4429,13,4696,1,5089,1,4007,1,5408,15,3662,11,4817,50,4881,1,4817,1,4429,1,3806,1,4429,1,4479,1,3902,2,5242,1,4639,2,5408,1,4584,4,5408,1,4948,1,4948,1,4948,1,4756,1,4479],["r429",10,8982],["races",40,4625,330,6733]],[["problemdetailshttperrorhandler",82],["problemerror",121],["problemerror.error",440],["problemerror.statuscode",441],["problemerrorer",122],["queryparam",83],["queryparamor",84],["queryparams",85],["queryparamsbinder",86],["queryparamsor",87],["quickstart",5]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c3.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c3.json new file mode 100644 index 00000000..85ff3c8a --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c3.json @@ -0,0 +1 @@ +[[["api_changes_v5",32,12936],["apierror",40,8463,204,7111],["apis",40,5908,236,6262,163,6676],["application",5,7523,12,6991,10,7033,5,6871,8,12070,101,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,118,3833,25,4087],["applies",40,8463,330,6733],["appropriate",40,7768,261,6262,130,7394,36,7115],["are",5,8257,27,7541,8,12571,207,4121,1,4121,1,4643,7,5315,6,3806,7,3752,1,3651,1,4195,1,4051,4,3494,7,3396,15,3834,2,4018,45,3494,39,3834,6,5085,6,3396,14,3515,12,3515,29,4086,7,3604,12,5299,75,3834,1,3778,17,4018,1,3953,1,3675],["arg",17,8950],["arguments",40,5908,222,6820,122,6870],["around",17,8180,10,8229],["as",10,7700,17,7718,5,2929,8,13124,124,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,1,2172,33,2213,6,3275,1,2096,2,2432,1,2274,2,2172,2,2185,4,2323,1,3434,8,2560,1,2472,1,2120,4,2108,2,2432,2,2243,2,2073,1,2560,19,3234,6,2632,1,3043,4,3205,5,3257,17,3251,2,2228,25,2172,14,2394,1,2413,6,2340,12,2073,1,3063,1,2899,9,2493,1,2515,2,2145,10,3005,2,2145,17,2274,11,2861,20,3622,21,2537],["ascii",40,4625,284,6658],["assets",10,12383,30,10714,218,7150,52,7637,87,9353,1,7274,22,7542],["assetsadmin",10,8209,30,4227,357,7631],["assigns",40,5908,256,7943],["assume",40,5908],["assumes",40,5908],["at",0,9918,10,10596,30,5065,330,6733],["attached",10,8982],["attachment",27,10258,13,7099,263,58029],["audit",40,5908],["auth",17,8950],["authenticate",40,14390],["authentication",17,10212,23,4227],["authorization",40,14390],["autohandlehead",40,9050],["automatic",40,7768],["automatically",40,7768],["avoid",40,10368,244,5821,19,5769,6,5986,10,5821,58,5443,1,5486,29,5670,1,5719],["avoids",40,4625,323,6977],["aware",40,4625,316,7355],["b",27,11959,13,13866,265,2826,12,2930,6,2930,2,2570,33,2930,3,2268,89,2794,28,2930,1,3071,1,2967,1,2898,1,3087,1,2703,1,3174,1,3005,1,3174,1,2967,1,3135,1,3130,1,2967,1,2477,1,3174,1,3005,1,3174,1,3005,1,3174,1,3174,1,3087,1,3174,1,3087,1,3174,1,3087,1,3174,1,3087,1,3087,1,3005,1,2763,1,2648,1,2826,1,2763,1,2826,1,2826,1,2794,1,2732,1,2826,1,2763,1,2826,1,2763,1,2826,1,2826,1,2794,1,2826,1,2794,1,2826,1,2794,1,2826,1,2794,1,2794,1,2732,1,2859,1,2763,1,2732,1,2794,1,2732,1,2826,1,2826,1,2794,1,2826,1,2794,1,2826,1,2794,1,2826,1,2794,1,2794,1,2284,1,2251,2,3221,1,3087,1,3045,1,3130,1,2967,1,3174,1,3174,1,3087,1,3174,1,3087,1,3174,1,3087,1,3174,1,3087,1,3087,1,2394,1,2355],["back",40,8463,216,6377,136,8703],["background",40,5908,316,6723,40,6085],["bad",40,5908,194,7882,90,6085],["balancer",40,4625],["balancers",40,7768],["banner",40,5908,428,7631],["base64",40,9552,448,12373],["based",40,9050,242,6189,22,8130],["bash",5,9631],["basic",10,10240,1,58064,6,8180],["basicauth",17,8950],["basicauthwithconfig",17,8950],["be",10,6763,7,6739,5,6853,5,6780,5,6623,8,11166,101,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,2862,1,3711,1,3711,1,3711,1,3711,1,3711,65,3238,1,3238,1,3238,1,3238,1,3238,1,3238,10,2777,18,3748,1,3042,20,2761,17,4525,1,3211,24,2714,7,2978,9,3481,2,3588,13,3748,29,3064,12,2714,5,4119,41,3791,2,3294,5,3706,3,2899,6,2880,15,3552,1,3064],["because",27,7718,5,7541,8,5065,218,7021],["become",40,5908],["been",40,11001,221,7492,21,7220,83,6267,5,5487],["before",0,9037,5,7523,12,9635,5,8839,18,10002,217,4696,26,4280,61,4762,19,4485,26,5544,1,4983,10,5658,22,4431,24,54780,37,5718,8,5240,17,5600],["beforeservefunc",40,7768],["behavior",32,8039,8,9476,211,5070,6,5500,16,5129,4,5099,133,5190,12,5190],["behaviour",40,4625,451,8151],["behind",10,8209,30,8731],["being",40,8463,260,7877],["below",32,8039,8,5400,258,6870,99,6974],["berr",40,10368,439,10397,2,9908],["between",40,14420,418,7065],["bi",488,8080],["biggest",32,8796],["bin",40,5908,291,9479]],[["basic routing",11]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c30.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c30.json new file mode 100644 index 00000000..a4bee39c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c30.json @@ -0,0 +1 @@ +[[["radix",0,18230,10,7320,22,7168,8,4815],["random",40,5908],["range",40,5908,441,7355],["ranges",40,4625,246,10156],["rate",40,7768],["rather",40,6932,260,7199,63,6377],["raw",27,8229,13,7099,210,7065],["rawpath",40,9050],["re",32,8039,8,4227,378,7462],["reach",17,8180,15,8039],["read",0,8041,27,7718,13,7758,323,10420],["readable",40,7768,399,7304],["reader",27,8229,13,4227,313,9090],["reading",10,9283,17,11224,2,52086],["reads",10,7700,12,7802,18,5065,210,6457,113,6377],["readwriter",40,4625,408,7813],["real",40,14576,204,5795,2,7578,10,5686,82,7589],["realip",27,8229,13,7099,298,53550],["really",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["reason",40,4625,418,7065],["received",40,4625],["recipients",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["recover",5,11026,12,21405,2,63980,21,3965],["recovered",17,8950],["recoverwithconfig",17,8950],["recovery",17,11174],["recreates",40,4625,414,9522],["redirect",10,7700,17,7718,13,9431,188,5790,1,5790,1,5790,1,5790,1,5790,1,5790,106,54993],["redirected",40,4625,357,7631],["redirects",40,4625,299,9640],["reduce",40,6932],["reference",0,11436,3,55616,29,7541,8,12454,323,5981,76,6262],["referrer",40,14390],["register",5,8257,12,7673,23,8562],["registered",10,8752,7,8728,5,7110,5,7033,13,11140,188,5533,1,5533,1,5533,1,5533,1,5533,1,5533,69,4838,30,5764,8,4644,9,5601,6,5000,1,4000,9,4182,2,5681,1,4473,1,6037,5,4029,9,4556,7,4215,28,4058,37,5523,3,3842],["registering",40,5908,334,6770,78,6499],["registers",5,10109,5,11204,30,11651,326,4917,6,4399,1,5111,1,3778,1,4356,1,4356,1,3922,1,3953,1,4356,1,5225,1,4356,1,4273,3,4356,1,4356,1,4356,1,4356,3,4356,2,3515,4,3892,1,3651,1,4356,4,5180,7,3515,8,3806,4,3515,23,5111,1,5044],["registration",17,8180,23,11347,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["registry",40,4625,325,7690],["related",40,4625,278,9762],["relationship",40,14390],["relative",40,10703,244,5821,19,5769,6,5986,10,5821,58,5443,1,5486,29,5670,1,5719],["release",0,9918,32,10465,8,5065,291,9479],["releasecontext",10,7700,17,7718,13,7758,302,7173,26,6702,3,7760,21,55924],["released",32,8796],["releases",32,11028],["relevant",40,4625,408,7813],["reliable",10,8982],["rely",40,4625],["relying",40,6932],["remember",22,9101],["remote",40,4625,216,6977],["remoteaddr",40,8463,209,6377,7,6377],["remove",40,9988,325,7028,2,57797],["removed",32,8039,8,4227,221,9193],["removes",40,6932,217,7304],["removetrailingslash",17,8950],["renamed",32,11028],["render",27,11959,13,10054,300,51641,103,9940,29,52340],["renderer",27,11959,13,11900,83,55952,105,5339,1,5339,1,5339,1,5339,1,5339,1,5339,107,7246,103,50195,28,6839],["renderers",40,4625,431,7943],["rendering",40,5908],["renders",40,5908,300,7805,132,8599],["replace",22,9700,10,10465,8,5065],["replaced",40,5908],["replaces",17,8180,23,4227],["replacing",40,5908,417,8599,9,8402],["reply",40,4625,410,9193],["report",27,11959,13,13490,119,8139,1,54531,1,8139,1,8139,1,8139],["reports",40,4625,305,6851],["repositories",17,8950],["repository",32,8796],["represents",40,7768,258,6126,4,7249,121,7028,16,5953],["req",40,11001,216,5981,6,6397,122,6444],["request",0,10285,5,8595,5,8166,7,10457,5,9929,1,38463,4,14418,2,38463,11,11541,119,3566,1,3566,1,3566,1,3566,1,3566,51,3036,20,3379,3,4122,12,3566,1,3606,1,2638,1,2786,4,2733,1,2862,5,26718,5,4255,10,2653,1,2750,20,2945,4,4357,2,3485,2,3925,1,4092,11,3824,6,2608,7,4225,7,2804,1,3777,2,43447,1,4322,2,2902,6,4092,1,5037,5,3736,5,2923,2,4082,2,3013,9,2902,10,3806,9,2700,2,3874,5,3448,23,3379,8,4255,4,3874,23,2768,1,4559,8,4129,6,3413,1,2945,3,3586],["requested",40,15155],["requestlogger",5,9610,12,20806,1,52442,14,8987,8,3769],["requestloggerconfig",17,10212,15,8039],["requestloggervalues",17,8950],["requestloggerwithconfig",17,11273,15,8039]],[["reading the request",29],["recover",19],["renderer",123],["requestlogger (v5 logging)",18]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c31.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c31.json new file mode 100644 index 00000000..bac272d4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c31.json @@ -0,0 +1 @@ +[[["requests",5,7849,5,9130,7,7294,23,10764,174,5210,35,4690,1,6188,17,5798,78,4605,50,6647,1,4476,34,6827,22,4780,16,6615],["require",40,10368,244,5667,19,5617,6,5828,10,5667,33,5943,25,5299,1,5341,29,5520,1,5568],["required",22,11315],["requires",0,7644,5,7849,27,7168,8,11622,467,4006,1,3840,1,4098,1,4006,1,4098,1,4098,1,4052,1,3963,1,4098,1,4006,1,4098,1,4006,1,4098,1,4098,1,4052,1,4098,1,4052,1,4098,1,4052,1,4098,1,4052,1,4052,1,3963,1,4147,1,4006,1,3963,1,4052,1,3963,1,4098,1,4098,1,4052,1,4098,1,4052,1,4098,1,4052,1,4098,1,4052,1,4052,1,3313,1,3265,1,3289],["reset",40,9552,222,6081,80,55384,26,8528,16,6126],["resets",40,6932,302,7546,136,8264,2,8369],["resolution",40,4625,216,6977],["resolve",40,6932,243,6085,55,6542],["resolveresponsestatus",40,6932,48,58679,194,31092],["resource",17,8180,23,13888,119,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776],["resources",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["resp",40,9552,222,6820,20,27247,102,6870],["respectively",40,4625],["response",0,7063,5,7252,12,9288,5,9380,5,14374,13,11166,84,38218,119,3855,19,3229,3,23629,11,3875,6,21568,8,25067,10,3409,2,3850,1,3528,2,4025,4,3660,7,4280,1,4172,2,3559,3,4280,1,4172,1,4346,1,3660,4,4280,11,3696,3,35209,4,4457,5,3733,1,3934,1,4337,3,4280,1,4172,6,3592,20,3253,39,3733,2,4521,4,4121,12,4337,3,34229,1,34470,1,34422,1,33156,1,32603,1,33156,1,33201,1,33655],["responsecontroller",40,4625,409,9090],["responses",0,10768,5,10047,17,7110,5,48401,1,4348,1,4490,1,47738,1,4645,9,11630,124,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,90,2907],["responsewriter",27,8229,13,11900,222,27952,3,30517,17,22205,8,34473,52,5917,1,7462,9,8610,32,5053,11,6647,49,7778,5,8368],["responsible",40,6932],["restrict",40,7768,243,6658],["result",40,8463,231,7517,1,7259],["results",40,5908],["retain",40,4625,323,6977],["retrieves",40,6932,201,7469,1,7321,73,7626],["retry",40,14390],["return",5,8595,5,9009,7,9862,5,10175,5,6563,5,8038,8,9998,194,5232,9,4132,1,4314,38,4108,8,5708,45,4778,17,5232,16,4989,3,5776,22,4181,40,5641,46,4778,2,4462,7,7019,3,4945],["returned",40,13117,172,6572,1,6572,22,5582,1,5796,7,3992,8,3947,16,5055,3,4196,2,4656,1,3992,3,4016,1,3969,16,5055,8,4282,23,3903,59,4911,7,4543],["returning",17,7673,5,7802,18,12409,124,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,1,2868,32,2800]],[["resolveresponsestatus",88],["response",124],["response.after",445],["response.before",446],["response.flush",447],["response.hijack",448],["response.unwrap",449],["response.write",450],["response.writeheader",451]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c32.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c32.json new file mode 100644 index 00000000..534fd238 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c32.json @@ -0,0 +1 @@ +[[["returns",0,6639,5,8347,5,10020,7,8730,5,9310,5,8761,5,6226,8,10950,201,2470,1,3057,5,2925,1,2291,1,1978,2,3132,1,3431,1,2846,1,3306,1,3006,1,2581,1,2071,5,2116,1,2496,3,3006,7,3157,1,3405,3,3144,1,3405,1,2846,2,3456,1,1920,3,3288,14,3148,7,2841,1,2962,1,3148,3,2804,1,2880,1,2446,1,2920,1,2522,5,2841,1,2841,6,3148,1,3051,2,3006,1,2071,1,3006,1,3098,1,2920,1,2234,1,2962,1,3051,1,2030,3,3199,2,3148,1,2721,1,1943,24,3148,2,2700,12,2376,1,2131,6,2198,2,2700,2,3148,2,1888,29,2962,2,2841,10,2804,1,2637,3,2841,8,2578,29,2734,2,2768,27,2578,2,2637,1,2578,1,2637,1,2637,1,2607,1,2550,1,2637,1,2578,1,2637,1,2578,1,2637,1,2637,1,2607,1,2637,1,2607,1,2637,1,2607,1,2637,1,2607,1,2607,1,2550,1,2668,1,2578,1,2550,1,2607,1,2550,1,2637,1,2637,1,2607,1,2637,1,2607,1,2637,1,2607,1,2637,1,2607,1,2607,1,2131,1,2101,1,2116],["reuse",40,4625,323,6977],["reuses",10,8982],["reverse",40,9050,417,52998,9,52819],["reverses",40,5908,417,8599,9,8402],["rewrite",17,8950],["rewrites",17,8950],["rfc",22,8318,18,14190,101,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3606,1,3135,1,3135,1,3135,1,3135,1,3135,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,1,2403,65,2360,163,3715],["rfc3339",40,4625,320,6892],["rfc3339nano",40,5908,434,7517],["rfc7231",40,14390,124,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892,1,2892],["rfc8259",40,13932,101,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280,1,5280],["rfc9457",40,12684,399,7304],["ri",40,4625,278,9762],["rolled",32,8796],["root",32,7541,8,7255,357,7631,169,10400],["rootdirectory",40,7768,218,5721,52,6172,88,5833,22,6081],["rout",393,6892],["routable",40,8463,363,10156],["route",5,7523,5,16375,17,8767,5,6871,8,12107,85,45627,34,2651,1,2651,1,2651,1,2651,1,2651,49,4261,1,4261,70,2530,10,3278,25,3710,13,4430,13,4703,22,4891,1,3970,1,40215,2,2559,2,4128,1,4994,1,4878,1,4096,1,4096,1,3764,1,2946,1,4096,1,3044,1,4096,1,4035,1,3184,2,4096,1,4096,1,4096,1,4096,1,3278,1,2946,1,4096,2,3421,4,2900,1,2720,1,4096,1,4193,1,2994,2,4652,7,2619,8,3669,4,3421,30,40594,1,41076,1,41096,1,3860,2,3576,1,2685,1,4422,3,3860,1,3860,1,3860,1,3710,1,3494],["routeany",40,11267,123,46392,211,7408],["routefunc",40,7768,441,6723,7,7385],["routeinfo",0,7327,10,8752,17,7033,5,6871,8,11607,86,46055,86,4687,1,4687,105,4080,26,41154,22,4029,6,3605,1,4188,1,3096,1,3569,1,3569,1,3214,1,3240,1,3569,2,3569,4,3569,1,3569,1,3569,1,3569,3,3569,6,3189,1,2992,1,3569,3,3800,1,4245,1,3842,1,3842,1,3842,1,3348,1,3377,1,3842,2,3842,2,3842,1,3842,1,3842,1,3842,1,3842,2,4029,1,3119,1,3842,32,5320,2,41355,1,42021,1,40171,1,2953,2,5216,5,4080],["routename",40,4625,426,9193],["routenotfound",10,8209,30,11593,119,5085,1,5085,1,5085,1,44856,1,5085,230,47294,25,46808],["router",0,13458,10,15973,5,33948,17,14850,3,33948,5,12282,87,45015,85,5133,1,5133,1,4564,47,42932,5,4852,17,3048,10,3948,51,4393,28,3948,1,4587,1,3391,1,3909,1,3909,3,3909,1,3667,1,3909,1,3835,3,3909,1,3909,1,3909,1,3909,1,3948,1,3548,1,3909,3,41485,5,3909,1,4030,3,4650,49,4238,6,39750,1,3732],["routerconfig",10,7700,22,7541,8,9176,88,55040,138,39670,193,48677]],[["route",125],["route.torouteinfo",453],["route.withprefix",454],["routeinfo",126],["routeinfo.clone",456],["routeinfo.reverse",457],["router",127],["routerconfig",128]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c33.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c33.json new file mode 100644 index 00000000..51ae152f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c33.json @@ -0,0 +1 @@ +[[["routes",0,9037,5,11608,5,10209,22,6871,8,11788,89,41307,30,2993,1,2993,1,2993,1,2993,1,2993,98,3944,6,3700,26,3700,7,3379,65,4249,4,38107,1,2888,12,3594,19,4334,1,3900,2,3944,1,3944,1,3944,1,3436,1,3466,1,3944,1,2957,1,3944,1,4890,1,3944,1,3944,1,3944,1,3944,1,3944,1,4142,1,4135,1,3201,1,3944,1,4428,36,3949,2,37321,1,37902,1,37219,1,37219,1,37219,1,36155,1,35911],["routine",32,8796],["routing",0,10941,5,10713,5,46014,1,49014,1,7906,1,8043,1,7906,1,7649,1,8043,1,8414,15,9192,3,40513,5,4449,304,5105,114,4869],["ru",418,7462],["rule",40,4625,330,6733],["rules",40,5908,218,6416,24,6189],["run",5,18441,12,7294,15,7168,8,8449,204,5555,145,6737,1,6054,10,6876],["runs",0,7327,10,8752,7,8728,5,8839,18,4615,382,6892],["rw",40,7768,242,31092,8,39687],["s",0,7327,10,9655,7,6991,15,8614,8,11607,216,4690,68,4476,30,6736,2,4945,54,4633,58,6615,1,6562,10,5295,2,4945,84,4844],["safe",40,11920,119,4690,1,4690,1,4690,1,4690,1,4690,94,4910,4,6180,102,4690,2,5169,5,4526],["safely",27,8229,13,4227,221,9193],["safety",40,4625,330,6733],["same",10,7320,7,9106,15,7168,8,9860,231,5995,1,5790,72,5400,26,6424,4,5400,44,5439,41,5941],["satisfy",40,4625,316,7355],["save",40,4625,263,8151],["saves",40,4625,306,10298],["sc",40,7768,356,5708,73,8369,1,6988],["scalar",40,5908,231,7517,1,7259],["scheme",27,8229,13,13958,209,7418,8,7725,88,56038,122,8590],["schemeextractor",27,8229,13,11900,90,49835,118,40399,1,33121,8,39769,88,5159,122,45692],["scoped",27,9003],["script",40,4625,284,6658],["search",40,7768,295,9235,142,6416],["searched",40,7768,422,8277,1,8277,1,8277,1,7956],["searches",40,5908],["sec",40,15155],["seconds",40,8463,98,7578,1,7578,1,7578,220,5617],["section",40,15039,101,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,1,3307,6,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521],["secure",40,5908],["security",32,10079,8,14258],["see",0,11017,5,10546,12,6991,15,6871,8,12188,101,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2159,1,2799,1,2799,1,2799,1,2799,1,2799,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,1,2146,23,2652,3,2831,15,2187,1,2403,1,2246,17,2529,1,2443,2,2159,4,2159,1,2403,2,2216,57,2201,4,2707,3,2107,86,2652,13,2485,3,2796,1,2403,1,2796,9,2173],["seen",40,4625,438,9640],["segments",40,4625],["selects",40,5908],["semantics",40,5908],["send",5,8257,17,7802,18,3965,411,8010],["sending",40,4625,356,6658],["sends",17,8180,23,11702,203,3756,33,3778,27,4495,2,5128,4,4664,7,5454,1,5317,2,4536,3,5454,1,5317,1,3672,1,4664,1,5189,3,5454,11,4710,13,5013,1,5526,3,5454,1,5317,1,5189,92,4418],["sent",22,8318,18,7735,203,5839,39,5805,25,8955],["separate",17,7673,15,7541,8,5943,361,6753,82,7626,25,7469],["separated",40,5908,216,6377,68,6085],["separately",40,8463,203,6811],["separator",40,4625,243,6658],["serialization",40,4625,258,7517],["serialize",40,8463,324,56025,68,8308],["serialized",40,4625,260,7877],["serve",40,11920,243,4713,1,5821,93,5443,1,5486,19,5401,1,5066,32,7189,38,6965],["served",40,10368,227,7882,16,6085],["servehttp",10,8209,30,9476,222,5619,80,6628,41,6308,1,5660,6,5836,5,55440]],[["routes",129],["routes.clone",461],["routes.filterbymethod",462],["routes.filterbyname",463],["routes.filterbypath",464],["routes.findbymethodpath",465],["routes.reverse",466],["routing and context",10],["routing: a router interface",35],["schemeextractor",130]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c34.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c34.json new file mode 100644 index 00000000..5602e6ce --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c34.json @@ -0,0 +1 @@ +[[["server",0,8041,5,17975,35,12893,205,6044,3,5431,13,6180,104,5169,5,5924,26,5864,72,7481,1,6562,1,5479],["servers",10,8982],["serves",10,10240,30,6335,270,6492,85,8477,2,6542],["serving",40,9988,243,5708,87,5772,26,5708],["session",27,9003],["sessions",17,8950],["set",22,9700,5,10611,13,13271,124,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,1,2557,3,2840,55,2695,1,2623,12,2481,1,2440,18,3473,37,2623,7,2511,1,50921,1,3774,54,2887,17,2734,4,2526,9,3160,36,3862,24,2987],["setcookie",40,6932,307,58750],["setlogger",17,8180,23,6335,308,59250],["setpath",40,6932,309,58750],["setpathvalues",40,6932,310,58871],["setrequest",40,6932,311,59250],["setresponse",40,6932,312,57254],["sets",40,9552,217,5324,61,7116,30,7964,1,7506,1,7614,1,7964,1,6286],["setting",40,5908],["sg",40,4625],["sgvsbg8gv29ybgq",40,4625],["share",10,8209,30,6335,361,7877],["sharing",17,8950],["sharp",0,9379],["shipping",0,9379],["short",40,5908,399,7304],["should",40,13209,101,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,1,3818,124,3683,70,4690,49,4284,57,3842],["shut",40,5908],["shutdown",5,8802,35,7735,356,6658],["shuts",5,9631],["shutting",40,5908],["sibling",40,4625,357,7631],["side",40,5908],["signal",22,8318,18,5400,356,8723],["signature",32,8796],["signatures",32,8796],["sigterm",40,4625,356,6658],["silently",22,9101],["simple",5,8802,35,4227,356,6658],["since",10,7016,7,6991,5,8839,5,7033,13,11241],["single",32,8039,8,9782,211,4908,1,5183,25,4936,1,5117,83,5439,13,5400,103,5117],["sit",10,8982],["site",0,8041,32,7541,8,12992],["sites",32,8796],["situations",40,7768,412,7111],["size",17,8180,23,5400,404,8080],["skipping",22,9101],["skips",22,9101],["slash",10,7700,7,7673,23,9431,244,5403,19,5354,6,5556,10,5403,58,5052,1,5091,2,5262,17,5013,10,5262,1,5308,2,4527],["slashes",40,5908],["slice",40,14420,213,4383,1,3190,17,4570,1,4443,7,4383,2,3147,82,3047,20,3659,7,3385,68,3085,27,4319,5,4263,3,4319,2,4319,3,4435,2,4435,2,4435,2,4435,1,4435,5,3970,4,3927,2,3970,2,3970,3,4015,2,4015,2,4015,2,4015,1,4015,3,3970,3,3927,3,4015,2,4015,2,4015,2,4015,1,4015,5,4435,3,4263,3,4435,2,4435,2,4435,2,4435,1,4435],["slices",40,4625,320,6892],["slog",5,10482,12,18036,15,17400,2,35392,6,9377,225,33974,36,6909,26,8091,21,7964],["smaller",40,4625,418,7065],["so",5,7523,5,8752,7,6991,15,6871,8,8801,119,4808,1,4808,1,4808,1,4808,1,4808,137,5428,63,4808,79,6408,16,4869],["socket",40,6932,209,6377,96,6262],["sockets",40,5908],["some",40,8463,312,8624],["sonic",40,5908],["source",0,9918,22,7802,18,3965,321,7462],["sourceparam",40,15091,220,33694,217,2975,5,3301,1,2891,1,3395,1,3214,1,3395,1,3173,2,3347,1,3173,2,3395,1,3214,1,3395,1,3214,1,3395,1,3395,1,3301,1,3395,1,3301,1,3395,1,3301,1,3395,1,3301,1,3301,1,3214,1,2954,1,2831,1,3022,1,2954,1,3022,1,3022,1,2988,1,2922,1,3022,1,2954,1,3022,1,2954,1,3022,1,3022,1,2988,1,3022,1,2988,1,3022,1,2988,1,3022,1,2988,1,2988,1,2922,1,3058,1,2954,1,2922,1,2988,1,2922,1,3022,1,3022,1,2988,1,3022,1,2988,1,3022,1,2988,1,3022,1,2988,1,2988,1,2443,1,2407,2,3445,1,3301,1,3256,1,3347,1,3173,1,3395,1,3395,1,3301,1,3395,1,3301,1,3395,1,3301,1,3395,1,3301,1,3301,1,2560,1,2519],["sourcey",0,11709,5,11290,12,6991,15,6871,534,9476],["spdx",40,5908,204,9258],["special",40,11723,119,4938,1,4938,1,4938,1,4938,1,4938,230,4878,80,6166,1,5320],["specific",40,9552,334,7408],["specified",40,4625,361,7877],["specifies",40,8463,428,6542,5,7469,1,6444],["specify",40,4625,320,6892],["split",5,8802,12,8707,23,5400,443,7626,25,7469],["splithostport",40,4625],["splits",17,8950],["spoofable",40,4625],["spoofing",40,6932,217,7304],["ssl",40,14475,209,5981,8,6262,88,5873],["st",274,7021],["stages",40,4625,174,7751],["stale",22,9101]],[]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c35.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c35.json new file mode 100644 index 00000000..e39b4c94 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c35.json @@ -0,0 +1 @@ +[[["standard",0,10328,17,7294,15,7168,8,10610,119,3848,1,3848,1,3848,1,3848,1,3848,74,3896,13,3896,1,3713,22,3756,4,3735,7,4536,19,4495,6,4664,10,4536,41,3801,17,4241,1,4275,29,4418,1,4456,65,4805,1,4145],["stars",40,4625,356,6658],["start",0,9428,2,43793,3,18518,27,7168,8,10337,242,5099,114,44785,72,9016,1,48736],["startconf",396,6658],["startconfig",40,9050,91,52323,337,45826,1,45763,1,44450],["started",40,9988,221,7881,104,6592,5,7555],["starting",40,7768,428,9840],["starts",5,8802,35,7099,429,8922,1,7450],["starttls",40,8463,430,56781],["state",27,8229,13,7099],["static",0,9428,10,11703,4,48133,18,7168,8,10764,330,4908,7,5605,16,5024,4,47883,1,5217,21,49151],["staticdirectoryhandler",40,6932,49,58679,194,35175],["staticfilehandler",40,6932,50,58679,194,38653],["staticfs",10,8209,30,10054,358,50911,22,52411],["stats",10,11204],["status",17,10212,23,13997,124,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,1,2108,3,2342,2,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2580,1,2400,1,2400,1,2400,1,2400,1,2400,1,2400,10,2058,39,30323,3,2842,20,2809,11,2987,1,2912,5,2987,1,2912,1,2012,1,2555,1,2842,3,2987,10,2912,1,2580,13,2746,1,3027,3,2987,1,2912,1,2842,64,2606,2,3156,4,2877,10,3258,2,3027,3,2441,2,2987,5,2420],["statusbadgateway",40,11267],["statusbadrequest",22,11385,18,10517,176,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,17,4479],["statuscode",40,11507,51,51941,194,38131,140,47554,4,7438,12,47280],["statuscreated",22,9101],["statusforbidden",40,11267,176,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["statusinternalservererror",22,8318,18,10298],["statusm",216,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["statusmethodnotallowed",40,11267],["statusnocontent",27,9003],["statusnotacceptable",17,8950],["statusnotfound",40,11723,176,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,1,5379,166,4341],["statusok",5,7849,5,10073,17,12044,13,6897,411,8010],["statusrequestentitytoolarge",40,11267],["statusrequesttimeout",40,11267],["statusseeother",27,9003],["statusserviceunavailable",40,11267],["statustext",40,4625],["statustoomanyrequests",40,11267],["statusunauthorized",40,11267,176,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490,1,5490],["statusunsupportedmediatype",40,11267],["stdcontext",40,5908,429,8922,1,7450],["stdout",40,5908,261,7304],["step",22,10341,18,5400,321,9655],["steps",5,11792,4,58273],["still",40,6932,316,6723,45,7199],["stops",40,4625],["store",27,8229,13,5400,201,7962,1,7805],["strategy",40,9050,298,7158],["stream",27,10258,13,11702,313,57697],["streaming",40,5908,313,8308,10,6377],["strict",40,14390]],[["startconfig",131],["startconfig.start",469],["startconfig.starttls",470],["static files",14],["staticdirectoryhandler",89],["staticfilehandler",90],["statuscode",91]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c36.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c36.json new file mode 100644 index 00000000..524bd698 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c36.json @@ -0,0 +1 @@ +[[["string",5,8880,5,9842,12,10853,5,10472,5,9741,8,11867,188,1347,1,1347,1,1347,1,1347,1,1347,1,1347,8,16732,1,16161,2,1206,6,1198,1,15855,1,14244,1,16038,1,16073,1,20787,3,18733,2,26524,3,20143,1,18385,3,19005,2,17506,1,16469,1,17283,1,16602,1,15868,1,14244,3,15861,1,14244,1,16038,2,15466,3,18034,9,1842,1,1946,2,1347,2,1648,1,1883,4,1383,2,1577,1,1700,3,1435,1,1285,1,1677,1,2076,1,2046,2,1509,1,1677,3,1395,6,1435,1,1596,4,2138,1,1608,1,1798,2,2096,1,1930,2,2159,2,1635,1,1449,5,1162,1,1747,3,1747,4,1542,1,26582,5,1596,5,1408,3,2117,5,1463,2,1257,1,1449,1,1449,1,1304,1,1315,1,1449,1,1359,1,1449,1,1801,3,1449,1,1449,1,1449,1,1449,3,1449,2,1169,4,1294,1,1214,1,1449,3,1542,2,1559,1,1559,1,1559,1,1359,1,1371,1,1559,2,1559,1,1934,1,1559,1,1559,1,1559,1,1559,1,1559,2,1635,1,1266,1,1559,2,1463,1,1772,7,1463,1,1542,3,2038,2,2038,1,2139,1,1608,1,1798,3,1596,9,1793,1,1825,1,1615,1,2343,2,1967,5,1723,1,1723,1,1723,1,2020,1,2125,1,1408,1,1294,2,1383,1,1347,1,1596,1,1857,1,1275,3,1927,5,1723,1,1887,1,1772,1,1677,1,1772,1,2020,1,1371,1,1747,1,1656,2,1772,1,1677,1,1772,1,1677,1,1772,1,1772,1,1723,1,1772,1,1723,1,1772,1,1723,1,1772,1,1723,1,1723,1,1677,1,1542,1,1857,1,1577,1,1542,1,1577,1,1950,1,1559,1,1525,1,1577,1,1542,1,1577,1,1542,1,1577,1,1577,1,1559,1,1577,1,1559,1,1577,1,1559,1,1577,1,1559,1,1559,1,1525,1,2154,1,2111,1,1525,1,1934,1,1902,1,1577,1,1577,1,1559,1,1577,1,1559,1,1577,1,1559,1,1577,1,1559,1,1559,1,1275,1,1257,2,26695,1,2245,1,1700,1,2096,1,2020,1,1772,1,1772,1,1723,1,1772,1,1723,1,1772,1,1723,1,1772,1,1723,1,1723,1,1336,1,1315],["strings",40,9050,211,5487,22,5551,4,5519,272,56368],["strip",22,8318,18,4227],["stripped",40,5908,216,9103],["struct",0,11552,5,7252,17,9904,5,15540,1,36242,4,14913,1,40698,7,10129,253,4399,5,4955,3,3725,1,4537,42,3778,18,5662,3,3922,5,3434,31,4018,22,4399,12,5044,4,3725,5,4121,8,3627,3,5180,4,4157,9,3892,3,4051,3,3834,3,3581,2,4018,2,3752],["structs",22,9640,18,5908],["structure",40,5908],["structured",17,8180,23,6335,260,7199,1,6676],["sub",40,13451,218,4847,52,4010,88,3790,3,4171,1,4813,2,4868,1,4868,1,4868,1,4241,1,4278,1,4868,1,5465,1,4868,1,4868,1,4868,1,4868,1,4868,1,4868,1,4868,1,3951,1,5104,1,5112,1,4868,1,3649],["succeed",40,5908],["such",27,8229,13,10517,298,6542,59,8993],["suggested",40,5908],["suitable",40,5908,443,8130,25,7962],["summary",40,6932,399,7304],["support",0,8041,5,8257,27,18053,6,56878],["supported",40,14760,124,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,1,2651,41,2702,1,2969,1,2776,15,2795,1,2720,1,3977,1,3866,2,2668,4,2668,1,2969,2,2738],["supports",10,7700,7,7673,23,7255,353,6892],["suppressed",40,5908],["sure",40,7768],["surrounding",40,5908,216,9103],["swapped",10,8209,22,8039],["syscall",40,4625,356,6658],["system",40,9552,243,5014,1,6193,26,5702,60,5070,8,5836,20,5390],["t",27,10258,13,13124,201,29864,1,33100,9,25906,1,29025,1,27811,1,30391,15,29322,1,30793,1,29857,1,33263,1,25951,1,28973,3,25928,1,28973,1,27811,2,29080,15,4582,176,5427],["tab",0,9379],["tag",40,6932,284,6085,36,8228],["tags",40,7768,214,9858,44,6870],["take",0,7644,27,7337,5,10542,4,47381,4,6330,197,5758,13,7502,198,6367],["takes",5,9610,5,7320,7,9106,23,3769,334,7408],["target",40,14704,124,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,1,2712,26,27515,1,29834,1,29834,1,29887,57,3895,64,2901,3,3227,68,4395],["team",17,8950],["template",27,12948,13,11347,300,7321,131,12028,1,8066],["templatename",40,5908,403,9409],["templaterenderer",40,9050,92,55040,339,50277,1,47837]],[["templaterenderer",132],["templaterenderer.render",472]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c37.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c37.json new file mode 100644 index 00000000..aa466c44 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c37.json @@ -0,0 +1 @@ +[[["templates",27,12395,4,63589,9,4227,431,7259],["tenant",27,11224],["terminate",40,5908],["test",32,11823,5,48481,3,5400,295,9235],["testing",40,5908],["tests",32,8039,8,6335,204,6096,18,6397,122,6444],["text",27,8229,13,13474,300,7321,99,6262,32,6809],["texthandler",40,5908,261,7304],["textunmarshaler",40,10703,229,5746,1,5591,26,6205,236,8758,18,57121],["than",40,9050,260,6753,63,5981,95,6057],["that",0,7063,5,9685,5,8436,12,9380,10,9741,8,11669,194,3733,1,4121,1,4280,1,3058,6,2948,5,3497,1,3020,1,3058,6,3020,1,4102,1,3038,4,3229,5,3733,2,3183,1,3098,6,3875,6,4405,1,2882,13,4403,1,4337,1,4205,2,4373,1,3161,12,3733,18,3161,4,3409,10,2965,7,3733,4,4127,28,3253,12,2882,5,4373,21,2983,1,3733,6,4121,3,3934,7,3161,3,4025,1,4072,9,3078,7,5036,17,4457,1,3038],["the",0,10783,5,11943,5,12694,5,32977,2,12658,5,12334,4,35808,1,11978,2,35808,3,12938,2,26402,6,11278,119,1091,1,1091,1,1091,1,1091,1,1091,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,1,1871,5,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1335,1,1242,1,1242,1,1242,1,1242,1,1242,1,1242,1,1698,1,1489,6,1898,1,1874,6,1613,1,1871,1,1645,1,1727,1,1448,1,1222,1,1142,2,1871,1,1920,10,1349,4,1286,1,1242,1,1741,1,1431,2,1606,1,1734,1,1431,1,1222,2,1127,1,1917,1,1818,1,1636,1,1471,11,1591,1,1896,1,1722,3,1482,1,1739,1,1820,1,1739,2,1896,1,1951,1,1736,1,1983,2,1879,1,1914,1,1698,1,1610,1,1391,3,1862,1,1953,5,1818,1,1673,3,1682,3,1482,1,1970,2,1932,1,1580,1,1633,1,1682,1,1899,1,1507,3,1376,3,1606,1,1610,3,1932,7,1831,4,1614,1,1167,2,1769,1,1648,1,1202,5,1727,1,1829,1,1349,2,1935,1,1335,1,1335,1,1549,1,1759,1,1335,1,1252,1,1335,1,1310,3,1335,1,1335,1,1335,1,1335,1,1349,1,1212,1,1335,1,1829,2,1736,2,1041,1,1539,1,1119,1,1335,1,1376,1,1232,1,1421,2,1437,1,1437,1,1437,1,1799,1,1809,1,1437,1,1614,1,1437,1,1437,1,1437,1,1437,1,1437,1,1437,1,1437,1,2113,1,1507,1,1167,1,1437,1,1755,2,1633,8,1421,6,1454,1,1920,1,1657,2,1454,1,1813,2,1567,1,1546,1,1768,1,1569,1,1768,1,1782,1,1252,1,1653,6,1439,1,1624,8,1648,1,1740,2,1820,2,1471,1,1712,1,1519,2,1932,69,1175,1,1158,1,1167,16,1232,1,1212,1,1127],["their",40,9552,218,5117,42,5742,10,5520,46,5361,5,5439,37,5217,22,5439],["them",17,7673,10,7718,13,9176,261,6262,44,5873,23,7051],["then",5,7523,5,7016,12,9730,10,6871,8,8361,197,5519,26,6876,20,5201,127,5384,12,5384],["there",17,8180,23,9476,316,5994,54,5617,12,5617,37,6643],["therefore",40,6932],["these",10,8209,30,8271,222,5829,82,5787,26,5260,14,5872,6,6054],["they",40,6932,304,6351,12,6306,86,7972],["third",0,8572,40,5400],["this",0,7327,5,7523,12,6991,15,8614,8,11642,101,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,1,2934,79,2953,8,3758,1,4805,1,4836,1,3377,1,2916,1,2953,1,2814,6,3053,16,2847,4,2830,5,2830,14,3320,14,3165,8,4080,17,3292,25,2881,3,2916,20,3502,7,3240,6,2783,2,2992,12,2881,8,3119,2,3119,2,2881,26,3266,4,2972,39,3407],["those",40,5908],["through",0,7327,10,7016,7,6991,10,7033,13,7069,217,5953,43,6419,63,5686,95,5758],["thus",40,4625,411,8010],["time",40,15433,229,6551,1,6439,90,7321,10,3767,103,6790,1,7583,15,6915,1,6662,23,6378,1,6274,19,7394,1,7316,11,7711,1,7672,1,7404,4,54518,1,7599,11,7830,1,7790,1,7293],["timelayout",40,13020,93,56354,5,9405,1,9405,1,9405,129,5206,1,5066,203,50149,1,6877],["timelayoutunixtime",40,9050,98,53970,1,7578,1,7578,334,6126],["timelayoutunixtimemilli",40,9050,98,7972,1,54364,1,7972],["timelayoutunixtimenano",40,9050,98,7972,1,7972,1,54364],["timeopts",40,8463,94,57562,135,5994,1,5833,204,50318],["timeout",17,8180,23,7099],["timeouts",40,5908],["times",40,7768,320,6299,192,57274],["timestamp",40,11920,98,10278,1,10278,1,10278,334,7917]],[["templates",31],["the error handler",26],["the router interface (v5)",15],["timelayout",133],["timeopts",134]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c38.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c38.json new file mode 100644 index 00000000..7404d659 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c38.json @@ -0,0 +1 @@ +[[["timestamps",40,6932,98,7972,1,7972,1,7972],["timezone",40,6932,320,6892],["title",40,9552,399,10786],["tls",27,8229,13,9128,208,7385,72,9158],["tlsconfig",40,9050],["tmp",40,9050],["to",0,9757,2,43455,3,9556,5,8749,7,8730,5,9310,5,9600,5,10649,8,11220,119,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,1,1107,3,1229,21,1510,2,1121,1,1589,1,1589,1,1611,1,1382,1,1355,1,1080,1,1128,1,1426,4,1107,2,1068,5,1107,2,1452,4,1184,1,1396,4,1368,2,1513,1,1477,1,1305,1,1260,1,1080,3,1087,1,1074,5,1405,1,1593,1,1305,6,1839,6,1260,2,1192,2,1250,1,1504,2,1293,7,1201,8,1549,6,1056,1,1342,13,1135,1,1529,17,1513,7,1444,1,1672,6,1607,4,1175,3,1220,1,1229,5,1329,1,1192,5,1723,1,1785,2,1510,5,1561,1,1477,2,1396,20,1184,2,1093,7,1510,1,1611,1,1723,1,1442,1,1475,1,1657,5,1504,5,1636,3,1975,1,1794,1,1442,1,1458,1,1825,1,1677,1,1707,1,1510,3,1492,1,1460,8,1458,1,1672,1,1899,3,1260,3,2050,1,1634,2,1983,4,1167,1,1611,1,1949,1,1657,1,1569,1,1657,2,1282,1,1634,1,1549,1,1293,1,1657,1,1569,1,1657,1,1569,1,1657,1,1657,1,1611,1,1657,1,1611,1,1657,1,1611,1,1657,1,1611,1,1611,1,1569,1,1975,1,2042,1,2001,1,1975,1,2001,1,1824,1,1987,1,1962,1,2001,1,1975,1,2001,1,1975,1,2001,1,2001,1,1987,1,2001,1,1987,1,2001,1,1987,1,2001,1,1987,1,1987,1,1962,1,2014,1,1975,1,1962,1,1987,1,1962,1,2001,1,2001,1,1987,1,2001,1,1987,1,2001,1,1987,1,2001,1,1987,1,1987,1,1978,1,1963,1,2099,1,1681,1,1611,1,1589,1,1634,1,1549,1,1657,1,1657,1,1611,1,1657,1,1611,1,1657,1,1611,1,1657,1,1611,1,1611,1,1804,1,1785,1,1933],["toinlocation",40,9050],["token",17,8180,23,13152],["tomiddleware",40,5908,393,9299],["top",40,4625,330,6733],["torouteinfo",40,6932,413,59120],["touch",32,8796],["trace",10,8209,30,9128,359,53356,22,53851],["trailing",10,7700,7,7673,23,3965,357,7631],["transport",40,14390],["treat",40,6932,211,5772,22,5839,4,5805],["treated",40,5908,430,10389],["tree",0,18230,10,7320,22,7168,8,4815],["tries",40,5908,349,7882,1,7084],["trigger",40,4625,411,8010],["true",17,12683,23,11475,247,7545,1,7648,1,7545,31,7545,1,7545,101,6779],["trust",40,10703,247,7545,1,7648,1,7545,49,7012,129,6250,8,7755],["trustable",40,5908,207,7385,39,9283],["trusted",40,9988,209,8319,96,6262],["trusting",40,4625],["trustipr",249,6977],["trustiprange",40,7768,52,58679,194,41857],["trustlinklocal",40,6932,53,58679,194,43689],["trustloopback",40,7768,54,58679,194,43793],["trustoption",40,11001,95,44242,111,30991,1,30151,2,29391,37,30122,1,31488,1,31582,1,31488,186,40484],["trustprivatenet",40,6932,55,58679,194,43689],["trusts",40,4625],["try",40,5908],["tune",5,9631],["tuple",40,4625,395,9889],["two",17,8180,5,8318],["txt",10,8209,30,11058],["type",17,7294,5,14835,5,10087,13,12725,119,2503,1,2503,1,2503,1,2503,1,2503,65,2850,1,2850,1,2850,1,2850,1,2850,1,2850,2,4197,2,2535,4,3126,1,3064,9,2416,18,2639,1,2568,1,3754,1,3650,1,2444,1,2519,2,2458,1,2430,1,2519,15,24127,3,23882,1,24628,1,23729,3,23653,1,24224,2,3990,1,3336,19,2389,29,3262,7,21032,2,25015,3,23792,5,23448,31,23859,22,24127,5,24727,1,24449,1,24676,1,24127,1,24294,1,24369,1,24780,1,24580,1,24780,3,25607,3,24369,1,24408,1,23931,8,23584,3,24676,3,21032,1,23957,1,24780,7,24010,1,23770,3,23882,2,24158,1,23729,1,24727,1,24727,1,24317,88,2585]],[["trustiprange",92],["trustlinklocal",93],["trustloopback",94],["trustoption",135],["trustprivatenet",95],["type addrouteerror",293],["type binder",297],["type bindingerror",298],["type bindunmarshaler",296],["type config",301],["type context",302],["type defaultbinder",360],["type defaultjsonserializer",362],["type defaultrouter",365],["type echo",370],["type group",401],["type handlerfunc",430],["type httperror",423],["type httperrorhandler",428],["type httpstatuscoder",429],["type ipextractor",431],["type jsonserializer",432],["type middlewareconfigurator",433],["type middlewarefunc",434]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c39.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c39.json new file mode 100644 index 00000000..dbb8429c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c39.json @@ -0,0 +1 @@ +[[["typed",40,9050,211,5070,2,5883,20,5129,4,5099,2,5883,36,6698],["types",0,7644,22,7417,10,7168,8,11500,59,58138,42,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,93,3113,1,3288,1,3612,1,3377,15,3401,1,3309,1,4838,1,4704,1,3149,1,3246,3,3131,1,3246,1,3612,2,3331,15,3672,146,4299,35,3246],["typically",40,4625,298,7158],["u",22,13153],["uint",40,11507,229,5539,1,5390,265,8657,9,8584,9,56915,9,9218],["uint16",40,11507,229,5539,1,5390,266,8657,1,8584,17,56915,1,9218],["uint16s",40,6932,515,58633],["uint32",40,11507,229,5539,1,5390,268,8657,1,8584,17,56915,1,9218],["uint32s",40,6932,517,58633],["uint64",40,11507,229,5539,1,5390,270,8657,1,8584,17,56915,1,9218],["uint64s",40,6932,519,58633],["uint8",40,11507,229,5539,1,5390,272,8657,1,8584,17,56915,1,9218],["uint8s",40,6932,521,58633],["uints",40,6932,522,58633],["unchanged",32,8796],["uncommitted",27,9003],["under",40,5908],["underlying",40,4625,236,6851],["understand",40,5908],["unescaped",40,6932,243,6658],["unescapepathparamvalues",40,7768],["unescapes",40,5908],["unescaping",40,5908],["unexported",40,9988,262,6948,63,6007,36,6153,22,6737,21,6311],["uniquely",40,4625,412,7111],["unix",40,14025,98,8369,1,8369,1,8369,109,4395,96,4315,128,5488,1,6936,71,6120,1,6044,1,6081,16,6364,1,6280,1,5900],["unixtime",40,9050,98,7578,1,7578,1,7578,423,54626],["unixtimemilli",40,9050,98,7578,1,7578,1,7578,424,54517],["unixtimenano",40,9050,98,7578,1,7578,1,7578,425,52264],["unless",40,7768,217,6676,161,6820],["unmarshal",40,5908,323,9103],["unmarshaler",40,9050,229,5994,1,5833,236,9792,23,9137],["unmarshalparam",40,8463,256,11439],["unmatched",10,8982],["unregisters",40,4625,327,10446],["until",32,12207],["untrustable",40,4625,207,8080],["untrusted",40,4625,323,6977],["unwrap",40,10368,250,7350,5,48733,57,6737,74,48733,23,48602],["unwrapresponse",40,6932,56,58679,194,39687],["unwraps",40,4625,250,9409],["up",40,4625,328,8224],["update",32,11028],["updateuser",10,8982],["upgrade",5,7849,22,7337,5,7168,8,11727],["upgrades",32,8039,8,4227,408,7813],["uri",17,10212,23,7099,399,7304],["url",27,8229,13,13765,197,4211,12,4159,1,6271,7,4354,26,3969,31,7367,17,5650,5,7438,1,6414,2,7034,6,4084,20,4584,3,4902,25,4108,64,5608,9,5480],["urlencoded",40,12415],["urlencoding",40,4625,448,8080],["urls",40,6932,295,7877],["us",40,15155],["usage",40,4625,431,7943],["use",0,6837,5,9841,5,9009,7,15078,5,6634,10,8038,8,10920,101,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,1,2985,85,2896,2,3823,1,3954,1,3436,1,3436,1,2967,8,3106,1,2985,11,3128,1,3044,26,3378,14,3220,50,3828,1,3173,3,3529,19,3562,7,3296,6,3709,2,3044,2,47092,18,3173,2,3173,2,46228,26,3322,26,4131,3,2985],["used",32,8039,8,14017,119,3178,1,3178,1,3178,1,3178,1,3178,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,1,2436,38,2436,7,3637,20,2392,7,2324,13,2773,5,3309,37,2499,7,2392,11,2568,14,2350,31,2750,43,2821,5,3173,2,2796,17,2664,9,3655,6,3105,25,3041],["useescapedpathformatching",40,9552]],[["type pathvalue",435],["type pathvalues",436],["type problemerror",439],["type problemerrorer",442],["type renderer",443],["type response",444],["type route",452],["type routeinfo",455],["type router",458],["type routerconfig",459],["type routes",460],["type schemeextractor",467],["type startconfig",468],["type templaterenderer",471],["type timelayout",473],["type timeopts",474],["type trustoption",475],["type validator",476],["type valuebinder",477],["types",99],["unwrapresponse",96]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c4.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c4.json new file mode 100644 index 00000000..b1a81b45 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c4.json @@ -0,0 +1 @@ +[[["binary",40,6932,448,10316],["bind",22,11385,18,13490,257,4904,1,3039,6,46897,51,3717,6,46829,117,3898,2,3947,11,3296,16,3676,1,3523,1,3760,1,3676,1,3760,1,3760,1,3717,1,3636,1,3760,1,3676,1,3760,1,3676,1,3760,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3717,1,3636,1,3805,1,3676,1,3636,1,3717,1,3636,1,3760,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3760,1,3717,1,3717,1,3928,1,3880,1,3017,16,3185,1,3134],["bindable",40,7768,197,5758,1,8166,1,8166,1,8277],["bindbody",22,8318,18,7099,4,58040,193,35669,124,6397],["binder",22,11385,18,11702,62,55779,148,4641,25,6963,5,6963,17,50366,7,5843,56,4527,1,4902,9,5789,108,6333,2,6413],["binderror",40,7768,438,53185,1,45379],["binderrors",40,8463,440,53282,1,44902],["bindheaders",22,8318,18,6335,5,58679,193,40173],["binding",0,16392,5,10047,12,8728,5,51814,1,45525,1,6419,1,6313,1,6313,14,10246,197,3953,13,3953,1,3767,2,4372,7,5683,13,3811,4,3789,2,4372,19,5436,2,4407,60,3856,1,5402,116,3928,14,6956],["bindingerror",22,8318,18,10517,63,50712,149,4780,22,4719,4,4719,3,4844,17,44338,1,45269,1,43102,179,5295,2,4945],["bindpathvalues",22,8318,18,7099,6,58040,193,39486,122,6397],["bindqueryparams",22,8318,18,7099,7,58040,193,39584,121,6397],["binds",40,14527,197,2953,1,4188,1,4188,1,4245,64,4649,178,4245,1,3718,1,4366,1,4133,1,4366,1,4080,2,4304,1,4080,2,4366,1,4133,1,4366,1,4133,1,4366,1,4366,1,4245,1,4366,1,4245,1,4366,1,4245,1,4366,1,4245,1,4245,1,4133,41,4578,1,4430,1,4245,1,4188,1,4304,1,4080,1,4366,1,4366,1,4245,1,4366,1,4245,1,4366,1,4245,1,4366,1,4245,1,4245,1,3292,1,3240,1,4831],["bindunmarshaler",40,11267,61,53864,168,5539,1,5390,26,47431,186,50173,25,8513],["bindwithdelimiter",40,6932,443,57514],["bits",40,5908,525,7205],["blank",40,6932,399,7304],["blob",27,7718,5,7541,8,8562,265,56244,12,7530,6,7530,2,6606,33,7530],["blog",40,5908,409,9090],["body",17,10574,5,11678,18,11531,119,4485,1,4485,1,4485,1,4485,1,4485,74,5918,7,4571,6,6763,54,7150,25,6357,32,4797,2,6698],["bodydump",17,8950],["bodydumpwithconfig",17,8950],["bodylimit",17,8180,23,4227],["bodylimitwithconfig",17,8950],["bool",40,14360,203,26004,26,4312,1,4196,6,26004,7,23200,4,31877,1,31957,1,31877,31,5873,1,5873,116,5796,7,4736,24,5768,11,5923,2,5590,3,42007,1,7043,6,4778,18,6739,1,6627],["bools",40,6932,445,58407],["both",17,8180,23,7735,197,5758,13,5758,85,6419,49,6126],["bound",40,4625,321,7462],["brackets",40,5908,216,9103],["breaking",0,8041,27,7718,5,18863],["browser",40,4625,279,8224],["buffer",40,6932,323,10420],["buffered",40,4625,407,9090],["bufio",40,4625,408,7813],["bug",32,11028],["build",40,6932,236,5873,107,7182,7,6645],["built",0,15688,10,9130,12,9221,18,5649,437,6416],["but",10,8209,30,11475,211,4640,20,5667,1,5473,1,4693,4,4666,19,5473,35,5033,66,5258,62,7159],["by",10,10209,7,9635,5,10274,10,6871,8,12008,101,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,1,1936,6,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,1,1924,3,2137,2,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,1,2355,22,1924,2,1857,1,1961,15,2378,6,1878,1,1936,2,1889,1,1867,1,1936,15,2378,5,2679,3,2014,12,2378,17,2923,5,2172,21,2028,15,2626,3,2043,22,1836,14,1901,12,1901,20,2564,2,2228,13,2595,5,2801,1,2801,1,2801,1,2692,1,2535,17,2453,25,2402],["bypass",40,5908],["bypasses",40,5908],["byte",27,10258,13,12150,188,4444,1,4444,1,4444,1,4444,1,4444,1,4444,36,4116,1,4005,30,4407,5,5203,10,4977,2,5394,6,5394,2,4732,33,5394,92,5144,20,4561,16,54211,2,4521,23,6432]],[["bindbody",44],["binder",102],["bindheaders",45],["binding and error handling",22],["binding request data",23],["bindingerror",103],["bindingerror.error",299],["bindingerror.marshaljson",300],["bindpathvalues",46],["bindqueryparams",47],["bindunmarshaler",101]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c40.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c40.json new file mode 100644 index 00000000..8fb6d97d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c40.json @@ -0,0 +1 @@ +[[["useful",40,14621,124,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,1,2776,3,3084,48,2969,20,2695,11,3432,91,2991],["user",10,7320,12,9221,5,10087,13,3769,284,6658],["users",10,13398,17,8229],["uses",17,9106,10,9147,5,7168,8,10610,197,4141,8,5270,1,5451,1,4736,1,6047,1,4090,1,6167,7,4282,1,4115,52,4439,14,3903,1,4957,35,4040,38,4196,22,4374,38,4141,9,4865],["using",40,14262,101,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,1,3246,87,4157,1,4299,1,3736,37,3803,2,4696,17,3769,6,3910,10,3803,5,3078,14,3309,2,3948,15,4250,1,3401,6,5132,15,3555,1,3584,29,3704,1,3736],["usually",40,4625,315,9193],["utc",40,8463,320,6892],["utf",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["utility",40,4625,437,7021],["v",17,11925,23,10894,211,5070,36,38129,1,38231,1,38129,190,9185,2,7181],["v1",40,7768,340,9362,30,8228],["v1posts",40,4625,340,8010],["v2gw",40,8463],["v4",0,10420,17,6991,10,8767,5,61159,1,7649,1,7198,1,7649,1,7649,1,7649,1,7906,1,8043,1,3612,298,4932],["v5",0,12093,5,12164,5,11746,5,32940,2,9563,1,35780,4,7797,5,12401,1,29160,4,45371,1,2995,1,2818,1,2995,1,2995,1,2995,1,3095,1,3149,1,32644,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3095,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,1,3044,107,1918,322,11177],["va",270,7158],["val",40,4625,306,10298],["valid",27,8229,13,4227,194,8624],["validate",22,12450,18,10894,315,56165,1,10038,120,10594],["validatectx",22,8318,18,7735,316,57233],["validated",40,4625,285,8457],["validates",40,5908,315,8402,1,6723],["validation",0,9918,22,18511,2,63407,16,8562],["validator",22,13173,18,12224,96,55952,92,5339,1,5339,1,5339,1,5339,1,5339,1,5339,122,7663,1,7871,120,50708],["validpath",40,4625,218,7021],["value",10,7320,12,7417,5,11053,13,12596,174,2743,21,3370,6,3874,1,4242,8,2500,1,3908,1,3276,1,2765,1,2585,15,31152,1,29965,1,3703,1,4048,1,3940,1,2484,1,3751,2,3602,1,2484,1,2765,1,3751,1,2550,15,2811,2,2660,14,3594,1,4533,18,2585,4,4025,100,4252,2,3499,1,4068,39,2484,6,3148,8,2884,16,4000,1,3874,1,4068,2,4068,1,3291,1,4034,2,4068,2,4068,2,4068,1,4068,1,4034,1,4068,1,4034,1,4068,1,4034,1,4068,1,4034,1,4034,1,3968,1,4103,1,3217,1,3968,1,4034,2,4068,1,4068,1,4034,1,4068,1,4034,1,4068,1,4034,1,4068,1,4034,1,4034,1,3438,1,3395,1,3876],["valuebinder",40,15532,97,19638,113,10842,25,14181,5,14181,197,16983,1,17136,1,12695,1,17174,1,12695,1,17955,1,17603,1,18030,1,17884,1,18030,1,17850,1,12695,1,17992,1,17850,1,17372,1,18030,1,17884,1,18030,1,17884,1,18030,1,18030,1,17955,1,18030,1,17955,1,18030,1,17955,1,18030,1,17955,1,17955,1,17884,1,17660,1,17548,1,17721,1,17660,1,17721,1,17721,1,17690,1,17631,1,17721,1,17660,1,17721,1,17660,1,17721,1,17721,1,17690,1,17721,1,17690,1,17721,1,17690,1,17721,1,17690,1,17690,1,17631,1,17752,1,17660,1,17631,1,17690,1,17631,1,17721,1,17721,1,17690,1,17721,1,17690,1,17721,1,17690,1,17721,1,17690,1,17690,1,17160,1,17122,1,14099,1,18069,1,17955,1,17919,1,17992,1,17850,1,18030,1,18030,1,17955,1,18030,1,17955,1,18030,1,17955,1,18030,1,17955,1,17955,1,17282,1,17240,1,14099]],[["validation",24],["validator",136],["valuebinder",137],["valuebinder.binderror",478]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c41.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c41.json new file mode 100644 index 00000000..7cac767e --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c41.json @@ -0,0 +1 @@ +[[["valuebinder_binderror",40,4625],["valuebinder_binderrors",40,4625],["valuebinder_customfunc",40,4625],["valuefunc",40,7768,437,9154],["values",10,8752,7,6991,5,7110,5,9669,13,11722,199,4261,11,3004,1,2863,2,4268,1,4031,2,2967,4,30374,11,29552,1,28394,1,2896,4,2879,2,3322,2,3064,17,4131,16,5668,19,4646,3,5306,24,2931,1,3173,9,2863,87,4001,9,3909,4,4418,3,3705,1,4131,3,2985,2,4296,2,4055,2,3782,2,4205,2,5510,1,5261,2,4151,3,4205,2,4205,13,3705,2,4807,2,4888,2,4768,2,4807,2,4807,13,3865,3,4768,15,4319,3,4151],["valuesfunc",40,7768,437,9154],["var",40,13117,176,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,30107,1,29791,1,29791,1,29791,1,29791,1,29791,1,29791,1,30152,1,30627,1,30821,243,4171,2,3895,7,4278]],[["valuebinder.binderrors",480],["valuebinder.bindunmarshaler",482],["valuebinder.bindwithdelimiter",483],["valuebinder.bool",484],["valuebinder.bools",485],["valuebinder.byte",486],["valuebinder.customfunc",487],["valuebinder.duration",489],["valuebinder.durations",490],["valuebinder.failfast",491],["valuebinder.float32",492],["valuebinder.float32s",493],["valuebinder.float64",494],["valuebinder.float64s",495],["valuebinder.int",496],["valuebinder.int16",497],["valuebinder.int16s",498],["valuebinder.int32",499],["valuebinder.int32s",500],["valuebinder.int64",501],["valuebinder.int64s",502],["valuebinder.int8",503],["valuebinder.int8s",504],["valuebinder.ints",505],["valuebinder.jsonunmarshaler",506],["valuebinder.mustbindunmarshaler",507],["valuebinder.mustbindwithdelimiter",508],["valuebinder.mustbool",509],["valuebinder.mustbools",510],["valuebinder.mustbyte",511],["valuebinder.mustcustomfunc",512],["valuebinder.mustduration",513],["valuebinder.mustdurations",514],["valuebinder.mustfloat32",515],["valuebinder.mustfloat32s",516],["valuebinder.mustfloat64",517],["valuebinder.mustfloat64s",518],["valuebinder.mustint",519],["valuebinder.mustint16",520],["valuebinder.mustint16s",521],["valuebinder.mustint32",522],["valuebinder.mustint32s",523],["valuebinder.mustint64",524],["valuebinder.mustint64s",525],["valuebinder.mustint8",526],["valuebinder.mustint8s",527],["valuebinder.mustints",528],["valuebinder.mustjsonunmarshaler",529],["valuebinder.muststring",530],["valuebinder.muststrings",531],["valuebinder.musttextunmarshaler",532],["valuebinder.musttime",533],["valuebinder.musttimes",534],["valuebinder.mustuint",535],["valuebinder.mustuint16",536],["valuebinder.mustuint16s",537],["valuebinder.mustuint32",538],["valuebinder.mustuint32s",539],["valuebinder.mustuint64",540],["valuebinder.mustuint64s",541],["valuebinder.mustuint8",542],["valuebinder.mustuint8s",543],["valuebinder.mustuints",544],["valuebinder.mustunixtime",545],["valuebinder.mustunixtimemilli",546],["valuebinder.mustunixtimenano",547],["valuebinder.string",548],["valuebinder.strings",549],["valuebinder.textunmarshaler",550],["valuebinder.time",551],["valuebinder.times",552],["valuebinder.uint",553],["valuebinder.uint16",554],["valuebinder.uint16s",555],["valuebinder.uint32",556],["valuebinder.uint32s",557],["valuebinder.uint64",558],["valuebinder.uint64s",559],["valuebinder.uint8",560],["valuebinder.uint8s",561],["valuebinder.uints",562],["valuebinder.unixtime",563],["valuebinder.unixtimemilli",564],["valuebinder.unixtimenano",565],["var errbadgateway",226],["var errbadrequest",216],["var errcookienotfound",231],["var errforbidden",218],["var errinternalservererror",225],["var errinvalidcertorkeytype",232],["var errinvalidjsonpcallback",234],["var errinvalidkeytype",235],["var errinvalidlistenernetwork",233],["var errinvalidredirectcode",230],["var errmethodnotallowed",220],["var errnonexistentkey",236],["var errnotfound",219],["var errrenderernotregistered",229],["var errrequesttimeout",221],["var errserviceunavailable",227],["var errstatusrequestentitytoolarge",222],["var errtoomanyrequests",224],["var errunauthorized",217],["var errunsupportedmediatype",223],["var errvalidatornotregistered",228]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c42.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c42.json new file mode 100644 index 00000000..bfdce975 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c42.json @@ -0,0 +1 @@ +[[["variable",40,14448,444,4258,2,4258,3,4198,3,4258,2,4258,2,4258,1,4258,2,4258,2,4258,2,4258,6,3791,2,3791,2,3748,2,3791,2,3791,2,3791,1,3791,1,3748,1,3791,1,3748,1,3791,1,3748,1,3791,1,3748,1,3748,2,3836,3,3748,2,3791,1,3791,1,3748,1,3791,1,3748,1,3791,1,3748,1,3791,1,3748,1,3748,1,3064,1,3020,1,3042,1,4321,3,4198,2,4258,1,4258,2,4258,2,4258,2,4258,3,3211,1,3160,1,2937],["variables",0,8572,40,10298,2,60028,276,6149,167,6229,5,6149,3,6229,2,6229,15,5726,4,5663,2,5726,2,5726,13,5726,3,5663,18,6149],["variant",10,8982],["various",40,6932,396,8955,24,8955,17,6019],["vary",40,14390],["version",0,9428,4,48539,13,7294,15,10542,6,49120,2,6897,175,50358,116,7725],["versions",27,8229,5,8039],["vfp3",40,8463],["vhosts",40,4625,227,42181],["via",40,9050,298,7158],["views",27,9003],["virtual",40,4625,227,8624],["visit",5,9631],["w",27,10258,13,9128,222,31161,3,33974,77,6416,42,5479,11,7208,48,6858,29,6858],["wait",40,5908],["want",40,7768,441,7355],["was",27,7718,5,7541,8,10050,217,7138,25,5099,31,6494,22,5932,75,5190,12,5190],["way",10,8209,22,8039],["we",40,4625],["web",0,46497,1,7981,1,7981,1,8102,1,8102,36,21101,526,10400],["website",40,4625,284,6658],["websocket",27,8229,13,5400,281,9158,127,7141],["were",32,8796],["what",0,9918,1,50412,16,7673,23,6659,242,5519,11,7028,188,5994],["when",10,9605,12,7802,18,13170,172,3888,1,3888,1,2688,20,2991,1,3302,1,3429,6,2961,1,2362,6,2419,1,2450,8,3174,4,2587,5,2991,3,2482,2,2754,11,3025,27,2626,5,3084,16,2533,14,3105,39,2606,9,2390,5,2482,20,3348,2,2587,19,3287,13,2466,7,4035,8,2878,1,3412,19,3385,4,2826,16,3152,2,3224,1,3152,1,3224,1,3224,1,3188,1,3118,1,3224,1,3152,1,3224,1,3152,1,3224,1,3224,1,3188,1,3224,1,3188,1,3224,1,3188,1,3224,1,3188,1,3188,1,3118,1,3263,1,3152,1,3118,1,3188,1,3118,1,3224,1,3224,1,3188,1,3224,1,3188,1,3224,1,3188,1,3224,1,3188,1,3188,1,2606,1,2569,1,2587],["where",0,10573,2,49755,38,10054,211,5070,22,5129,4,5099,21,5660,170,5746],["whether",27,10258,13,5400],["which",22,8318,18,12536,197,3791,6,3654,3,4989,1,4335,3,3791,8,3767,3,4932,2,4722,35,4033,12,4063,5,4772,37,4627,37,4627,1,4158,3,3698,2,5305,3,3840,2,4722,20,4003,19,3919,6,5376,1,5305,29,5525],["while",40,6932,258,6444,103,6753,22,7394],["whole",22,9101],["whose",22,8318,18,7099,418,7065],["wide",40,7768,261,6676,117,6820],["wildcard",0,8041,10,9605,30,7758,243,6085,110,6299],["wildcards",5,10109,5,18887,2,52260,20,7541],["will",40,13523,203,4693,19,5142,14,4721,20,5473,35,5033,53,5180,67,5520,17,5258,23,5617],["wins",40,5908,242,6189,136,6820],["with",0,8971,5,6817,5,8749,7,11231,5,8817,5,9262,5,9507,8,11041,203,2227,8,2202,7,2994,10,3416,5,2913,3,2241,1,2215,5,2215,23,3041,2,3416,2,2766,1,3198,6,3234,1,3153,5,3234,1,3153,1,2853,1,2766,1,3077,3,3234,9,3045,1,3153,1,3525,2,2879,2,2423,9,2973,1,3277,3,3234,1,3153,1,3077,1,2254,3,2977,2,2515,1,3153,6,3552,1,3277,1,3138,1,3525,1,3525,1,3239,1,2535,1,3525,1,3350,1,3525,1,3473,3,3525,1,3525,1,3525,1,3525,3,3525,2,2254,3,2853,1,2496,1,3475,1,3525,4,3322,7,3376,8,2440,2,3157,2,2254,2,3416,3,3277,6,3041,3,3416,4,3466,11,2620,1,2326,2,3114,3,3077,1,2311,1,3398,1,3416,6,3006,1,2714,1,2496,1,3193,1,2666,2,3077,15,3193,25,3041],["within",40,12804,362,5163,2,5221,1,5221,1,5221,1,4549,1,4589,1,5221,2,5221,1,5221,1,5221,1,5221,1,5221,1,5221,1,5221,1,4238,1,5475,1,4238,1,5221,1,3914],["without",10,8752,12,7110,5,9669,5,6871,8,7069,320,5190,20,6032,16,5014,1,5746,13,5190,81,6138],["withprefix",40,6932,414,58089],["working",40,7768,330,6733],["world",0,7063,5,18869,2,57250,3,6763,17,8451,5,8304,8,5849],["would",40,6932,295,7877],["wr",40,5908,431,7943],["wrap",32,8039,8,7099,256,7259,131,57475],["wraphandler",0,8572,40,6335,57,58679,194,42302],["wrapmiddleware",0,8572,40,6335,58,58679,194,42302],["wrapped",40,8463,194,7394,42,5873,151,8590],["wrapper",27,9003],["wrappers",40,4625,316,7355],["wrapping",17,8180,23,4227,284,6658],["wraps",22,7802,10,7541,8,7758,251,8102,1,8102,5,7545,146,7085,1,6084,32,7755],["write",5,8257,17,7802,18,6659,410,56811,1,7321]],[["variables",42],["version support",38],["what you get",1],["where to start",2],["wraphandler",97],["wrapmiddleware",98]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c43.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c43.json new file mode 100644 index 00000000..ec148b04 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c43.json @@ -0,0 +1 @@ +[[["writeheader",27,8229,13,8731,242,6189,169,58161],["writer",27,10258,13,7735,403,8066,28,6809,1,8066],["writes",22,10341,18,7099,324,7586,86,8402],["writing",17,9106,4,52773,1,10151,5,9147,3,52406,10,4815,261,6262],["written",40,6932,284,5708,121,8590,1,8477],["ws",40,4625,305,6851],["wss",40,4625,305,6851],["www",40,15218,101,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,1,3987,281,4148],["x",32,11823,8,14536,206,6582,1,5719,2,8010,7,7375,1,8252,67,4713,14,8146,7,7912],["xf66",10,8982],["xff",40,4625,207,8080],["xml",0,7644,22,14947,5,7337,13,11650,317,56584,1,7530,1,7350,1,5384],["xmlblob",40,6932,318,58192],["xmlpretty",27,8229,13,6335,319,57987],["xss",40,14390],["y",477,7021],["yes",32,11028],["yet",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["you",0,10328,1,48737,4,7849,17,7417,18,11270,206,6109,1,5308,40,6582,1,6672,1,6582,75,5452,7,6255,21,6255,85,4612,4,4832],["your",0,7327,5,14694,17,7110,10,8614,8,8361,205,6770,3,6084,135,6308,7,5836,87,5286],["yourself",40,4625],["zero",40,10368,211,5772,22,5839,4,5805]],[["writing middleware",21],["writing responses",30]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c5.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c5.json new file mode 100644 index 00000000..dff23da2 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c5.json @@ -0,0 +1 @@ +[[["c",5,10663,5,10994,7,10457,5,10797,5,11438,5,10250,8,11208,197,19474,1,21215,1,21215,1,21258,1,19301,1,18659,1,2133,1,2227,6,20262,1,15984,1,18374,1,18431,1,18443,8,2337,11,15984,1,18342,1,23581,2,15984,1,18342,1,18431,1,23581,1,18408,16,3138,6,2553,1,2786,1,2912,1,3138,1,3271,1,3476,1,2648,1,2372,1,3097,1,3181,1,2701,1,3225,1,2786,1,3097,1,3019,1,3057,1,2576,1,3138,1,3138,1,3097,1,3019,2,2648,1,2946,1,3476,1,3369,1,3097,1,3319,1,2287,1,3319,1,3422,1,3225,1,3164,1,3271,1,3369,2,3019,1,2674,1,3533,1,2756,1,3476,1,2320,1,2146,1,3225,1,3225,1,3422,1,3225,1,3271,1,3422,1,2701,1,2847,1,3138,1,2879,2,3097,1,3019,1,2946,2,2337,3,2599,4,2576,16,2354,8,2982,1,2819,3,2085,32,3225,2,3181,2,3540,11,2946,29,2946,7,3164,2,2986,7,3230],["cache",40,14390],["call",10,7700,22,7541,8,9864,174,5486,29,4821,19,5281,122,5320,8,6740,26,6834,33,5670,40,5769],["callback",27,8229,13,11347,194,9312,90,7478,1,10215],["called",40,12264,242,4793,60,6230,13,6507,1,6750,89,7092,1,6999,5,5670,36,6910],["caller",40,5908],["calling",27,8229,13,4227,331,9522],["calls",40,6932,411,6867,27,8264,2,8369],["can",10,8436,7,6739,5,6853,5,6780,5,9192,8,10858,119,4484,1,4484,1,4484,1,4484,1,4484,53,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,1,4207,34,4528,1,3676,21,3280,41,3280,40,4088,20,3703,12,3280,5,3880,28,4691,13,5663,7,4478,24,4291,1,3703],["canc",356,7355],["cancel",40,5908,356,8723],["cancellation",40,4625],["cannot",17,8950],["capacity",40,5908,418,9206],["captured",10,11204],["carries",22,9101],["carrying",40,8463,119,5450,1,5450,1,5450,1,5450,1,5450],["casbin",17,8950],["case",40,11001,203,5129,15,5286,135,5190,17,5190,12,5190,59,5539],["cases",40,11267,222,5439,69,5324,13,5400,40,5479,5,6286,4,5024,55,5695],["castable",40,6932,195,8163,6,7469,1,7321],["catch",40,5908,378,7462],["catches",17,8950],["category",40,9050,188,5981,1,5981,1,5981,1,5981,1,5981,1,5981],["caused",40,14390],["cdn",40,4625],["centralized",0,18119,40,6335,261,6262,127,8828],["cert",40,9050,188,5981,1,5981,1,5981,1,5981,1,5981,1,5981],["certain",40,5908,412,7111],["certfile",40,8463,430,11637],["certfilesystem",40,7768,428,7631],["certificate",40,4625,430,8151],["chain",40,8463,174,6054,29,5320,146,6737,1,6054,10,6876],["change",32,11157,8,6335,209,6977],["changes",0,8041,32,18863,8,3965],["changing",40,4625,330,6733],["character",40,4625,353,6892],["characters",40,5908],["charset",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["charsetutf8",40,15246],["cheaper",40,5908],["check",17,7294,5,7417,10,7168,8,6897],["checked",40,4625,217,7304],["checklist",32,11028,7,64593],["checks",40,7768,298,8511,18,6723],["choose",40,5908],["cidr",40,4625,246,10156],["clean",40,4625],["client",27,8229,13,10298,216,7110,1,7404,46,6367,35,7274,109,7101],["clone",40,9050,416,54274,5,54274],["cloud",40,4625],["code",22,11584,5,7337,5,7168,8,12189,176,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3631,1,3378,1,3378,1,3378,1,3378,1,3378,1,3378,10,2896,1,3024,20,36208,18,3767,3,4001,20,4888,11,5109,1,5018,5,5109,1,5018,1,2831,1,4549,1,4931,3,5109,10,5018,1,4584,13,4807,1,5157,3,5109,1,5018,1,4931,64,5129,2,4442,4,4049,10,3106,2,4261,10,4356],["codes",22,7802,5,7718,13,3965,411,8010],["collection",40,9050,119,5254,1,5254,1,5254,1,5254,1,5254,297,7866],["collections",40,4625,396,10446]],[["checklist",39]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c6.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c6.json new file mode 100644 index 00000000..6be65161 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c6.json @@ -0,0 +1 @@ +[[["com",0,7063,5,9685,12,9825,15,8304,8,44159,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3347,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,1,3292,107,2075,187,2516,135,12182],["come",40,4625,305,6851],["comes",40,4625,209,6977],["comma",40,4625,216,6977],["comments",40,4625,298,7158],["commit",0,12674],["commits",27,9003],["committed",22,9700,5,7718,13,7255,242,8097,162,7385],["committing",27,9003],["common",22,8318,18,5400,216,6377,145,7199],["commonly",40,5908],["compare",40,5908],["compati",338,7158],["compatibility",40,4625],["compatible",40,5908,384,9547,16,9687],["compile",32,8796],["completes",40,4625,302,8802],["compliant",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["compress",17,8950],["compression",17,11174],["computations",40,5908],["concatenated",40,5908,340,7321,30,6299],["concepts",0,8572,5,20459,3,57250],["concern",40,5908],["concrete",0,15371,5,7523,5,8752,17,7033,5,8614,1,48481],["concurrency",40,4625,221,9193],["confidentiality",40,5908],["config",0,8041,5,10109,35,9864,64,51352,162,36799,2,49351,33,44716,117,5439,4,5024,53,7506],["configuration",32,8039,8,8731,228,7614,1,5361,1,5217,31,5324,95,4853,37,6778,26,5941],["configure",40,9050],["configured",40,8463,298,6542,130,6974],["configures",10,8209,30,6335,247,8590,1,8707,1,8590],["conn",40,4625,408,7813],["connect",10,8209,30,9128,335,53356,30,53851],["connection",40,14576,208,6084,1,5254,71,7545,1,7545,127,7557,2,6922],["connections",40,6932,208,8080],["connects",40,4625],["considerations",40,5908],["considers",40,5908],["console",5,9631],["const",40,14970,98,18565,1,18565,1,18565,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17805,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,17791,1,18462,1,18462,1,18049,1,19165]],[["config",104],["const contextkeyheaderallow",214],["const headeraccept",164],["const headeracceptencoding",165],["const headeraccesscontrolallowcredentials",200],["const headeraccesscontrolallowheaders",199],["const headeraccesscontrolallowmethods",198],["const headeraccesscontrolalloworigin",197],["const headeraccesscontrolexposeheaders",201],["const headeraccesscontrolmaxage",202],["const headeraccesscontrolrequestheaders",196],["const headeraccesscontrolrequestmethod",195],["const headerallow",166],["const headerauthorization",167],["const headercachecontrol",193],["const headerconnection",194],["const headercontentdisposition",168],["const headercontentencoding",169],["const headercontentlength",170],["const headercontentsecuritypolicy",207],["const headercontentsecuritypolicyreportonly",208],["const headercontenttype",171],["const headercookie",172],["const headerifmodifiedsince",174],["const headerlastmodified",175],["const headerlocation",176],["const headerorigin",192],["const headerreferrerpolicy",210],["const headerretryafter",177],["const headersecfetchsite",211],["const headerserver",191],["const headersetcookie",173],["const headerstricttransportsecurity",203],["const headerupgrade",178]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c7.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c7.json new file mode 100644 index 00000000..ffa1a2ba --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c7.json @@ -0,0 +1 @@ +[[["constants",0,8572,40,6335,1,62116,97,7578,1,7578,1,7578],["construct",40,6932,284,5708,1,7250,119,6927],["consumes",40,5908],["contain",40,9552,203,5839,33,5873,107,7182],["containing",40,4625,253,8624],["contains",40,11267,218,4838,23,4965,21,6129,63,5299,36,5428,22,5943,21,5568,8,6380,3,6999],["conte",278,7021],["content",22,11678,5,9622,13,13537,119,4485,1,4485,1,4485,1,4485,1,4485,74,4542,39,4404,28,5718,1,5978,4,5437,15,4280,29,5844],["contents",40,6932,197,7065],["contenttype",40,5908,265,8499,48,8308],["context",0,12998,5,10454,5,26360,1,3166,1,3112,1,3166,1,3112,1,3011,1,18436,1,9235,5,8817,5,26540,1,14191,1,3060,1,3166,1,3166,1,13092,1,15239,3,15239,4,10992,65,19941,109,2102,20,3272,3,11611,1,12870,1,12870,1,12907,1,12277,1,11901,2,1929,6,11379,1,8977,1,8691,1,11096,1,10672,3,1981,5,11948,11,10825,1,11174,1,14254,2,8977,1,8691,1,11096,1,14254,1,10646,16,2718,5,18131,1,17009,1,17210,1,17320,1,17516,1,17631,1,17809,1,17092,1,16852,1,17480,1,17553,1,17137,1,17591,1,17814,1,17480,1,17412,1,18027,1,17028,1,17516,1,17516,1,17480,1,17412,1,14798,1,17699,1,17350,1,18322,1,17716,1,17480,1,17673,1,16779,1,17673,1,17761,1,17591,1,16934,1,17631,1,17716,1,14798,1,17412,1,17114,1,17858,1,17790,1,17809,1,17400,1,16656,1,18150,1,17591,1,18285,1,17591,1,17631,1,17761,1,17744,1,17263,1,17516,1,17890,1,18142,1,17480,1,17412,1,17350,2,2024,3,2251,4,3389,3,3467,13,2987,8,3173,1,1870,3,1806,32,2793,2,2755,2,3066,11,2552,15,2497,9,2251,2,2648,1,2211,2,2552,7,2137,2,1995,7,2192]],[["const headervary",179],["const headerwwwauthenticate",180],["const headerxcontenttypeoptions",204],["const headerxcorrelationid",189],["const headerxcsrftoken",209],["const headerxforwardedfor",181],["const headerxforwardedproto",182],["const headerxforwardedprotocol",183],["const headerxforwardedssl",184],["const headerxframeoptions",206],["const headerxhttpmethodoverride",186],["const headerxrealip",187],["const headerxrequestedwith",190],["const headerxrequestid",188],["const headerxurlscheme",185],["const headerxxssprotection",205],["const methodnotallowedroutename",213],["const mimeapplicationform",149],["const mimeapplicationjavascript",143],["const mimeapplicationjavascriptcharsetutf8",144],["const mimeapplicationjson",141],["const mimeapplicationjsoncharsetutf8",142],["const mimeapplicationmsgpack",151],["const mimeapplicationproblemjson",152],["const mimeapplicationprotobuf",150],["const mimeapplicationxml",145],["const mimeapplicationxmlcharsetutf8",146],["const mimemultipartform",157],["const mimeoctetstream",158],["const mimetexthtml",153],["const mimetexthtmlcharsetutf8",154],["const mimetextplain",155],["const mimetextplaincharsetutf8",156],["const mimetextxml",147],["const mimetextxmlcharsetutf8",148],["const notfoundroutename",212],["const propfind",159],["const query",161],["const report",160],["const routeany",163],["const routenotfound",162],["const timelayoutunixtime",138],["const timelayoutunixtimemilli",139],["const timelayoutunixtimenano",140],["const version",215],["constants",41],["context",105],["context and responses",27],["context is a struct in v5",28],["context pool",16],["context.attachment",303],["context.bind",304],["context.blob",305],["context.cookie",306],["context.cookies",307],["context.echo",308],["context.file",309],["context.filefs",310],["context.formfile",311],["context.formvalue",312],["context.formvalueor",313],["context.formvalues",314],["context.get",315],["context.html",316],["context.htmlblob",317],["context.initializeroute",318],["context.inline",319],["context.istls",320],["context.iswebsocket",321],["context.json",322],["context.jsonblob",323],["context.jsonp",324],["context.jsonpblob",325],["context.jsonpretty",326],["context.logger",327],["context.multipartform",328],["context.nocontent",329],["context.param",330],["context.paramor",331],["context.path",332],["context.pathvalues",333],["context.queryparam",334],["context.queryparamor",335],["context.queryparams",336],["context.querystring",337],["context.realip",338],["context.redirect",339],["context.render",340],["context.request",341]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c8.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c8.json new file mode 100644 index 00000000..5533f77c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c8.json @@ -0,0 +1 @@ +[[["contextget",27,16673,5,7541,8,5943,8,58040,193,36055],["contextgetor",27,7718,5,7541,8,5943,9,58679,193,35574],["contextkeyheaderallow",40,6932,174,56362],["contextpathparamallocsize",40,4625,418,7065],["contexts",40,6932,250,8599,168,8414],["contexttimeout",17,8950],["continue",32,8796],["contract",40,4625,418,7065],["contrib",17,11174],["contributors",40,4625,204,7111],["control",22,8318,18,14482],["controls",40,5908],["conversion",40,7768,443,10165,25,10005],["convert",40,9988,434,11011],["converted",40,8463,402,9299],["converting",40,5908,261,7304],["converts",17,8180,23,7099,236,5583,87,5686,1,6764,89,8768],["cookie",27,10258,13,13953,188,5473,1,5473,1,5473,1,5473,1,5473,1,5473,73,55857,1,7198,40,9185],["cookies",27,10258,13,7735,267,58663,17,6085],["copy",40,7768,343,6827,7,6316,66,9046,5,9046],["core",0,8572,5,20459,3,57250],["coroutine",40,4625,325,7690],["correctly",40,4625],["correlation",40,14390],["corresponding",40,9988,505,5660,1,5578,1,5619,16,5932,1,5836,1,5426],["cors",17,11925,23,6335],["corswithconfig",17,8950],["cost",40,5908],["could",40,7768,291,6262,30,6397,91,6096],["count",40,5908,237,6189,181,6457],["counters",40,5908],["counting",27,9003],["cover",0,10573,22,8318],["covered",32,8796],["create",5,8802,35,9782,218,5117,52,5520,88,5217,12,5024,10,5439,2,5024,55,5117],["created",10,8209,30,8731,261,6262,95,5708,62,6057],["creates",5,8802,35,11475,203,3868,7,4013,8,3987,1,6304,1,5768,1,5221,3,5849,1,5691,2,4898,1,5933,7,6020,1,3891,4,6020,3,3782,1,4671,96,4549,30,3914,46,6304,5,6304],["createuser",10,10240,12,8318],["creating",40,8463,222,5829,122,5872,49,7264,35,5961,3,6205],["credentials",40,14390],["cross",17,8950],["csrf",17,10212,23,13152],["csrfwithconfig",17,8950],["ctrl",5,10778,35,4227,356,6658],["ctx",22,8318,18,7099,356,5708,73,8369,1,6988],["curl",5,9631],["current",0,7644,10,7320,22,7168,8,8722,218,5117,44,6484,42,5400,6,7614,6,5361,14,4908,23,5024],["currentfs",40,4625,218,40577],["custom",5,7523,5,7016,12,16369,10,6871,8,9157,204,5555,198,7264,32,5872,5,6153],["customfunc",40,9050,447,53508,1,45106,24,7972],["customization",40,4625,356,6658],["customvalidator",22,12457],["cv",22,11315],["d",40,6932,324,8300],["daily",0,9379],["data",0,7327,5,7523,17,14687,1,48618,4,11225,13,11084,197,4286,13,4286,48,4560,4,5396,13,5396,25,6539,6,6247,24,4084,73,5708,4,5514,3,5577,21,4818,1,7034],["datatracker",40,14795,101,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,6,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521],["date",40,9050,320,11879],["dates",0,9379,32,9409],["datetime",40,4625],["db",40,5908],["deadlines",40,4625],["dealing",40,7768,218,5721,52,6172,88,5833,22,6081],["decide",40,5908],["decides",40,6932,203,5839,33,5873,69,5873],["decode",40,4625,448,8080],["decoded",40,11001,323,6377,125,9428],["decoder",40,4625,323,6977],["decodes",22,8318,18,7099,243,5708,13,6809,136,7793],["decodestring",40,4625,448,8080],["decoding",40,9050,320,8228,3,8319],["decompress",17,8950],["decompression",17,8950]],[["context.reset",342],["context.response",343],["context.routeinfo",344],["context.scheme",345],["context.set",346],["context.setcookie",347],["context.setlogger",348],["context.setpath",349],["context.setpathvalues",350],["context.setrequest",351],["context.setresponse",352],["context.stream",353],["context.string",354],["context.validate",355],["context.validatectx",356],["context.xml",357],["context.xmlblob",358],["context.xmlpretty",359],["context: interface → concrete struct",33],["contextget",48],["contextgetor",49],["core concepts",8]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/c9.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c9.json new file mode 100644 index 00000000..a279409d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/c9.json @@ -0,0 +1 @@ +[[["default",10,9307,7,6739,5,8520,5,6780,5,6623,8,10939,101,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,1,3153,84,3835,1,3058,6,3133,33,3041,5,4499,1,4561,1,4499,12,3280,3,3994,9,3873,18,3280,4,3537,25,3095,13,4499,21,4985,16,3095,12,3095,16,4176,14,3193,7,3660,8,3727],["defaultbinder",0,8041,22,7802,18,7758,66,55040,254,45679,1,46167],["defaulted",40,4625],["defaultfs",40,4625,223,8802],["defaulthttperrorhandler",22,8318,18,9128,10,54563,193,37842,1,39771,56,6419,1,5953],["defaulting",40,4625],["defaultjsonserializer",40,9552,67,52800,255,48944,1,37807,1,44922],["defaultrouter",10,7700,22,7541,8,9176,68,46560,158,33506,65,5170,34,41735,1,40639,1,41209,1,39636,1,41672],["defaults",17,8180,23,11058,330,5772,69,8126,35,6444],["defaultvalue",40,12555,202,25411,10,23857,2,25380,16,25256,2,27195,2,23799,4,23799,3,23918,32,5544,18,4696,4,5064,103,5978],["defer",40,4625,356,6658],["defined",40,12684,101,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,1,3928,235,3856,46,4087],["defines",40,11267,119,4938,1,4938,1,4938,1,4938,1,4938,267,7189,3,6582,1,7394],["delete",5,8257,5,9605,30,8562,336,53356,30,53851],["deleteuser",10,8982],["deliberately",40,4625,356,6658],["delimiter",40,7768,443,10165,25,10005],["demos",40,4625,356,6658],["deployed",40,4625],["deprecated",40,12415,101,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050,1,4050],["derives",40,4625,216,6977],["deserialize",40,8463,323,52769,69,8308],["despite",40,5908],["dest",40,14994,442,3386,1,2965,1,3482,1,3296,1,3482,3,3433,1,3254,2,3482,1,3296,1,3482,1,3296,1,3482,1,3482,1,3386,1,3482,1,3386,1,3482,1,3386,1,3482,1,3386,1,3386,1,3296,1,3030,1,2904,1,3100,1,3030,1,3100,2,3065,1,2997,1,3100,1,3030,1,3100,1,3030,1,3100,1,3100,1,3065,1,3100,1,3065,1,3100,1,3065,1,3100,1,3065,1,3065,1,2997,1,3136,1,3030,1,2997,1,3065,1,2997,1,3100,1,3100,1,3065,1,3100,1,3065,1,3100,1,3065,1,3100,1,3065,1,3065,1,2506,1,2469,2,3533,1,3386,1,3340,1,3433,1,3254,1,3482,1,3482,1,3386,1,3482,1,3386,1,3482,1,3386,1,3482,1,3386,1,3386,1,2626,1,2584],["destination",40,9988,442,7189,1,6296,23,6999,1,6434,1,6166,21,6364,3,6364,18,7092],["detail",40,10703,236,6262,163,6676],["details",22,10341,18,11702,236,5873,155,7394,8,6262],["determine",40,4625,427,8300],["determined",40,4625,305,6851],["determining",40,5908],["dev",5,8802,35,7099,409,9090],["developer",40,15155],["did",40,9552,172,9137,1,9137,30,5551,101,7819],["different",40,11267,98,7264,1,7264,1,7264,175,6948,144,6367],["differs",40,8463,211,5772,22,5839,4,5805],["digits",40,4625,284,6658],["dir",40,5908,223,46709],["direct",40,5908],["directly",32,8039,8,7099,205,7327,3,6585,1,5686,96,5583],["directory",5,8802,35,10298,218,5286,52,5702,60,5070,27,5746,1,5390,22,5619],["dirfs",40,7768],["disabled",40,7768],["disablepathunescaping",40,6932,243,40551],["disposition",22,7802,5,9622,13,12337],["distinguish",40,5908,273,7882,22,7199],["dl",5,9631],["do",27,8229,13,10054,236,4849,20,5622,28,4713,36,4878,5,5443,5,4766,13,5930,7,5486],["doc",40,14795,101,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,1,2537,6,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521,1,2521],["docs",10,10240,30,13851],["documentation",40,4625,258,7517],["documented",0,12674,4,57151]],[["defaultbinder",106],["defaultbinder.bind",361],["defaulthttperrorhandler",50],["defaultjsonserializer",107],["defaultjsonserializer.deserialize",363],["defaultjsonserializer.serialize",364],["defaultrouter",108],["defaultrouter.add",366],["defaultrouter.remove",367],["defaultrouter.route",368],["defaultrouter.routes",369],["documented version",4]]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f0.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f0.json new file mode 100644 index 00000000..de679c27 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f0.json @@ -0,0 +1 @@ +[["Echo — High performance, minimalist Go web framework","/sourcey/",0,0],["What you get","#what-you-get",1,0],["Where to start","#where-to-start",1,0],["API reference","#api-reference",1,0],["Documented version","#documented-version",1,0],["Quickstart","/sourcey/quickstart.html",0,0],["Install","#install",1,0],["Hello, World!","#hello-world",1,0]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f1.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f1.json new file mode 100644 index 00000000..f6f9cffc --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f1.json @@ -0,0 +1 @@ +[["Core concepts","/sourcey/quickstart.html#core-concepts",1,0],["Next steps","#next-steps",1,0],["Routing and context","/sourcey/guides/routing-context.html",0,0],["Basic routing","#basic-routing",1,0],["Parameters and wildcards","#parameters-and-wildcards",1,0],["Groups","#groups",1,0],["Static files","#static-files",1,0],["The Router interface (v5)","#the-router-interface-v5",1,0]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f10.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f10.json new file mode 100644 index 00000000..73836f40 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f10.json @@ -0,0 +1 @@ +[["PathParamOr","/sourcey/api/package-root.html#func-PathParamOr",1,1],["PathValuesBinder","#func-PathValuesBinder",1,1],["ProblemDetailsHTTPErrorHandler","#func-ProblemDetailsHTTPErrorHandler",1,1],["QueryParam","#func-QueryParam",1,1],["QueryParamOr","#func-QueryParamOr",1,1],["QueryParams","#func-QueryParams",1,1],["QueryParamsBinder","#func-QueryParamsBinder",1,1],["QueryParamsOr","#func-QueryParamsOr",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f11.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f11.json new file mode 100644 index 00000000..b33c1f02 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f11.json @@ -0,0 +1 @@ +[["ResolveResponseStatus","/sourcey/api/package-root.html#func-ResolveResponseStatus",1,1],["StaticDirectoryHandler","#func-StaticDirectoryHandler",1,1],["StaticFileHandler","#func-StaticFileHandler",1,1],["StatusCode","#func-StatusCode",1,1],["TrustIPRange","#func-TrustIPRange",1,1],["TrustLinkLocal","#func-TrustLinkLocal",1,1],["TrustLoopback","#func-TrustLoopback",1,1],["TrustPrivateNet","#func-TrustPrivateNet",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f12.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f12.json new file mode 100644 index 00000000..042fdbcd --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f12.json @@ -0,0 +1 @@ +[["UnwrapResponse","/sourcey/api/package-root.html#func-UnwrapResponse",1,1],["WrapHandler","#func-WrapHandler",1,1],["WrapMiddleware","#func-WrapMiddleware",1,1],["Types","#types",1,1],["AddRouteError","#type-AddRouteError",1,1],["BindUnmarshaler","#type-BindUnmarshaler",1,1],["Binder","#type-Binder",1,1],["BindingError","#type-BindingError",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f13.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f13.json new file mode 100644 index 00000000..1e690d2b --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f13.json @@ -0,0 +1 @@ +[["Config","/sourcey/api/package-root.html#type-Config",1,1],["Context","#type-Context",1,1],["DefaultBinder","#type-DefaultBinder",1,1],["DefaultJSONSerializer","#type-DefaultJSONSerializer",1,1],["DefaultRouter","#type-DefaultRouter",1,1],["Echo","#type-Echo",1,1],["Group","#type-Group",1,1],["HTTPError","#type-HTTPError",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f14.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f14.json new file mode 100644 index 00000000..6856e911 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f14.json @@ -0,0 +1 @@ +[["HTTPErrorHandler","/sourcey/api/package-root.html#type-HTTPErrorHandler",1,1],["HTTPStatusCoder","#type-HTTPStatusCoder",1,1],["HandlerFunc","#type-HandlerFunc",1,1],["IPExtractor","#type-IPExtractor",1,1],["JSONSerializer","#type-JSONSerializer",1,1],["MiddlewareConfigurator","#type-MiddlewareConfigurator",1,1],["MiddlewareFunc","#type-MiddlewareFunc",1,1],["PathValue","#type-PathValue",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f15.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f15.json new file mode 100644 index 00000000..a7e8e913 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f15.json @@ -0,0 +1 @@ +[["PathValues","/sourcey/api/package-root.html#type-PathValues",1,1],["ProblemError","#type-ProblemError",1,1],["ProblemErrorer","#type-ProblemErrorer",1,1],["Renderer","#type-Renderer",1,1],["Response","#type-Response",1,1],["Route","#type-Route",1,1],["RouteInfo","#type-RouteInfo",1,1],["Router","#type-Router",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f16.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f16.json new file mode 100644 index 00000000..e781fa68 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f16.json @@ -0,0 +1 @@ +[["RouterConfig","/sourcey/api/package-root.html#type-RouterConfig",1,1],["Routes","#type-Routes",1,1],["SchemeExtractor","#type-SchemeExtractor",1,1],["StartConfig","#type-StartConfig",1,1],["TemplateRenderer","#type-TemplateRenderer",1,1],["TimeLayout","#type-TimeLayout",1,1],["TimeOpts","#type-TimeOpts",1,1],["TrustOption","#type-TrustOption",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f17.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f17.json new file mode 100644 index 00000000..a0cc7db6 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f17.json @@ -0,0 +1 @@ +[["Validator","/sourcey/api/package-root.html#type-Validator",1,1],["ValueBinder","#type-ValueBinder",1,1],["const TimeLayoutUnixTime","#const-TimeLayoutUnixTime",2,1],["const TimeLayoutUnixTimeMilli","#const-TimeLayoutUnixTimeMilli",2,1],["const TimeLayoutUnixTimeNano","#const-TimeLayoutUnixTimeNano",2,1],["const MIMEApplicationJSON","#const-MIMEApplicationJSON",2,1],["const MIMEApplicationJSONCharsetUTF8","#const-MIMEApplicationJSONCharsetUTF8",2,1],["const MIMEApplicationJavaScript","#const-MIMEApplicationJavaScript",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f18.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f18.json new file mode 100644 index 00000000..17019721 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f18.json @@ -0,0 +1 @@ +[["const MIMEApplicationJavaScriptCharsetUTF8","/sourcey/api/package-root.html#const-MIMEApplicationJavaScriptCharsetUTF8",2,1],["const MIMEApplicationXML","#const-MIMEApplicationXML",2,1],["const MIMEApplicationXMLCharsetUTF8","#const-MIMEApplicationXMLCharsetUTF8",2,1],["const MIMETextXML","#const-MIMETextXML",2,1],["const MIMETextXMLCharsetUTF8","#const-MIMETextXMLCharsetUTF8",2,1],["const MIMEApplicationForm","#const-MIMEApplicationForm",2,1],["const MIMEApplicationProtobuf","#const-MIMEApplicationProtobuf",2,1],["const MIMEApplicationMsgpack","#const-MIMEApplicationMsgpack",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f19.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f19.json new file mode 100644 index 00000000..a2144940 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f19.json @@ -0,0 +1 @@ +[["const MIMEApplicationProblemJSON","/sourcey/api/package-root.html#const-MIMEApplicationProblemJSON",2,1],["const MIMETextHTML","#const-MIMETextHTML",2,1],["const MIMETextHTMLCharsetUTF8","#const-MIMETextHTMLCharsetUTF8",2,1],["const MIMETextPlain","#const-MIMETextPlain",2,1],["const MIMETextPlainCharsetUTF8","#const-MIMETextPlainCharsetUTF8",2,1],["const MIMEMultipartForm","#const-MIMEMultipartForm",2,1],["const MIMEOctetStream","#const-MIMEOctetStream",2,1],["const PROPFIND","#const-PROPFIND",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f2.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f2.json new file mode 100644 index 00000000..ea93597d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f2.json @@ -0,0 +1 @@ +[["Context pool","/sourcey/guides/routing-context.html#context-pool",1,0],["Middleware","/sourcey/guides/middleware.html",0,0],["RequestLogger (v5 logging)","#requestlogger-v5-logging",1,0],["Recover","#recover",1,0],["Official middleware","#official-middleware",1,0],["Writing middleware","#writing-middleware",1,0],["Binding and error handling","/sourcey/guides/binding-error-handling.html",0,0],["Binding request data","#binding-request-data",1,0]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f20.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f20.json new file mode 100644 index 00000000..6eed0075 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f20.json @@ -0,0 +1 @@ +[["const REPORT","/sourcey/api/package-root.html#const-REPORT",2,1],["const QUERY","#const-QUERY",2,1],["const RouteNotFound","#const-RouteNotFound",2,1],["const RouteAny","#const-RouteAny",2,1],["const HeaderAccept","#const-HeaderAccept",2,1],["const HeaderAcceptEncoding","#const-HeaderAcceptEncoding",2,1],["const HeaderAllow","#const-HeaderAllow",2,1],["const HeaderAuthorization","#const-HeaderAuthorization",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f21.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f21.json new file mode 100644 index 00000000..c46a4470 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f21.json @@ -0,0 +1 @@ +[["const HeaderContentDisposition","/sourcey/api/package-root.html#const-HeaderContentDisposition",2,1],["const HeaderContentEncoding","#const-HeaderContentEncoding",2,1],["const HeaderContentLength","#const-HeaderContentLength",2,1],["const HeaderContentType","#const-HeaderContentType",2,1],["const HeaderCookie","#const-HeaderCookie",2,1],["const HeaderSetCookie","#const-HeaderSetCookie",2,1],["const HeaderIfModifiedSince","#const-HeaderIfModifiedSince",2,1],["const HeaderLastModified","#const-HeaderLastModified",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f22.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f22.json new file mode 100644 index 00000000..7e7bd024 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f22.json @@ -0,0 +1 @@ +[["const HeaderLocation","/sourcey/api/package-root.html#const-HeaderLocation",2,1],["const HeaderRetryAfter","#const-HeaderRetryAfter",2,1],["const HeaderUpgrade","#const-HeaderUpgrade",2,1],["const HeaderVary","#const-HeaderVary",2,1],["const HeaderWWWAuthenticate","#const-HeaderWWWAuthenticate",2,1],["const HeaderXForwardedFor","#const-HeaderXForwardedFor",2,1],["const HeaderXForwardedProto","#const-HeaderXForwardedProto",2,1],["const HeaderXForwardedProtocol","#const-HeaderXForwardedProtocol",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f23.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f23.json new file mode 100644 index 00000000..739bb0e4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f23.json @@ -0,0 +1 @@ +[["const HeaderXForwardedSsl","/sourcey/api/package-root.html#const-HeaderXForwardedSsl",2,1],["const HeaderXUrlScheme","#const-HeaderXUrlScheme",2,1],["const HeaderXHTTPMethodOverride","#const-HeaderXHTTPMethodOverride",2,1],["const HeaderXRealIP","#const-HeaderXRealIP",2,1],["const HeaderXRequestID","#const-HeaderXRequestID",2,1],["const HeaderXCorrelationID","#const-HeaderXCorrelationID",2,1],["const HeaderXRequestedWith","#const-HeaderXRequestedWith",2,1],["const HeaderServer","#const-HeaderServer",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f24.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f24.json new file mode 100644 index 00000000..490ccf67 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f24.json @@ -0,0 +1 @@ +[["const HeaderOrigin","/sourcey/api/package-root.html#const-HeaderOrigin",2,1],["const HeaderCacheControl","#const-HeaderCacheControl",2,1],["const HeaderConnection","#const-HeaderConnection",2,1],["const HeaderAccessControlRequestMethod","#const-HeaderAccessControlRequestMethod",2,1],["const HeaderAccessControlRequestHeaders","#const-HeaderAccessControlRequestHeaders",2,1],["const HeaderAccessControlAllowOrigin","#const-HeaderAccessControlAllowOrigin",2,1],["const HeaderAccessControlAllowMethods","#const-HeaderAccessControlAllowMethods",2,1],["const HeaderAccessControlAllowHeaders","#const-HeaderAccessControlAllowHeaders",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f25.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f25.json new file mode 100644 index 00000000..56570e37 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f25.json @@ -0,0 +1 @@ +[["const HeaderAccessControlAllowCredentials","/sourcey/api/package-root.html#const-HeaderAccessControlAllowCredentials",2,1],["const HeaderAccessControlExposeHeaders","#const-HeaderAccessControlExposeHeaders",2,1],["const HeaderAccessControlMaxAge","#const-HeaderAccessControlMaxAge",2,1],["const HeaderStrictTransportSecurity","#const-HeaderStrictTransportSecurity",2,1],["const HeaderXContentTypeOptions","#const-HeaderXContentTypeOptions",2,1],["const HeaderXXSSProtection","#const-HeaderXXSSProtection",2,1],["const HeaderXFrameOptions","#const-HeaderXFrameOptions",2,1],["const HeaderContentSecurityPolicy","#const-HeaderContentSecurityPolicy",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f26.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f26.json new file mode 100644 index 00000000..db1cebae --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f26.json @@ -0,0 +1 @@ +[["const HeaderContentSecurityPolicyReportOnly","/sourcey/api/package-root.html#const-HeaderContentSecurityPolicyReportOnly",2,1],["const HeaderXCSRFToken","#const-HeaderXCSRFToken",2,1],["const HeaderReferrerPolicy","#const-HeaderReferrerPolicy",2,1],["const HeaderSecFetchSite","#const-HeaderSecFetchSite",2,1],["const NotFoundRouteName","#const-NotFoundRouteName",2,1],["const MethodNotAllowedRouteName","#const-MethodNotAllowedRouteName",2,1],["const ContextKeyHeaderAllow","#const-ContextKeyHeaderAllow",2,1],["const Version","#const-Version",2,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f27.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f27.json new file mode 100644 index 00000000..0a53ebc8 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f27.json @@ -0,0 +1 @@ +[["var ErrBadRequest","/sourcey/api/package-root.html#var-ErrBadRequest",3,1],["var ErrUnauthorized","#var-ErrUnauthorized",3,1],["var ErrForbidden","#var-ErrForbidden",3,1],["var ErrNotFound","#var-ErrNotFound",3,1],["var ErrMethodNotAllowed","#var-ErrMethodNotAllowed",3,1],["var ErrRequestTimeout","#var-ErrRequestTimeout",3,1],["var ErrStatusRequestEntityTooLarge","#var-ErrStatusRequestEntityTooLarge",3,1],["var ErrUnsupportedMediaType","#var-ErrUnsupportedMediaType",3,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f28.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f28.json new file mode 100644 index 00000000..cf9abc93 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f28.json @@ -0,0 +1 @@ +[["var ErrTooManyRequests","/sourcey/api/package-root.html#var-ErrTooManyRequests",3,1],["var ErrInternalServerError","#var-ErrInternalServerError",3,1],["var ErrBadGateway","#var-ErrBadGateway",3,1],["var ErrServiceUnavailable","#var-ErrServiceUnavailable",3,1],["var ErrValidatorNotRegistered","#var-ErrValidatorNotRegistered",3,1],["var ErrRendererNotRegistered","#var-ErrRendererNotRegistered",3,1],["var ErrInvalidRedirectCode","#var-ErrInvalidRedirectCode",3,1],["var ErrCookieNotFound","#var-ErrCookieNotFound",3,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f29.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f29.json new file mode 100644 index 00000000..7cdc5b30 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f29.json @@ -0,0 +1 @@ +[["var ErrInvalidCertOrKeyType","/sourcey/api/package-root.html#var-ErrInvalidCertOrKeyType",3,1],["var ErrInvalidListenerNetwork","#var-ErrInvalidListenerNetwork",3,1],["var ErrInvalidJSONPCallback","#var-ErrInvalidJSONPCallback",3,1],["var ErrInvalidKeyType","#var-ErrInvalidKeyType",3,1],["var ErrNonExistentKey","#var-ErrNonExistentKey",3,1],["func BindBody(c *Context, target any) (err error)","#func-BindBody",4,1],["func BindHeaders(c *Context, target any) error","#func-BindHeaders",4,1],["func BindPathValues(c *Context, target any) error","#func-BindPathValues",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f3.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f3.json new file mode 100644 index 00000000..82c5ad61 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f3.json @@ -0,0 +1 @@ +[["Validation","/sourcey/guides/binding-error-handling.html#validation",1,0],["Errors: HTTPError","#errors-httperror",1,0],["The error handler","#the-error-handler",1,0],["Context and responses","/sourcey/guides/context-responses.html",0,0],["Context is a struct in v5","#context-is-a-struct-in-v5",1,0],["Reading the request","#reading-the-request",1,0],["Writing responses","#writing-responses",1,0],["Templates","#templates",1,0]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f30.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f30.json new file mode 100644 index 00000000..262214e6 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f30.json @@ -0,0 +1 @@ +[["func BindQueryParams(c *Context, target any) error","/sourcey/api/package-root.html#func-BindQueryParams",4,1],["func ContextGet[T any](c *Context, key string) (T, error)","#func-ContextGet",4,1],["func ContextGetOr[T any](c *Context, key string, defaultValue T) (T, error)","#func-ContextGetOr",4,1],["func DefaultHTTPErrorHandler(exposeError bool) HTTPErrorHandler","#func-DefaultHTTPErrorHandler",4,1],["Example DefaultHTTPErrorHandler","#func-DefaultHTTPErrorHandler",5,1],["func ExtractIPDirect() IPExtractor","#func-ExtractIPDirect",4,1],["func ExtractIPFromRealIPHeader(options ...TrustOption) IPExtractor","#func-ExtractIPFromRealIPHeader",4,1],["func ExtractIPFromXFFHeader(options ...TrustOption) IPExtractor","#func-ExtractIPFromXFFHeader",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f31.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f31.json new file mode 100644 index 00000000..712eae76 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f31.json @@ -0,0 +1 @@ +[["func ExtractSchemeDirect() SchemeExtractor","/sourcey/api/package-root.html#func-ExtractSchemeDirect",4,1],["func ExtractSchemeFromHeaders(options ...TrustOption) SchemeExtractor","#func-ExtractSchemeFromHeaders",4,1],["func FormFieldBinder(c *Context) *ValueBinder","#func-FormFieldBinder",4,1],["func FormValue[T any](c *Context, key string, opts ...any) (T, error)","#func-FormValue",4,1],["func FormValueOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error)","#func-FormValueOr",4,1],["func FormValues[T any](c *Context, key string, opts ...any) ([]T, error)","#func-FormValues",4,1],["func FormValuesOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error)","#func-FormValuesOr",4,1],["func HandlerName(h HandlerFunc) string","#func-HandlerName",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f32.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f32.json new file mode 100644 index 00000000..521da331 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f32.json @@ -0,0 +1 @@ +[["func LegacyIPExtractor() IPExtractor","/sourcey/api/package-root.html#func-LegacyIPExtractor",4,1],["func LegacySchemeExtractor() SchemeExtractor","#func-LegacySchemeExtractor",4,1],["func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS","#func-MustSubFS",4,1],["func New() *Echo","#func-New",4,1],["func NewBindingError(sourceParam string, values []string, message string, err error) error","#func-NewBindingError",4,1],["func NewConcurrentRouter(r Router) Router","#func-NewConcurrentRouter",4,1],["func NewContext(r *http.Request, w http.ResponseWriter, opts ...any) *Context","#func-NewContext",4,1],["func NewDefaultFS(dir string) fs.FS","#func-NewDefaultFS",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f33.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f33.json new file mode 100644 index 00000000..1da76466 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f33.json @@ -0,0 +1 @@ +[["func NewHTTPError(code int, message string) *HTTPError","/sourcey/api/package-root.html#func-NewHTTPError",4,1],["func NewResponse(w http.ResponseWriter, logger *slog.Logger) (r *Response)","#func-NewResponse",4,1],["func NewRouter(config RouterConfig) *DefaultRouter","#func-NewRouter",4,1],["func NewVirtualHostHandler(vhosts map[string]*Echo) *Echo","#func-NewVirtualHostHandler",4,1],["func NewWithConfig(config Config) *Echo","#func-NewWithConfig",4,1],["func ParseValue[T any](value string, opts ...any) (T, error)","#func-ParseValue",4,1],["func ParseValueOr[T any](value string, defaultValue T, opts ...any) (T, error)","#func-ParseValueOr",4,1],["func ParseValues[T any](values []string, opts ...any) ([]T, error)","#func-ParseValues",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f34.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f34.json new file mode 100644 index 00000000..19546c56 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f34.json @@ -0,0 +1 @@ +[["func ParseValuesOr[T any](values []string, defaultValue []T, opts ...any) ([]T, error)","/sourcey/api/package-root.html#func-ParseValuesOr",4,1],["func PathParam[T any](c *Context, paramName string, opts ...any) (T, error)","#func-PathParam",4,1],["func PathParamOr[T any](c *Context, paramName string, defaultValue T, opts ...any) (T, error)","#func-PathParamOr",4,1],["func PathValuesBinder(c *Context) *ValueBinder","#func-PathValuesBinder",4,1],["func ProblemDetailsHTTPErrorHandler(exposeError bool) HTTPErrorHandler","#func-ProblemDetailsHTTPErrorHandler",4,1],["func QueryParam[T any](c *Context, key string, opts ...any) (T, error)","#func-QueryParam",4,1],["func QueryParamOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error)","#func-QueryParamOr",4,1],["func QueryParams[T any](c *Context, key string, opts ...any) ([]T, error)","#func-QueryParams",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f35.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f35.json new file mode 100644 index 00000000..49b2bedf --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f35.json @@ -0,0 +1 @@ +[["func QueryParamsBinder(c *Context) *ValueBinder","/sourcey/api/package-root.html#func-QueryParamsBinder",4,1],["func QueryParamsOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error)","#func-QueryParamsOr",4,1],["func ResolveResponseStatus(rw http.ResponseWriter, err error) (resp *Response, status int)","#func-ResolveResponseStatus",4,1],["func StaticDirectoryHandler(fileSystem fs.FS, disablePathUnescaping bool) HandlerFunc","#func-StaticDirectoryHandler",4,1],["func StaticFileHandler(file string, filesystem fs.FS) HandlerFunc","#func-StaticFileHandler",4,1],["func StatusCode(err error) int","#func-StatusCode",4,1],["func TrustIPRange(ipRange *net.IPNet) TrustOption","#func-TrustIPRange",4,1],["func TrustLinkLocal(v bool) TrustOption","#func-TrustLinkLocal",4,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f36.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f36.json new file mode 100644 index 00000000..fc07a77f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f36.json @@ -0,0 +1 @@ +[["func TrustLoopback(v bool) TrustOption","/sourcey/api/package-root.html#func-TrustLoopback",4,1],["func TrustPrivateNet(v bool) TrustOption","#func-TrustPrivateNet",4,1],["func UnwrapResponse(rw http.ResponseWriter) (*Response, error)","#func-UnwrapResponse",4,1],["func WrapHandler(h http.Handler) HandlerFunc","#func-WrapHandler",4,1],["func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc","#func-WrapMiddleware",4,1],["type AddRouteError","#type-AddRouteError",6,1],["AddRouteError.Error","#method-AddRouteError-Error",7,1],["AddRouteError.Unwrap","#method-AddRouteError-Unwrap",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f37.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f37.json new file mode 100644 index 00000000..cd144b63 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f37.json @@ -0,0 +1 @@ +[["type BindUnmarshaler","/sourcey/api/package-root.html#type-BindUnmarshaler",6,1],["type Binder","#type-Binder",6,1],["type BindingError","#type-BindingError",6,1],["BindingError.Error","#method-BindingError-Error",7,1],["BindingError.MarshalJSON","#method-BindingError-MarshalJSON",7,1],["type Config","#type-Config",6,1],["type Context","#type-Context",6,1],["Context.Attachment","#method-Context-Attachment",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f38.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f38.json new file mode 100644 index 00000000..725be62f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f38.json @@ -0,0 +1 @@ +[["Context.Bind","/sourcey/api/package-root.html#method-Context-Bind",7,1],["Context.Blob","#method-Context-Blob",7,1],["Context.Cookie","#method-Context-Cookie",7,1],["Context.Cookies","#method-Context-Cookies",7,1],["Context.Echo","#method-Context-Echo",7,1],["Context.File","#method-Context-File",7,1],["Context.FileFS","#method-Context-FileFS",7,1],["Context.FormFile","#method-Context-FormFile",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f39.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f39.json new file mode 100644 index 00000000..766f2f3c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f39.json @@ -0,0 +1 @@ +[["Context.FormValue","/sourcey/api/package-root.html#method-Context-FormValue",7,1],["Context.FormValueOr","#method-Context-FormValueOr",7,1],["Context.FormValues","#method-Context-FormValues",7,1],["Context.Get","#method-Context-Get",7,1],["Context.HTML","#method-Context-HTML",7,1],["Context.HTMLBlob","#method-Context-HTMLBlob",7,1],["Context.InitializeRoute","#method-Context-InitializeRoute",7,1],["Context.Inline","#method-Context-Inline",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f4.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f4.json new file mode 100644 index 00000000..6fb2c795 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f4.json @@ -0,0 +1 @@ +[["Migration v4 → v5","/sourcey/guides/migration-v4-v5.html",0,0],["Context: interface → concrete struct","#context-interface--concrete-struct",1,0],["Logging: the old interface is gone, slog is in","#logging-the-old-interface-is-gone-slog-is-in",1,0],["Routing: a Router interface","#routing-a-router-interface",1,0],["Generic helpers take *Context","#generic-helpers-take-context",1,0],["New test helpers: echotest","#new-test-helpers-echotest",1,0],["Version support","#version-support",1,0],["Checklist","#checklist",1,0]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f40.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f40.json new file mode 100644 index 00000000..a677bc0f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f40.json @@ -0,0 +1 @@ +[["Context.IsTLS","/sourcey/api/package-root.html#method-Context-IsTLS",7,1],["Context.IsWebSocket","#method-Context-IsWebSocket",7,1],["Context.JSON","#method-Context-JSON",7,1],["Context.JSONBlob","#method-Context-JSONBlob",7,1],["Context.JSONP","#method-Context-JSONP",7,1],["Context.JSONPBlob","#method-Context-JSONPBlob",7,1],["Context.JSONPretty","#method-Context-JSONPretty",7,1],["Context.Logger","#method-Context-Logger",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f41.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f41.json new file mode 100644 index 00000000..7926abea --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f41.json @@ -0,0 +1 @@ +[["Context.MultipartForm","/sourcey/api/package-root.html#method-Context-MultipartForm",7,1],["Context.NoContent","#method-Context-NoContent",7,1],["Context.Param","#method-Context-Param",7,1],["Context.ParamOr","#method-Context-ParamOr",7,1],["Context.Path","#method-Context-Path",7,1],["Context.PathValues","#method-Context-PathValues",7,1],["Context.QueryParam","#method-Context-QueryParam",7,1],["Context.QueryParamOr","#method-Context-QueryParamOr",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f42.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f42.json new file mode 100644 index 00000000..5b304a9c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f42.json @@ -0,0 +1 @@ +[["Context.QueryParams","/sourcey/api/package-root.html#method-Context-QueryParams",7,1],["Context.QueryString","#method-Context-QueryString",7,1],["Context.RealIP","#method-Context-RealIP",7,1],["Context.Redirect","#method-Context-Redirect",7,1],["Context.Render","#method-Context-Render",7,1],["Context.Request","#method-Context-Request",7,1],["Context.Reset","#method-Context-Reset",7,1],["Context.Response","#method-Context-Response",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f43.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f43.json new file mode 100644 index 00000000..0a7461fe --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f43.json @@ -0,0 +1 @@ +[["Context.RouteInfo","/sourcey/api/package-root.html#method-Context-RouteInfo",7,1],["Context.Scheme","#method-Context-Scheme",7,1],["Context.Set","#method-Context-Set",7,1],["Context.SetCookie","#method-Context-SetCookie",7,1],["Context.SetLogger","#method-Context-SetLogger",7,1],["Context.SetPath","#method-Context-SetPath",7,1],["Context.SetPathValues","#method-Context-SetPathValues",7,1],["Context.SetRequest","#method-Context-SetRequest",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f44.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f44.json new file mode 100644 index 00000000..51e0960c --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f44.json @@ -0,0 +1 @@ +[["Context.SetResponse","/sourcey/api/package-root.html#method-Context-SetResponse",7,1],["Context.Stream","#method-Context-Stream",7,1],["Context.String","#method-Context-String",7,1],["Context.Validate","#method-Context-Validate",7,1],["Context.ValidateCtx","#method-Context-ValidateCtx",7,1],["Context.XML","#method-Context-XML",7,1],["Context.XMLBlob","#method-Context-XMLBlob",7,1],["Context.XMLPretty","#method-Context-XMLPretty",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f45.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f45.json new file mode 100644 index 00000000..da2775b0 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f45.json @@ -0,0 +1 @@ +[["type DefaultBinder","/sourcey/api/package-root.html#type-DefaultBinder",6,1],["DefaultBinder.Bind","#method-DefaultBinder-Bind",7,1],["type DefaultJSONSerializer","#type-DefaultJSONSerializer",6,1],["DefaultJSONSerializer.Deserialize","#method-DefaultJSONSerializer-Deserialize",7,1],["DefaultJSONSerializer.Serialize","#method-DefaultJSONSerializer-Serialize",7,1],["type DefaultRouter","#type-DefaultRouter",6,1],["DefaultRouter.Add","#method-DefaultRouter-Add",7,1],["DefaultRouter.Remove","#method-DefaultRouter-Remove",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f46.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f46.json new file mode 100644 index 00000000..7d266405 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f46.json @@ -0,0 +1 @@ +[["DefaultRouter.Route","/sourcey/api/package-root.html#method-DefaultRouter-Route",7,1],["DefaultRouter.Routes","#method-DefaultRouter-Routes",7,1],["type Echo","#type-Echo",6,1],["Echo.AcquireContext","#method-Echo-AcquireContext",7,1],["Echo.Add","#method-Echo-Add",7,1],["Echo.AddRoute","#method-Echo-AddRoute",7,1],["Echo.Any","#method-Echo-Any",7,1],["Echo.CONNECT","#method-Echo-CONNECT",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f47.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f47.json new file mode 100644 index 00000000..4e51d27d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f47.json @@ -0,0 +1 @@ +[["Echo.DELETE","/sourcey/api/package-root.html#method-Echo-DELETE",7,1],["Echo.File","#method-Echo-File",7,1],["Echo.FileFS","#method-Echo-FileFS",7,1],["Echo.GET","#method-Echo-GET",7,1],["Echo.Group","#method-Echo-Group",7,1],["Echo.HEAD","#method-Echo-HEAD",7,1],["Echo.Match","#method-Echo-Match",7,1],["Echo.Middlewares","#method-Echo-Middlewares",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f48.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f48.json new file mode 100644 index 00000000..99016eb4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f48.json @@ -0,0 +1 @@ +[["Echo.NewContext","/sourcey/api/package-root.html#method-Echo-NewContext",7,1],["Echo.OPTIONS","#method-Echo-OPTIONS",7,1],["Echo.PATCH","#method-Echo-PATCH",7,1],["Echo.POST","#method-Echo-POST",7,1],["Echo.PUT","#method-Echo-PUT",7,1],["Echo.Pre","#method-Echo-Pre",7,1],["Echo.PreMiddlewares","#method-Echo-PreMiddlewares",7,1],["Echo.QUERY","#method-Echo-QUERY",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f49.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f49.json new file mode 100644 index 00000000..1cbf3a18 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f49.json @@ -0,0 +1 @@ +[["Echo.ReleaseContext","/sourcey/api/package-root.html#method-Echo-ReleaseContext",7,1],["Echo.RouteNotFound","#method-Echo-RouteNotFound",7,1],["Echo.Router","#method-Echo-Router",7,1],["Echo.ServeHTTP","#method-Echo-ServeHTTP",7,1],["Echo.Start","#method-Echo-Start",7,1],["Echo.Static","#method-Echo-Static",7,1],["Echo.StaticFS","#method-Echo-StaticFS",7,1],["Echo.TRACE","#method-Echo-TRACE",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f5.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f5.json new file mode 100644 index 00000000..1cc341a4 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f5.json @@ -0,0 +1 @@ +[["github.com/labstack/echo/v5","/sourcey/api/package-root.html",0,1],["Constants","#constants",1,1],["Variables","#variables",1,1],["Functions","#functions",1,1],["BindBody","#func-BindBody",1,1],["BindHeaders","#func-BindHeaders",1,1],["BindPathValues","#func-BindPathValues",1,1],["BindQueryParams","#func-BindQueryParams",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f50.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f50.json new file mode 100644 index 00000000..a0fae00f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f50.json @@ -0,0 +1 @@ +[["Echo.Use","/sourcey/api/package-root.html#method-Echo-Use",7,1],["type Group","#type-Group",6,1],["Group.Add","#method-Group-Add",7,1],["Group.AddRoute","#method-Group-AddRoute",7,1],["Group.Any","#method-Group-Any",7,1],["Group.CONNECT","#method-Group-CONNECT",7,1],["Group.DELETE","#method-Group-DELETE",7,1],["Group.File","#method-Group-File",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f51.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f51.json new file mode 100644 index 00000000..edba3376 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f51.json @@ -0,0 +1 @@ +[["Group.FileFS","/sourcey/api/package-root.html#method-Group-FileFS",7,1],["Group.GET","#method-Group-GET",7,1],["Group.Group","#method-Group-Group",7,1],["Group.HEAD","#method-Group-HEAD",7,1],["Group.Match","#method-Group-Match",7,1],["Group.OPTIONS","#method-Group-OPTIONS",7,1],["Group.PATCH","#method-Group-PATCH",7,1],["Group.POST","#method-Group-POST",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f52.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f52.json new file mode 100644 index 00000000..d35b0168 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f52.json @@ -0,0 +1 @@ +[["Group.PUT","/sourcey/api/package-root.html#method-Group-PUT",7,1],["Group.QUERY","#method-Group-QUERY",7,1],["Group.RouteNotFound","#method-Group-RouteNotFound",7,1],["Group.Static","#method-Group-Static",7,1],["Group.StaticFS","#method-Group-StaticFS",7,1],["Group.TRACE","#method-Group-TRACE",7,1],["Group.Use","#method-Group-Use",7,1],["type HTTPError","#type-HTTPError",6,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f53.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f53.json new file mode 100644 index 00000000..78e13581 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f53.json @@ -0,0 +1 @@ +[["HTTPError.Error","/sourcey/api/package-root.html#method-HTTPError-Error",7,1],["HTTPError.StatusCode","#method-HTTPError-StatusCode",7,1],["HTTPError.Unwrap","#method-HTTPError-Unwrap",7,1],["HTTPError.Wrap","#method-HTTPError-Wrap",7,1],["type HTTPErrorHandler","#type-HTTPErrorHandler",6,1],["type HTTPStatusCoder","#type-HTTPStatusCoder",6,1],["type HandlerFunc","#type-HandlerFunc",6,1],["type IPExtractor","#type-IPExtractor",6,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f54.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f54.json new file mode 100644 index 00000000..d1bfc010 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f54.json @@ -0,0 +1 @@ +[["type JSONSerializer","/sourcey/api/package-root.html#type-JSONSerializer",6,1],["type MiddlewareConfigurator","#type-MiddlewareConfigurator",6,1],["type MiddlewareFunc","#type-MiddlewareFunc",6,1],["type PathValue","#type-PathValue",6,1],["type PathValues","#type-PathValues",6,1],["PathValues.Get","#method-PathValues-Get",7,1],["PathValues.GetOr","#method-PathValues-GetOr",7,1],["type ProblemError","#type-ProblemError",6,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f55.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f55.json new file mode 100644 index 00000000..ade33296 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f55.json @@ -0,0 +1 @@ +[["ProblemError.Error","/sourcey/api/package-root.html#method-ProblemError-Error",7,1],["ProblemError.StatusCode","#method-ProblemError-StatusCode",7,1],["type ProblemErrorer","#type-ProblemErrorer",6,1],["type Renderer","#type-Renderer",6,1],["type Response","#type-Response",6,1],["Response.After","#method-Response-After",7,1],["Response.Before","#method-Response-Before",7,1],["Response.Flush","#method-Response-Flush",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f56.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f56.json new file mode 100644 index 00000000..9e91c350 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f56.json @@ -0,0 +1 @@ +[["Response.Hijack","/sourcey/api/package-root.html#method-Response-Hijack",7,1],["Response.Unwrap","#method-Response-Unwrap",7,1],["Response.Write","#method-Response-Write",7,1],["Response.WriteHeader","#method-Response-WriteHeader",7,1],["type Route","#type-Route",6,1],["Route.ToRouteInfo","#method-Route-ToRouteInfo",7,1],["Route.WithPrefix","#method-Route-WithPrefix",7,1],["type RouteInfo","#type-RouteInfo",6,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f57.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f57.json new file mode 100644 index 00000000..d2736b4b --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f57.json @@ -0,0 +1 @@ +[["RouteInfo.Clone","/sourcey/api/package-root.html#method-RouteInfo-Clone",7,1],["RouteInfo.Reverse","#method-RouteInfo-Reverse",7,1],["type Router","#type-Router",6,1],["type RouterConfig","#type-RouterConfig",6,1],["type Routes","#type-Routes",6,1],["Routes.Clone","#method-Routes-Clone",7,1],["Routes.FilterByMethod","#method-Routes-FilterByMethod",7,1],["Routes.FilterByName","#method-Routes-FilterByName",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f58.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f58.json new file mode 100644 index 00000000..7c107db0 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f58.json @@ -0,0 +1 @@ +[["Routes.FilterByPath","/sourcey/api/package-root.html#method-Routes-FilterByPath",7,1],["Routes.FindByMethodPath","#method-Routes-FindByMethodPath",7,1],["Routes.Reverse","#method-Routes-Reverse",7,1],["type SchemeExtractor","#type-SchemeExtractor",6,1],["type StartConfig","#type-StartConfig",6,1],["StartConfig.Start","#method-StartConfig-Start",7,1],["StartConfig.StartTLS","#method-StartConfig-StartTLS",7,1],["type TemplateRenderer","#type-TemplateRenderer",6,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f59.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f59.json new file mode 100644 index 00000000..1282ceb3 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f59.json @@ -0,0 +1 @@ +[["TemplateRenderer.Render","/sourcey/api/package-root.html#method-TemplateRenderer-Render",7,1],["type TimeLayout","#type-TimeLayout",6,1],["type TimeOpts","#type-TimeOpts",6,1],["type TrustOption","#type-TrustOption",6,1],["type Validator","#type-Validator",6,1],["type ValueBinder","#type-ValueBinder",6,1],["ValueBinder.BindError","#method-ValueBinder-BindError",7,1],["Example ValueBinder.BindError","#method-ValueBinder-BindError",5,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f6.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f6.json new file mode 100644 index 00000000..ca82618f --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f6.json @@ -0,0 +1 @@ +[["ContextGet","/sourcey/api/package-root.html#func-ContextGet",1,1],["ContextGetOr","#func-ContextGetOr",1,1],["DefaultHTTPErrorHandler","#func-DefaultHTTPErrorHandler",1,1],["ExtractIPDirect","#func-ExtractIPDirect",1,1],["ExtractIPFromRealIPHeader","#func-ExtractIPFromRealIPHeader",1,1],["ExtractIPFromXFFHeader","#func-ExtractIPFromXFFHeader",1,1],["ExtractSchemeDirect","#func-ExtractSchemeDirect",1,1],["ExtractSchemeFromHeaders","#func-ExtractSchemeFromHeaders",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f60.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f60.json new file mode 100644 index 00000000..3d336245 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f60.json @@ -0,0 +1 @@ +[["ValueBinder.BindErrors","/sourcey/api/package-root.html#method-ValueBinder-BindErrors",7,1],["Example ValueBinder.BindErrors","#method-ValueBinder-BindErrors",5,1],["ValueBinder.BindUnmarshaler","#method-ValueBinder-BindUnmarshaler",7,1],["ValueBinder.BindWithDelimiter","#method-ValueBinder-BindWithDelimiter",7,1],["ValueBinder.Bool","#method-ValueBinder-Bool",7,1],["ValueBinder.Bools","#method-ValueBinder-Bools",7,1],["ValueBinder.Byte","#method-ValueBinder-Byte",7,1],["ValueBinder.CustomFunc","#method-ValueBinder-CustomFunc",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f61.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f61.json new file mode 100644 index 00000000..7ef9b314 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f61.json @@ -0,0 +1 @@ +[["Example ValueBinder.CustomFunc","/sourcey/api/package-root.html#method-ValueBinder-CustomFunc",5,1],["ValueBinder.Duration","#method-ValueBinder-Duration",7,1],["ValueBinder.Durations","#method-ValueBinder-Durations",7,1],["ValueBinder.FailFast","#method-ValueBinder-FailFast",7,1],["ValueBinder.Float32","#method-ValueBinder-Float32",7,1],["ValueBinder.Float32s","#method-ValueBinder-Float32s",7,1],["ValueBinder.Float64","#method-ValueBinder-Float64",7,1],["ValueBinder.Float64s","#method-ValueBinder-Float64s",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f62.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f62.json new file mode 100644 index 00000000..94e10dcf --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f62.json @@ -0,0 +1 @@ +[["ValueBinder.Int","/sourcey/api/package-root.html#method-ValueBinder-Int",7,1],["ValueBinder.Int16","#method-ValueBinder-Int16",7,1],["ValueBinder.Int16s","#method-ValueBinder-Int16s",7,1],["ValueBinder.Int32","#method-ValueBinder-Int32",7,1],["ValueBinder.Int32s","#method-ValueBinder-Int32s",7,1],["ValueBinder.Int64","#method-ValueBinder-Int64",7,1],["ValueBinder.Int64s","#method-ValueBinder-Int64s",7,1],["ValueBinder.Int8","#method-ValueBinder-Int8",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f63.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f63.json new file mode 100644 index 00000000..2f016a48 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f63.json @@ -0,0 +1 @@ +[["ValueBinder.Int8s","/sourcey/api/package-root.html#method-ValueBinder-Int8s",7,1],["ValueBinder.Ints","#method-ValueBinder-Ints",7,1],["ValueBinder.JSONUnmarshaler","#method-ValueBinder-JSONUnmarshaler",7,1],["ValueBinder.MustBindUnmarshaler","#method-ValueBinder-MustBindUnmarshaler",7,1],["ValueBinder.MustBindWithDelimiter","#method-ValueBinder-MustBindWithDelimiter",7,1],["ValueBinder.MustBool","#method-ValueBinder-MustBool",7,1],["ValueBinder.MustBools","#method-ValueBinder-MustBools",7,1],["ValueBinder.MustByte","#method-ValueBinder-MustByte",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f64.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f64.json new file mode 100644 index 00000000..783ef259 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f64.json @@ -0,0 +1 @@ +[["ValueBinder.MustCustomFunc","/sourcey/api/package-root.html#method-ValueBinder-MustCustomFunc",7,1],["ValueBinder.MustDuration","#method-ValueBinder-MustDuration",7,1],["ValueBinder.MustDurations","#method-ValueBinder-MustDurations",7,1],["ValueBinder.MustFloat32","#method-ValueBinder-MustFloat32",7,1],["ValueBinder.MustFloat32s","#method-ValueBinder-MustFloat32s",7,1],["ValueBinder.MustFloat64","#method-ValueBinder-MustFloat64",7,1],["ValueBinder.MustFloat64s","#method-ValueBinder-MustFloat64s",7,1],["ValueBinder.MustInt","#method-ValueBinder-MustInt",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f65.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f65.json new file mode 100644 index 00000000..87dd869a --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f65.json @@ -0,0 +1 @@ +[["ValueBinder.MustInt16","/sourcey/api/package-root.html#method-ValueBinder-MustInt16",7,1],["ValueBinder.MustInt16s","#method-ValueBinder-MustInt16s",7,1],["ValueBinder.MustInt32","#method-ValueBinder-MustInt32",7,1],["ValueBinder.MustInt32s","#method-ValueBinder-MustInt32s",7,1],["ValueBinder.MustInt64","#method-ValueBinder-MustInt64",7,1],["ValueBinder.MustInt64s","#method-ValueBinder-MustInt64s",7,1],["ValueBinder.MustInt8","#method-ValueBinder-MustInt8",7,1],["ValueBinder.MustInt8s","#method-ValueBinder-MustInt8s",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f66.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f66.json new file mode 100644 index 00000000..7e59dc31 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f66.json @@ -0,0 +1 @@ +[["ValueBinder.MustInts","/sourcey/api/package-root.html#method-ValueBinder-MustInts",7,1],["ValueBinder.MustJSONUnmarshaler","#method-ValueBinder-MustJSONUnmarshaler",7,1],["ValueBinder.MustString","#method-ValueBinder-MustString",7,1],["ValueBinder.MustStrings","#method-ValueBinder-MustStrings",7,1],["ValueBinder.MustTextUnmarshaler","#method-ValueBinder-MustTextUnmarshaler",7,1],["ValueBinder.MustTime","#method-ValueBinder-MustTime",7,1],["ValueBinder.MustTimes","#method-ValueBinder-MustTimes",7,1],["ValueBinder.MustUint","#method-ValueBinder-MustUint",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f67.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f67.json new file mode 100644 index 00000000..375fb9d2 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f67.json @@ -0,0 +1 @@ +[["ValueBinder.MustUint16","/sourcey/api/package-root.html#method-ValueBinder-MustUint16",7,1],["ValueBinder.MustUint16s","#method-ValueBinder-MustUint16s",7,1],["ValueBinder.MustUint32","#method-ValueBinder-MustUint32",7,1],["ValueBinder.MustUint32s","#method-ValueBinder-MustUint32s",7,1],["ValueBinder.MustUint64","#method-ValueBinder-MustUint64",7,1],["ValueBinder.MustUint64s","#method-ValueBinder-MustUint64s",7,1],["ValueBinder.MustUint8","#method-ValueBinder-MustUint8",7,1],["ValueBinder.MustUint8s","#method-ValueBinder-MustUint8s",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f68.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f68.json new file mode 100644 index 00000000..6c356169 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f68.json @@ -0,0 +1 @@ +[["ValueBinder.MustUints","/sourcey/api/package-root.html#method-ValueBinder-MustUints",7,1],["ValueBinder.MustUnixTime","#method-ValueBinder-MustUnixTime",7,1],["ValueBinder.MustUnixTimeMilli","#method-ValueBinder-MustUnixTimeMilli",7,1],["ValueBinder.MustUnixTimeNano","#method-ValueBinder-MustUnixTimeNano",7,1],["ValueBinder.String","#method-ValueBinder-String",7,1],["ValueBinder.Strings","#method-ValueBinder-Strings",7,1],["ValueBinder.TextUnmarshaler","#method-ValueBinder-TextUnmarshaler",7,1],["ValueBinder.Time","#method-ValueBinder-Time",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f69.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f69.json new file mode 100644 index 00000000..7113bc73 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f69.json @@ -0,0 +1 @@ +[["ValueBinder.Times","/sourcey/api/package-root.html#method-ValueBinder-Times",7,1],["ValueBinder.Uint","#method-ValueBinder-Uint",7,1],["ValueBinder.Uint16","#method-ValueBinder-Uint16",7,1],["ValueBinder.Uint16s","#method-ValueBinder-Uint16s",7,1],["ValueBinder.Uint32","#method-ValueBinder-Uint32",7,1],["ValueBinder.Uint32s","#method-ValueBinder-Uint32s",7,1],["ValueBinder.Uint64","#method-ValueBinder-Uint64",7,1],["ValueBinder.Uint64s","#method-ValueBinder-Uint64s",7,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f7.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f7.json new file mode 100644 index 00000000..a8076989 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f7.json @@ -0,0 +1 @@ +[["FormFieldBinder","/sourcey/api/package-root.html#func-FormFieldBinder",1,1],["FormValue","#func-FormValue",1,1],["FormValueOr","#func-FormValueOr",1,1],["FormValues","#func-FormValues",1,1],["FormValuesOr","#func-FormValuesOr",1,1],["HandlerName","#func-HandlerName",1,1],["LegacyIPExtractor","#func-LegacyIPExtractor",1,1],["LegacySchemeExtractor","#func-LegacySchemeExtractor",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f70.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f70.json new file mode 100644 index 00000000..c9b25e9d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f70.json @@ -0,0 +1 @@ +[["ValueBinder.Uint8","/sourcey/api/package-root.html#method-ValueBinder-Uint8",7,1],["ValueBinder.Uint8s","#method-ValueBinder-Uint8s",7,1],["ValueBinder.Uints","#method-ValueBinder-Uints",7,1],["ValueBinder.UnixTime","#method-ValueBinder-UnixTime",7,1],["ValueBinder.UnixTimeMilli","#method-ValueBinder-UnixTimeMilli",7,1],["ValueBinder.UnixTimeNano","#method-ValueBinder-UnixTimeNano",7,1],["Go API","/sourcey/api.html",0,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f8.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f8.json new file mode 100644 index 00000000..eea553dd --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f8.json @@ -0,0 +1 @@ +[["MustSubFS","/sourcey/api/package-root.html#func-MustSubFS",1,1],["New","#func-New",1,1],["NewBindingError","#func-NewBindingError",1,1],["NewConcurrentRouter","#func-NewConcurrentRouter",1,1],["NewContext","#func-NewContext",1,1],["NewDefaultFS","#func-NewDefaultFS",1,1],["NewHTTPError","#func-NewHTTPError",1,1],["NewResponse","#func-NewResponse",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/f9.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f9.json new file mode 100644 index 00000000..49cb3cc1 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/f9.json @@ -0,0 +1 @@ +[["NewRouter","/sourcey/api/package-root.html#func-NewRouter",1,1],["NewVirtualHostHandler","#func-NewVirtualHostHandler",1,1],["NewWithConfig","#func-NewWithConfig",1,1],["ParseValue","#func-ParseValue",1,1],["ParseValueOr","#func-ParseValueOr",1,1],["ParseValues","#func-ParseValues",1,1],["ParseValuesOr","#func-ParseValuesOr",1,1],["PathParam","#func-PathParam",1,1]] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v0.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v0.json new file mode 100644 index 00000000..87da848d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v0.json @@ -0,0 +1 @@ +["0","00","000000000","01","01t00","02","02t15","03","04","05","1","100","1000000000","10008","103","10sec","12","123","123456789","13","13t15","140000000","1609180603","1609180603123456789","1647184410140","18","1970","1n","1xx","2","20","200","2006","2015","2020","2022","2026","2027","20world","21","232","25","26","28t18","2e","2f","2fprivate","3","30","31","3253","36","38","3d","4","400","401","403","404","405","408","413","415","42","429","43","4fcm","5","50","500","502","503","53","55","57f9","59aacdd","59aacddc4a13904b8a80a76f1ec838c495b5feca","5hp7","7","7231","76qj","78","7wfq","8","8080","8259","9007199254740991","9457","999999999","_","_integer","_safe","a","abc","about","absent","absolute","abuse","accept","accepts","access","accessed","accessing","accessors","accordance","according","acl","acquirecontext","across","action","active","actively","actual","add","added","adding","additional","addr","address","addresses","addroute","addrouteerror","adds","admin","adopting","advanced","advertised","advisories","after","afterwards","ag","again","against","age","ala","algorithm","all","allocate","allocating","allocations","allow","allowed","allowoverwritingroute","allows","alone","along","already","also","alternative","alternatives","amounts","an","and","answers","any","anymore","anyway","api","api_changes_v5","apierror","apis","application","applies","appropriate","are","arg","arguments","around","as","ascii","assets","assetsadmin","assigns","assume","assumes","at","attached","attachment","audit","auth","authenticate","authentication","authorization","autohandlehead","automatic","automatically","avoid","avoids","aware","b","back","background","bad","balancer","balancers","banner","base64","based","bash","basic","basicauth","basicauthwithconfig","be","because","become","been","before","beforeservefunc","behavior","behaviour","behind","being","below","berr","between","bi","biggest","bin","binary","bind","bindable","bindbody","binder","binderror","binderrors","bindheaders","binding","bindingerror","bindpathvalues","bindqueryparams","binds","bindunmarshaler","bindwithdelimiter","bits","blank","blob","blog","body","bodydump","bodydumpwithconfig","bodylimit","bodylimitwithconfig","bool","bools","both","bound","brackets","breaking","browser","buffer","buffered","bufio","bug","build","built","but","by","bypass","bypasses","byte","c","cache","call","callback","called","caller","calling","calls","can","canc","cancel","cancellation","cannot","capacity","captured","carries","carrying","casbin","case","cases","castable","catch","catches","category","caused","cdn","centralized","cert","certain","certfile","certfilesystem","certificate","chain","change","changes","changing","character","characters","charset","charsetutf8","cheaper","check","checked","checklist","checks","choose","cidr","clean","client","clone","cloud","code","codes","collection","collections","com","come","comes","comma","comments","commit","commits","committed","committing","common","commonly","compare","compati","compatibility","compatible","compile","completes","compliant","compress","compression","computations","concatenated","concepts","concern","concrete","concurrency","confidentiality","config","configuration","configure","configured","configures","conn","connect","connection","connections","connects","considerations","considers","console","const","constants","construct","consumes","contain","containing","contains","conte","content","contents","contenttype","context","contextget","contextgetor","contextkeyheaderallow","contextpathparamallocsize","contexts","contexttimeout","continue","contract","contrib","contributors","control","controls","conversion","convert","converted","converting","converts","cookie","cookies","copy","core","coroutine","correctly","correlation","corresponding","cors","corswithconfig","cost","could","count","counters","counting","cover","covered","create","created","creates","createuser","creating","credentials","cross","csrf","csrfwithconfig","ctrl","ctx","curl","current","currentfs","custom","customfunc","customization","customvalidator"] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v1.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v1.json new file mode 100644 index 00000000..6add61c3 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v1.json @@ -0,0 +1 @@ +["cv","d","daily","data","datatracker","date","dates","datetime","db","deadlines","dealing","decide","decides","decode","decoded","decoder","decodes","decodestring","decoding","decompress","decompression","default","defaultbinder","defaulted","defaultfs","defaulthttperrorhandler","defaulting","defaultjsonserializer","defaultrouter","defaults","defaultvalue","defer","defined","defines","delete","deleteuser","deliberately","delimiter","demos","deployed","deprecated","derives","deserialize","despite","dest","destination","detail","details","determine","determined","determining","dev","developer","did","different","differs","digits","dir","direct","directly","directory","dirfs","disabled","disablepathunescaping","disposition","distinguish","dl","do","doc","docs","documentation","documented","documents","does","don","done","dos","dot","down","download","drops","duration","durations","during","e","each","earlier","early","ease","echo","echo_header_allow","echo_route_any","echo_route_method_not_allowed_name","echo_route_not_found","echo_route_not_found_name","echo_test","echotest","edges","editor","effect","effects","eg","else","email","embed","embeds","emits","empties","empty","en","enabled","enablepathunescapingstaticfiles","enables","enabling","encoded","encodes","encoding","end","ended","endpoint","endpoints","enforcement","engine","enough","ensure","enumerable","equal","err","errbadgateway","errbadrequest","errcookienotfound","errforbidden","errinternalservererror","errinvalidcertorkeytype","errinvalidjsonpcallback","errinvalidkeytype","errinvalidlistenernetwork","errinvalidredirectcode","errmethodnotallowed","errnonexistentkey","errnotfound","error","errorf","errorfunc","errors","errrenderernotregistered","errrequesttimeout","errs","errserverclosed","errserviceunavailable","errstatusrequestentitytoolarge","errtoomanyrequests","errunauthorized","errunsupportedmediatype","errvalidatornotregistered","escape","escaping","etc","even","eventually","every","everything","exact","example","exampledefaulthttperrorhandler","examples","exceeded","exclude","executed","executetemplate","exhaustion","exist","existent","existing","exists","expected","expensive","explanation","explicit","explicitly","expose","exposeerror","ext","extended","extensible","external","extract","extracted","extracting","extraction","extractipdirect","extractipfromrealipheader","extractipfromxffheader","extractor","extracts","extractschemedirect","extractschemefromheaders","faces","fail","failed","failfast","failfastroutefunc","fails","failure","failures","fall","fallback","falling","falls","false","family","fast","faster","favicon","feel","fetch","fiel","field","fields","figure","file","filecopyrighttext","filefs","fileheader","files","filesystem","filterbymethod","filterbyname","filterbypath","filtered","find","findbymethodpath","fine","first","fix","fixes","flag","flattened","float32","float32s","float64","float64s","flush","flusher","fmt","fn","folder","following","for","forbidden","form","format","formfieldbinder","formfile","formparsemaxmemory","forms","formvalue","formvalueor","formvalues","formvaluesor","forwarded","forwarding","found","fractional","frame","framework","free","friends","from","fs","fsroot","full","fully","func","function","functionality","functions","further","furthest","g","g101","ge","generally","generated","generates","generating","generic","get","getor","getting","getwd","ghsa","github","give","given","global","go","go1","goes","golang","gone","goroutine","graceful","gracefully","gracefultimeout","grained","group","grouped","groups","guard","guarded","guards","guide","guides","gzip","gzipwithconfig","h","had","hand","handle","handled","handler","handlerfunc","handlername","handlers","handles","handling","hands","happens","harnesses","has","have","having","he","head","header","headeraccept","headeracceptencoding","headeraccesscontrolallowcredentials","headeraccesscontrolallowheaders","headeraccesscontrolallowmethods","headeraccesscontrolalloworigin","headeraccesscontrolexposeheaders","headeraccesscontrolmaxage","headeraccesscontrolrequestheaders"] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v2.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v2.json new file mode 100644 index 00000000..abd6c71a --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v2.json @@ -0,0 +1 @@ +["headeraccesscontrolrequestmethod","headerallow","headerauthorization","headercachecontrol","headerconnection","headercontentdisposition","headercontentencoding","headercontentlength","headercontentsecuritypolicy","headercontentsecuritypolicyreportonly","headercontenttype","headercookie","headerifmodifiedsince","headerlastmodified","headerlocation","headerorigin","headerreferrerpolicy","headerretryafter","headers","headersecfetchsite","headerserver","headersetcookie","headerstricttransportsecurity","headerupgrade","headervary","headerwwwauthenticate","headerxcontenttypeoptions","headerxcorrelationid","headerxcsrftoken","headerxforwardedfor","headerxforwardedproto","headerxforwardedprotocol","headerxforwardedssl","headerxframeoptions","headerxhttpmethodoverride","headerxrealip","headerxrequestedwith","headerxrequestid","headerxurlscheme","headerxxssprotection","hello","helper","helpers","helpful","here","hi","hidebanner","hideport","high","higher","hijack","hijacker","hints","historical","hold","holds","honoring","honors","hook","host","hostname","hosts","how","htm","html","htmlblob","http","httperror","httperrorhandl","httperrorhandler","https","httpstatuscoder","httptest","human","i","ico","id","idempotent","identifier","identifiers","identifies","ids","ietf","if","ignored","image","images","implement","implementation","implementations","implemented","implementing","implements","implications","implicit","import","important","in","including","incoming","indent","index","indicate","indicates","info","information","informational","inherited","inheriting","init","initialize","initializeroute","initiator","inline","inner","input","inputs","inserting","inside","install","instance","instances","instead","instructs","int","int16","int16s","int32","int32s","int64","int64s","int8","int8s","integer","integration","interface","interfaces","intermediaries","internal","internalerror","internalservererror","internet","interoperates","interrupt","into","introduces","ints","invalid","io","ip","ipchecker","ipextractor","ipnet","iprange","ips","ipv6","irrelevant","is","issues","istls","iswebsocket","it","its","itself","javascript","jpg","json","jsonblob","jsoniter","jsonp","jsonpblob","jsonpretty","jsons","jsonserializer","jsonunmarshaler","just","jwt","jwtconfig","jwtwithconfig","kbd","keep","kept","key","keyfile","kind","known","labstack","large","last","later","latest","layout","layouts","lead","leading","leads","learn","leave","leaves","left","legacyipextractor","legacyschemeextractor","len","length","lets","letters","level","leverage","libraries","library","license","licensed","like","limit","limiting","limits","line","link","links","list","listen","listenandserve","listener","listeneraddrfunc","listenernetwork","listeners","listening","listusers","live","llc","load","loads","local","localhost","location","log","logerror","logged","logger","logging","login","loglatency","logmethod","logremoteip","logs","logstatus","loguri","logvaluesfunc","longer","look","looks","loopback","low","lower","lowercase","m","made","main","mainly","maintained","maintainers","maintenance","major","make","makes","making","mandatory","map","marshal","marshaler","marshaljson","marshals","mass","master","match","matched","matches","matching","matter","max","maxbytesreader","maximum","may","md","meaning","means","memory","message","metadata","meter","method","methodget","methodnotallowedhandler","methodnotallowedroutename","methods","middleware","middlewareconfigurator","middlewarefunc","middlewares","migration","millisecond","milliseconds","mime","mimeapplicationform","mimeapplicationjavascript","mimeapplicationjavascriptcharsetutf8","mimeapplicationjson","mimeapplicationjsonchars","mimeapplicationjsoncharsetutf8","mimeapplicationmsgpack","mimeapplicationproblemjson","mimeapplicationprotobuf","mimeapplicationxml","mimeapplicationxmlcharsetutf8","mimemultipartform","mimeoctetstream","mimetexthtml","mimetexthtmlcharsetutf8","mimetextplain","mimetextplaincharsetutf8","mimetextxml","mimetextxmlcharsetutf8","minimalist","minor","missing","mit","mod","modified","modifies"] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v3.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v3.json new file mode 100644 index 00000000..fbe2993d --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v3.json @@ -0,0 +1 @@ +["modify","module","modules","more","most","move","mozilla","msgpack","multipart","multipartform","multiple","must","mustbindunmarshaler","mustbindwithdelimiter","mustbool","mustbools","mustbyte","mustcustomfunc","mustduration","mustdurations","mustfloat32","mustfloat32s","mustfloat64","mustfloat64s","mustint","mustint16","mustint16s","mustint32","mustint32s","mustint64","mustint64s","mustint8","mustint8s","mustints","mustjsonunmarshaler","muststring","muststrings","mustsubfs","musttextunmarshaler","musttime","musttimes","mustuint","mustuint16","mustuint16s","mustuint32","mustuint32s","mustuint64","mustuint64s","mustuint8","mustuint8s","mustuints","mustunixtime","mustunixtimemilli","mustunixtimenano","mutate","mutating","mutation","my","myapp","n","naively","name","named","names","nanosecond","nanoseconds","nb","ne","nearest","nearly","necessary","need","needed","needs","nested","nesting","net","network","never","new","newbindingerror","newconcurrentrouter","newcontext","newdecoder","newdefaultfs","newdefaultrouter","newhttperror","newrecorder","newrequest","newresponse","newrouter","newvirtualhosthandler","newwithconfig","next","nil","no","noautoregisterro","noautoregisterroutes","nocontent","nogroupautoregister404routes","non","none","nosec","nosniff","not","notation","note","notes","notfound","notfoundhandler","notfoundroutename","nothing","notifycontext","nov","now","number","object","objects","occur","occurred","occurrence","octet","of","official","ok","old","older","omit","omitempty","on","onaddroute","once","one","ones","ongoing","only","onlyjson","onshutdownerror","onto","open","opening","opentelemetry","operations","option","optional","optionally","options","optionsmethodhandler","opts","or","order","org","origin","original","os","otel","other","otherwise","out","output","over","override","overrides","overwrite","overwrites","overwriting","own","p","package","packages","page","pair","panic","panicking","panics","param","parameter","parameters","paramname","paramor","params","parent","parse","parsed","parseform","parseglob","parseinlocation","parsemultipartform","parser","parses","parsevalue","parsevalueor","parsevalues","parsevaluesor","parsing","part","partially","particularly","parts","party","pass","passed","passes","patch","path","pathparam","pathparamor","pathprefix","paths","pathvalue","pathvalues","pathvaluesbinder","pattern","payload","payoff","pdf","pe","peer","peers","per","performance","performed","pf","pkg","place","places","plain","plan","please","pluggable","plus","point","pointer","policy","pool","pooled","populate","populated","port","portion","possibility","post","posts","pprof","pre","precedence","precis","precision","precisions","predefined","prefer","prefers","prefix","premiddlewares","present","preserve","preserved","pretty","preventing","previous","print","printf","priority","private","probing","problem","problemdetailshttperrorhandler","problemerror","problemerrorer","process","processes","processing","produce","production","project","projects","prometheus","prompting","property","propfind","protected","protection","proto","protobuf","protocol","provide","provided","provides","providing","proxies","proxis","proxy","public","put","q","quality","query","queryparam","queryparamor","queryparams","queryparamsbinder","queryparamsor","querystring","quickstart","quota","r","r429","races","radix","random","range","ranges","rate","rather","raw","rawpath","re","reach","read","readable","reader","reading","reads","readwriter","real","realip","really","reason","received","recipients","recover","recovered","recoverwithconfig","recovery","recreates","redirect","redirected","redirects","reduce","reference","referrer","register","registered","registering","registers","registration","registry","related","relationship","relative","release","releasecontext","released","releases","relevant","reliable","rely","relying","remember","remote","remoteaddr","remove","removed","removes","removetrailingslash","renamed","render","renderer","renderers","rendering","renders","replace","replaced","replaces","replacing","reply"] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v4.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v4.json new file mode 100644 index 00000000..86d02214 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v4.json @@ -0,0 +1 @@ +["report","reports","repositories","repository","represents","req","request","requested","requestlogger","requestloggerconfig","requestloggervalues","requestloggerwithconfig","requests","require","required","requires","reset","resets","resolution","resolve","resolveresponsestatus","resource","resources","resp","respectively","response","responsecontroller","responses","responsewriter","responsible","restrict","result","results","retain","retrieves","retry","return","returned","returning","returns","reuse","reuses","reverse","reverses","rewrite","rewrites","rfc","rfc3339","rfc3339nano","rfc7231","rfc8259","rfc9457","ri","rolled","root","rootdirectory","rout","routable","route","routeany","routefunc","routeinfo","routename","routenotfound","router","routerconfig","routes","routine","routing","ru","rule","rules","run","runs","rw","s","safe","safely","safety","same","satisfy","save","saves","sc","scalar","scheme","schemeextractor","scoped","script","search","searched","searches","sec","seconds","section","secure","security","see","seen","segments","selects","semantics","send","sending","sends","sent","separate","separated","separately","separator","serialization","serialize","serialized","serve","served","servehttp","server","servers","serves","serving","session","sessions","set","setcookie","setlogger","setpath","setpathvalues","setrequest","setresponse","sets","setting","sg","sgvsbg8gv29ybgq","share","sharing","sharp","shipping","short","should","shut","shutdown","shuts","shutting","sibling","side","signal","signature","signatures","sigterm","silently","simple","since","single","sit","site","sites","situations","size","skipping","skips","slash","slashes","slice","slices","slog","smaller","so","socket","sockets","some","sonic","source","sourceparam","sourcey","spdx","special","specific","specified","specifies","specify","split","splithostport","splits","spoofable","spoofing","ssl","st","stages","stale","standard","stars","start","startconf","startconfig","started","starting","starts","starttls","state","static","staticdirectoryhandler","staticfilehandler","staticfs","stats","status","statusbadgateway","statusbadrequest","statuscode","statuscreated","statusforbidden","statusinternalservererror","statusm","statusmethodnotallowed","statusnocontent","statusnotacceptable","statusnotfound","statusok","statusrequestentitytoolarge","statusrequesttimeout","statusseeother","statusserviceunavailable","statustext","statustoomanyrequests","statusunauthorized","statusunsupportedmediatype","stdcontext","stdout","step","steps","still","stops","store","strategy","stream","streaming","strict","string","strings","strip","stripped","struct","structs","structure","structured","sub","succeed","such","suggested","suitable","summary","support","supported","supports","suppressed","sure","surrounding","swapped","syscall","system","t","tab","tag","tags","take","takes","target","team","template","templatename","templaterenderer","templates","tenant","terminate","test","testing","tests","text","texthandler","textunmarshaler","than","that","the","their","them","then","there","therefore","these","they","third","this","those","through","thus","time","timelayout","timelayoutunixtime","timelayoutunixtimemilli","timelayoutunixtimenano","timeopts","timeout","timeouts","times","timestamp","timestamps","timezone","title","tls","tlsconfig","tmp","to","toinlocation","token","tomiddleware","top","torouteinfo","touch","trace","trailing","transport","treat","treated","tree","tries","trigger","true","trust","trustable","trusted","trusting","trustipr","trustiprange","trustlinklocal","trustloopback","trustoption","trustprivatenet","trusts","try","tune","tuple","two","txt","type","typed","types","typically","u","uint","uint16","uint16s","uint32","uint32s","uint64","uint64s","uint8","uint8s","uints","unchanged","uncommitted","under","underlying","understand","unescaped","unescapepathparamvalues","unescapes","unescaping","unexported","uniquely","unix","unixtime","unixtimemilli","unixtimenano","unless","unmarshal","unmarshaler","unmarshalparam","unmatched","unregisters","until"] \ No newline at end of file diff --git a/site/public/sourcey/_search/0bfca08a1bf98646e44b/v5.json b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v5.json new file mode 100644 index 00000000..a30ae2a3 --- /dev/null +++ b/site/public/sourcey/_search/0bfca08a1bf98646e44b/v5.json @@ -0,0 +1 @@ +["untrustable","untrusted","unwrap","unwrapresponse","unwraps","up","update","updateuser","upgrade","upgrades","uri","url","urlencoded","urlencoding","urls","us","usage","use","used","useescapedpathformatching","useful","user","users","uses","using","usually","utc","utf","utility","v","v1","v1posts","v2gw","v4","v5","va","val","valid","validate","validatectx","validated","validates","validation","validator","validpath","value","valuebinder","valuebinder_binderror","valuebinder_binderrors","valuebinder_customfunc","valuefunc","values","valuesfunc","var","variable","variables","variant","various","vary","version","versions","vfp3","vhosts","via","views","virtual","visit","w","wait","want","was","way","we","web","website","websocket","were","what","when","where","whether","which","while","whole","whose","wide","wildcard","wildcards","will","wins","with","within","without","withprefix","working","world","would","wr","wrap","wraphandler","wrapmiddleware","wrapped","wrapper","wrappers","wrapping","wraps","write","writeheader","writer","writes","writing","written","ws","wss","www","x","xf66","xff","xml","xmlblob","xmlpretty","xss","y","yes","yet","you","your","yourself","zero"] \ No newline at end of file diff --git a/site/public/sourcey/_search/context-72cbcbbb591892bb.json b/site/public/sourcey/_search/context-72cbcbbb591892bb.json new file mode 100644 index 00000000..a485c1c5 --- /dev/null +++ b/site/public/sourcey/_search/context-72cbcbbb591892bb.json @@ -0,0 +1 @@ +{"version":2,"files":"0bfca08a1bf98646e44b/","chunks":["","503","adm","api_","bina","c","com","const headerv","context.res","def","documents","eg","erro","exter","for","fun","func neww","go","headera","helpf","if","int64s","jsonpb","logs","middlewaref","mustun","not","onl","parame","pk","rad","requests","returns","routes","server","stan","strin","templates","timestamps","type p","usef","valuebinder.binderrors","vari","writeh"],"words":["","cv","headeraccesscontrolrequestm","modify","repo","untr"],"fragment":8,"categories":["Pages","Sections","go constant","go variable","go function","go example","go type","go method"],"tabs":["Docs","Go API"],"openings":[{"title":"Echo — High performance, minimalist Go web framework","url":"/sourcey/","category":"Pages","tab":"Docs","start":0},{"title":"Routing and context","url":"/sourcey/guides/routing-context.html","category":"Pages","tab":"Docs","start":1},{"title":"Quickstart","url":"/sourcey/quickstart.html","category":"Pages","tab":"Docs","start":2},{"title":"Middleware","url":"/sourcey/guides/middleware.html","category":"Pages","tab":"Docs","start":3},{"title":"Binding and error handling","url":"/sourcey/guides/binding-error-handling.html","category":"Pages","tab":"Docs","start":4},{"title":"github.com/labstack/echo/v5","url":"/sourcey/api/package-root.html","category":"Pages","tab":"Go API","start":5}]} \ No newline at end of file diff --git a/site/public/sourcey/api.html b/site/public/sourcey/api.html new file mode 100644 index 00000000..0ba29808 --- /dev/null +++ b/site/public/sourcey/api.html @@ -0,0 +1,27 @@ + +Go API - echo
Go API

Go API

Go API for github.com/labstack/echo/v5 across 1 package.
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/api.md b/site/public/sourcey/api.md new file mode 100644 index 00000000..0feb558f --- /dev/null +++ b/site/public/sourcey/api.md @@ -0,0 +1,3 @@ +# Go API + +- [github.com/labstack/echo/v5](https://echo.labstack.com/sourcey/api/package-root.md): Package echo implements high performance, minimalist Go web framework. diff --git a/site/public/sourcey/api/package-root.html b/site/public/sourcey/api/package-root.html new file mode 100644 index 00000000..4d5e0267 --- /dev/null +++ b/site/public/sourcey/api/package-root.html @@ -0,0 +1,2976 @@ + +github.com/labstack/echo/v5 - echo
Root

github.com/labstack/echo/v5

import "github.com/labstack/echo/v5"

+

Package echo implements high performance, minimalist Go web framework.

+

Example:

+
+
+
package main
+
+import (
+	"log/slog"
+	"net/http"
+
+	"github.com/labstack/echo/v5"
+	"github.com/labstack/echo/v5/middleware"
+)
+
+// Handler
+func hello(c *echo.Context) error {
+	return c.String(http.StatusOK, "Hello, World!")
+}
+
+func main() {
+	// Echo instance
+	e := echo.New()
+
+	// Middleware
+	e.Use(middleware.RequestLogger())
+	e.Use(middleware.Recover())
+
+	// Routes
+	e.GET("/", hello)
+
+	// Start server
+	if err := e.Start(":8080"); err != nil {
+		slog.Error("failed to start server", "error", err)
+	}
+}
+

Learn more at https://echo.labstack.com

+ +

Constants

+

TimeLayout constants for parsing Unix timestamps in different precisions.

+
+
const (
+	TimeLayoutUnixTime      = TimeLayout("UnixTime")      // Unix timestamp in seconds
+	TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds
+	TimeLayoutUnixTimeNano  = TimeLayout("UnixTimeNano")  // Unix timestamp in nanoseconds
+)
+
+ + +

MIME types

+
+
const (
+	// MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259
+	MIMEApplicationJSON = "application/json"
+	// Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default.
+	// No "charset" parameter is defined for this registration.
+	// Adding one really has no effect on compliant recipients.
+	// See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n"
+	MIMEApplicationJSONCharsetUTF8       = MIMEApplicationJSON + "; " + charsetUTF8
+	MIMEApplicationJavaScript            = "application/javascript"
+	MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8
+	MIMEApplicationXML                   = "application/xml"
+	MIMEApplicationXMLCharsetUTF8        = MIMEApplicationXML + "; " + charsetUTF8
+	MIMETextXML                          = "text/xml"
+	MIMETextXMLCharsetUTF8               = MIMETextXML + "; " + charsetUTF8
+	MIMEApplicationForm                  = "application/x-www-form-urlencoded"
+	MIMEApplicationProtobuf              = "application/protobuf"
+	MIMEApplicationMsgpack               = "application/msgpack"
+	// MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses.
+	// https://www.rfc-editor.org/rfc/rfc9457
+	MIMEApplicationProblemJSON = "application/problem+json"
+	MIMETextHTML               = "text/html"
+	MIMETextHTMLCharsetUTF8    = MIMETextHTML + "; " + charsetUTF8
+	MIMETextPlain              = "text/plain"
+	MIMETextPlainCharsetUTF8   = MIMETextPlain + "; " + charsetUTF8
+	MIMEMultipartForm          = "multipart/form-data"
+	MIMEOctetStream            = "application/octet-stream"
+)
+
+ + + + + + + + + + + + + + + + + +
+
+
const (
+
+	// PROPFIND Method can be used on collection and property resources.
+	PROPFIND = "PROPFIND"
+	// REPORT Method can be used to get information about a resource, see rfc 3253
+	REPORT = "REPORT"
+	// QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008.
+	// It is not (yet) part of the `net/http` standard library, so Echo defines it here.
+	QUERY = "QUERY"
+	// RouteNotFound is a special method type for routes handling "route not found" (404) cases
+	RouteNotFound = "echo_route_not_found"
+	// RouteAny is a special method type that matches any HTTP method in request. Any has lower
+	// priority that other methods that have been registered with Router to that path.
+	RouteAny = "echo_route_any"
+)
+
+ + + + +

Headers

+
+
const (
+	HeaderAccept         = "Accept"
+	HeaderAcceptEncoding = "Accept-Encoding"
+	// HeaderAllow is the name of the "Allow" header field used to list the set of methods
+	// advertised as supported by the target resource. Returning an Allow header is mandatory
+	// for status 405 (method not found) and useful for the OPTIONS method in responses.
+	// See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1
+	HeaderAllow               = "Allow"
+	HeaderAuthorization       = "Authorization"
+	HeaderContentDisposition  = "Content-Disposition"
+	HeaderContentEncoding     = "Content-Encoding"
+	HeaderContentLength       = "Content-Length"
+	HeaderContentType         = "Content-Type"
+	HeaderCookie              = "Cookie"
+	HeaderSetCookie           = "Set-Cookie"
+	HeaderIfModifiedSince     = "If-Modified-Since"
+	HeaderLastModified        = "Last-Modified"
+	HeaderLocation            = "Location"
+	HeaderRetryAfter          = "Retry-After"
+	HeaderUpgrade             = "Upgrade"
+	HeaderVary                = "Vary"
+	HeaderWWWAuthenticate     = "WWW-Authenticate"
+	HeaderXForwardedFor       = "X-Forwarded-For"
+	HeaderXForwardedProto     = "X-Forwarded-Proto"
+	HeaderXForwardedProtocol  = "X-Forwarded-Protocol"
+	HeaderXForwardedSsl       = "X-Forwarded-Ssl"
+	HeaderXUrlScheme          = "X-Url-Scheme"
+	HeaderXHTTPMethodOverride = "X-HTTP-Method-Override"
+	HeaderXRealIP             = "X-Real-Ip"
+	HeaderXRequestID          = "X-Request-Id"
+	HeaderXCorrelationID      = "X-Correlation-Id"
+	HeaderXRequestedWith      = "X-Requested-With"
+	HeaderServer              = "Server"
+
+	// HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request.
+	// See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin
+	HeaderOrigin       = "Origin"
+	HeaderCacheControl = "Cache-Control"
+	HeaderConnection   = "Connection"
+
+	// Access control
+	HeaderAccessControlRequestMethod    = "Access-Control-Request-Method"
+	HeaderAccessControlRequestHeaders   = "Access-Control-Request-Headers"
+	HeaderAccessControlAllowOrigin      = "Access-Control-Allow-Origin"
+	HeaderAccessControlAllowMethods     = "Access-Control-Allow-Methods"
+	HeaderAccessControlAllowHeaders     = "Access-Control-Allow-Headers"
+	HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials"
+	HeaderAccessControlExposeHeaders    = "Access-Control-Expose-Headers"
+	HeaderAccessControlMaxAge           = "Access-Control-Max-Age"
+
+	// Security
+	HeaderStrictTransportSecurity         = "Strict-Transport-Security"
+	HeaderXContentTypeOptions             = "X-Content-Type-Options"
+	HeaderXXSSProtection                  = "X-XSS-Protection"
+	HeaderXFrameOptions                   = "X-Frame-Options"
+	HeaderContentSecurityPolicy           = "Content-Security-Policy"
+	HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only"
+	HeaderXCSRFToken                      = "X-CSRF-Token" // #nosec G101
+	HeaderReferrerPolicy                  = "Referrer-Policy"
+
+	// HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's
+	// origin and the origin of the requested resource.
+	// See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site
+	HeaderSecFetchSite = "Sec-Fetch-Site"
+)
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
const (
+	// NotFoundRouteName is name of RouteInfo returned when router did not find matching route (404: not found).
+	NotFoundRouteName = "echo_route_not_found_name"
+	// MethodNotAllowedRouteName is name of RouteInfo returned when router did not find matching method for route  (405: method not allowed).
+	MethodNotAllowedRouteName = "echo_route_method_not_allowed_name"
+)
+
+ +
+
+
const (
+	// ContextKeyHeaderAllow is set by Router for getting value for `Allow` header in later stages of handler call chain.
+	// Allow header is mandatory for status 405 (method not found) and useful for OPTIONS method requests.
+	// It is added to context only when Router does not find matching method handler for request.
+	ContextKeyHeaderAllow = "echo_header_allow"
+)
+
+
+
+
const (
+	// Version of Echo
+	Version = "5.4.7"
+)
+
+

Variables

+

The following errors can produce HTTP status code by implementing HTTPStatusCoder interface

+
+
var (
+	ErrBadRequest                  = &httpError{http.StatusBadRequest}            // 400
+	ErrUnauthorized                = &httpError{http.StatusUnauthorized}          // 401
+	ErrForbidden                   = &httpError{http.StatusForbidden}             // 403
+	ErrNotFound                    = &httpError{http.StatusNotFound}              // 404
+	ErrMethodNotAllowed            = &httpError{http.StatusMethodNotAllowed}      // 405
+	ErrRequestTimeout              = &httpError{http.StatusRequestTimeout}        // 408
+	ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413
+	ErrUnsupportedMediaType        = &httpError{http.StatusUnsupportedMediaType}  // 415
+	ErrTooManyRequests             = &httpError{http.StatusTooManyRequests}       // 429
+	ErrInternalServerError         = &httpError{http.StatusInternalServerError}   // 500
+	ErrBadGateway                  = &httpError{http.StatusBadGateway}            // 502
+	ErrServiceUnavailable          = &httpError{http.StatusServiceUnavailable}    // 503
+)
+
+ + + + + + + + + + + +

The following errors fall into 500 (InternalServerError) category

+
+
var (
+	ErrValidatorNotRegistered = errors.New("validator not registered")
+	ErrRendererNotRegistered  = errors.New("renderer not registered")
+	ErrInvalidRedirectCode    = errors.New("invalid redirect status code")
+
+	ErrCookieNotFound         = errors.New("cookie not found")
+	ErrInvalidCertOrKeyType   = errors.New("invalid cert or key type, must be string or []byte")
+	ErrInvalidListenerNetwork = errors.New("invalid listener network")
+)
+
+ + + + + +

ErrInvalidJSONPCallback is wrapped in the 400 Bad Request error that Context.JSONP and Context.JSONPBlob return when the callback is not a valid JSONP function name. See Context.JSONP.

+
+
var ErrInvalidJSONPCallback = errors.New("invalid JSONP callback")
+
+

ErrInvalidKeyType is error that is returned when the value is not castable to expected type.

+
+
var ErrInvalidKeyType = errors.New("invalid key type")
+
+

ErrNonExistentKey is error that is returned when key does not exist

+
+
var ErrNonExistentKey = errors.New("non existent key")
+
+

Functions

+
+

func BindBody(c *Context, target any) (err error)

+ +

BindBody binds request body contents to bindable object NB: then binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See non-MIMEMultipartForm: https://golang.org/pkg/net/http/#Request.ParseForm See MIMEMultipartForm: https://golang.org/pkg/net/http/#Request.ParseMultipartForm

+
+
+

func BindHeaders(c *Context, target any) error

+ +

BindHeaders binds HTTP headers to a bindable object

+
+
+

func BindPathValues(c *Context, target any) error

+ +

BindPathValues binds path parameter values to bindable object

+
+
+

func BindQueryParams(c *Context, target any) error

+ +

BindQueryParams binds query params to bindable object

+
+
+

func ContextGet[T any](c *Context, key string) (T, error)

+ +

ContextGet retrieves a value from the context store or ErrNonExistentKey error the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T.

+
+
+

func ContextGetOr[T any](c *Context, key string, defaultValue T) (T, error)

+ +

ContextGetOr retrieves a value from the context store or returns a default value when the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T.

+
+
+

func DefaultHTTPErrorHandler(exposeError bool) HTTPErrorHandler

+ +

DefaultHTTPErrorHandler creates new default HTTP error handler implementation. It sends a JSON response with status code. exposeError parameter decides if returned message will contain also error message or not

+

Note: DefaultHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately) Note: In case errors happens in middleware call-chain that is returning from handler (which did not return an error). When handler has already sent response (ala c.JSON()) and there is error in middleware that is returning from handler. Then the error that global error handler received will be ignored because we have already "committed" the response and status code header has been sent to the client.

+
Example +
+
+
// SPDX-License-Identifier: MIT
+// SPDX-FileCopyrightText: © 2015 LabStack LLC and Echo contributors
+
+// run tests as external package to get real feel for API
+package echo_test
+
+import (
+	"encoding/json"
+	"fmt"
+	"github.com/labstack/echo/v5"
+	"net/http"
+	"net/http/httptest"
+)
+
+func ExampleDefaultHTTPErrorHandler() {
+	e := echo.New()
+	e.GET("/api/endpoint", func(c *echo.Context) error {
+		return &apiError{
+			Code: http.StatusBadRequest,
+			Body: map[string]any{"message": "custom error"},
+		}
+	})
+
+	req := httptest.NewRequest(http.MethodGet, "/api/endpoint?err=1", nil)
+	resp := httptest.NewRecorder()
+
+	e.ServeHTTP(resp, req)
+
+	fmt.Printf("%d %s", resp.Code, resp.Body.String())
+
+	// Output: 400 {"error":{"message":"custom error"}}
+}
+
+type apiError struct {
+	Code int
+	Body any
+}
+
+func (e *apiError) StatusCode() int {
+	return e.Code
+}
+
+func (e *apiError) MarshalJSON() ([]byte, error) {
+	type body struct {
+		Error any `json:"error"`
+	}
+	return json.Marshal(body{Error: e.Body})
+}
+
+func (e *apiError) Error() string {
+	return http.StatusText(e.Code)
+}
+
+
+

Output:

+
+
+
400 {"error":{"message":"custom error"}}
+
+
+
+
+

func ExtractIPDirect() IPExtractor

+ +

ExtractIPDirect extracts an IP address using an actual IP address. Use this if your server faces to internet directly (i.e.: uses no proxy).

+
+
+

func ExtractIPFromRealIPHeader(options ...TrustOption) IPExtractor

+ +

ExtractIPFromRealIPHeader extracts IP address using x-real-ip header. Use this if you put proxy which uses this header.

+
+
+

func ExtractIPFromXFFHeader(options ...TrustOption) IPExtractor

+ +

ExtractIPFromXFFHeader extracts IP address using x-forwarded-for header. Use this if you put proxy which uses this header. This returns nearest untrustable IP. If all IPs are trustable, returns furthest one (i.e.: XFF[0]).

+
+
+

func ExtractSchemeDirect() SchemeExtractor

+ +

ExtractSchemeDirect returns a SchemeExtractor that uses only the actual connection: https for TLS connections and http otherwise. Forwarding headers are ignored. Use this if your server faces the internet directly (i.e.: uses no proxy).

+
+
+

func ExtractSchemeFromHeaders(options ...TrustOption) SchemeExtractor

+ +

ExtractSchemeFromHeaders returns a SchemeExtractor that uses the X-Forwarded-Proto, X-Forwarded-Protocol, X-Forwarded-Ssl and X-Url-Scheme headers only when the request comes directly from a trusted address (http.Request.RemoteAddr). For requests from other addresses the headers are ignored and the scheme of the actual connection is used.

+

By default, loopback, link-local and private network addresses and unix socket peers are trusted. Use TrustOption to change this, for example TrustIPRange to trust a proxy that connects from a public address (such as a CDN or a cloud load balancer). TrustLoopback(false) also stops trusting unix socket peers.

+

When X-Forwarded-Proto is present, the other headers are ignored, and the last value is used. The trusted proxy must therefore set (overwrite) X-Forwarded-Proto rather than pass through the value sent by the client.

+

This is the default strategy when Echo#SchemeExtractor is not set.

+
+
+

func FormFieldBinder(c *Context) *ValueBinder

+ +

FormFieldBinder creates form field value binder For all requests, FormFieldBinder parses the raw query from the URL and uses query params as form fields

+

For POST, PUT, and PATCH requests, it also reads the request body, parses it as a form and uses query params as form fields. Request body parameters take precedence over URL query string values in r.Form.

+

NB: when binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See https://golang.org/pkg/net/http/#Request.ParseForm

+
+
+

func FormValue[T any](c *Context, key string, opts ...any) (T, error)

+ +

FormValue extracts and parses a single form value from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found.

+

Empty String Handling:

+
+
+
If the form field exists but has an empty value, the zero value of type T is returned
+with no error. For example, an empty form field returns (0, nil) for int types.
+This differs from standard library behavior where parsing empty strings returns errors.
+To treat empty values as errors, validate the result separately or check the raw value.
+

See ParseValue for supported types and options

+
+
+

func FormValueOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error)

+ +

FormValueOr extracts and parses a single form value from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails or form parsing errors occur.

+

Example:

+
+
+
limit, err := echo.FormValueOr[int](c, "limit", 100)
+// If "limit" is missing: returns (100, nil)
+// If "limit" is "50": returns (50, nil)
+// If "limit" is "abc": returns (100, BindingError)
+

See ParseValue for supported types and options

+
+
+

func FormValues[T any](c *Context, key string, opts ...any) ([]T, error)

+ +

FormValues extracts and parses all values for a form values key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found.

+

See ParseValues for supported types and options

+
+
+

func FormValuesOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error)

+ +

FormValuesOr extracts and parses all values for a form values key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails or form parsing errors occur.

+

Example:

+
+
+
tags, err := echo.FormValuesOr[string](c, "tags", []string{})
+// If "tags" is missing: returns ([], nil)
+// If form parsing fails: returns (nil, error)
+

See ParseValues for supported types and options

+
+
+

func HandlerName(h HandlerFunc) string

+ +

HandlerName returns string name for given function.

+
+
+

func LegacyIPExtractor() IPExtractor

+ +

LegacyIPExtractor returns an IPExtractor that derives the client IP address from common proxy headers, falling back to the request's remote address.

+

Resolution order:

+
    +
  1. X-Forwarded-For: returns the first IP in the comma-separated list. If multiple values are present, only the left-most (original client) is used. Surrounding brackets (for IPv6) are stripped.
  2. +
  3. X-Real-IP: used if X-Forwarded-For is absent. Surrounding brackets (for IPv6) are stripped.
  4. +
  5. req.RemoteAddr: used as a fallback; the host portion is extracted via net.SplitHostPort.
  6. +
+

Notes:

+
    +
  • No validation is performed on header values.
  • +
  • This function trusts headers as-is and is therefore not safe against spoofing unless the application is behind a trusted proxy that is configured to strip/replace/modify headers correctly.
  • +
+

Use ExtractIPFromXFFHeader or ExtractIPFromRealIPHeader instead of LegacyIPExtractor.

+
+
+

func LegacySchemeExtractor() SchemeExtractor

+ +

LegacySchemeExtractor returns a SchemeExtractor that uses the forwarding headers from any client. This was the behavior of Context.Scheme before the address of the client was checked.

+

It is not safe against spoofing unless every request passes through a proxy that sets or removes the X-Forwarded-Proto, X-Forwarded-Protocol, X-Forwarded-Ssl and X-Url-Scheme headers. Use ExtractSchemeFromHeaders instead.

+
+
+

func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS

+ +

MustSubFS creates sub FS from current filesystem or panic on failure. Panic happens when fsRoot contains invalid path according to fs.ValidPath rules.

+

MustSubFS is helpful when dealing with embed.FS because for example //go:embed assets/images embeds files with paths including assets/images as their prefix. In that case use `fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path.

+
+
+

func New() *Echo

+ +

New creates an instance of Echo.

+
+
+

func NewBindingError(sourceParam string, values []string, message string, err error) error

+ +

NewBindingError creates new instance of binding error

+
+
+

func NewConcurrentRouter(r Router) Router

+ +

NewConcurrentRouter creates concurrency safe Router which routes can be added/removed safely even after http.Server has been started.

+
+
+

func NewContext(r *http.Request, w http.ResponseWriter, opts ...any) *Context

+ +

NewContext returns a new Context instance.

+

Note: request,response and e can be left to nil as Echo.ServeHTTP will call c.Reset(req,resp) anyway these arguments are useful when creating context for tests and cases like that.

+
+
+

func NewDefaultFS(dir string) fs.FS

+ +

NewDefaultFS returns a new defaultFS instance which allows fs.FS.Open to have absolute paths as input if it matches then given dir as prefix.

+
+
+

func NewHTTPError(code int, message string) *HTTPError

+ +

NewHTTPError creates a new instance of HTTPError

+
+
+

func NewResponse(w http.ResponseWriter, logger *slog.Logger) (r *Response)

+ +

NewResponse creates a new instance of Response.

+
+
+

func NewRouter(config RouterConfig) *DefaultRouter

+ +

NewRouter returns a new Router instance.

+
+
+

func NewVirtualHostHandler(vhosts map[string]*Echo) *Echo

+ +

NewVirtualHostHandler creates instance of Echo that routes requests to given virtual hosts when hosts in request does not exist in given map the request is served by returned Echo instance.

+
+
+

func NewWithConfig(config Config) *Echo

+ +

NewWithConfig creates an instance of Echo with given configuration.

+
+
+

func ParseValue[T any](value string, opts ...any) (T, error)

+ +

ParseValue parses value to generic type

+

Types that are supported:

+
    +
  • bool
  • +
  • float32
  • +
  • float64
  • +
  • int
  • +
  • int8
  • +
  • int16
  • +
  • int32
  • +
  • int64
  • +
  • uint
  • +
  • uint8/byte
  • +
  • uint16
  • +
  • uint32
  • +
  • uint64
  • +
  • string
  • +
  • echo.BindUnmarshaler interface
  • +
  • encoding.TextUnmarshaler interface
  • +
  • json.Unmarshaler interface
  • +
  • time.Duration
  • +
  • time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration
  • +
+
+
+

func ParseValueOr[T any](value string, defaultValue T, opts ...any) (T, error)

+ +

ParseValueOr parses value to generic type, when value is empty defaultValue is returned.

+

Types that are supported:

+
    +
  • bool
  • +
  • float32
  • +
  • float64
  • +
  • int
  • +
  • int8
  • +
  • int16
  • +
  • int32
  • +
  • int64
  • +
  • uint
  • +
  • uint8/byte
  • +
  • uint16
  • +
  • uint32
  • +
  • uint64
  • +
  • string
  • +
  • echo.BindUnmarshaler interface
  • +
  • encoding.TextUnmarshaler interface
  • +
  • json.Unmarshaler interface
  • +
  • time.Duration
  • +
  • time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration
  • +
+
+
+

func ParseValues[T any](values []string, opts ...any) ([]T, error)

+ +

ParseValues parses value to generic type slice. Same types are supported as ParseValue function but the result type is slice instead of scalar value.

+

See ParseValue for supported types and options

+
+
+

func ParseValuesOr[T any](values []string, defaultValue []T, opts ...any) ([]T, error)

+ +

ParseValuesOr parses value to generic type slice, when value is empty defaultValue is returned. Same types are supported as ParseValue function but the result type is slice instead of scalar value.

+

See ParseValue for supported types and options

+
+
+

func PathParam[T any](c *Context, paramName string, opts ...any) (T, error)

+ +

PathParam extracts and parses a path parameter from the context by name. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found.

+

Empty String Handling:

+
+
+
If the parameter exists but has an empty value, the zero value of type T is returned
+with no error. For example, a path parameter with value "" returns (0, nil) for int types.
+This differs from standard library behavior where parsing empty strings returns errors.
+To treat empty values as errors, validate the result separately or check the raw value.
+

See ParseValue for supported types and options

+
+
+

func PathParamOr[T any](c *Context, paramName string, defaultValue T, opts ...any) (T, error)

+ +

PathParamOr extracts and parses a path parameter from the context by name. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type).

+

Example:

+
+
+
id, err := echo.PathParamOr[int](c, "id", 0)
+// If "id" is missing: returns (0, nil)
+// If "id" is "123": returns (123, nil)
+// If "id" is "abc": returns (0, BindingError)
+

See ParseValue for supported types and options

+
+
+

func PathValuesBinder(c *Context) *ValueBinder

+ +

PathValuesBinder creates path parameter value binder

+
+
+

func ProblemDetailsHTTPErrorHandler(exposeError bool) HTTPErrorHandler

+ +

ProblemDetailsHTTPErrorHandler creates a new HTTP error handler that converts every error into a RFC 9457 (Problem Details for HTTP APIs) response and sends it with application/problem+json content type. exposeError parameter decides if the returned problem detail will contain the underlying error message for errors that are not *HTTPError or do not implement ProblemErrorer.

+

Precedence used to build the response for a given error:

+
    +
  1. If err (or any error wrapped by it) is a *ProblemError, it is used as-is.
  2. +
  3. Else if err (or any error wrapped by it) implements ProblemErrorer, ProblemError() is used.
  4. +
  5. Else a *ProblemError is built from err's HTTPStatusCoder status code (defaulting to 500). For *HTTPError, Detail is set to its Message, further extended with the wrapped error's message when exposeError is true. For any other error, Detail is only populated (with err.Error()) when exposeError is true.
  6. +
+

Any zero-value Type, Title or Status field is defaulted to "about:blank", the status text of Status, and 500 respectively.

+

Note: ProblemDetailsHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately).

+
+
+

func QueryParam[T any](c *Context, key string, opts ...any) (T, error)

+ +

QueryParam extracts and parses a single query parameter from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found.

+

Empty String Handling:

+
+
+
If the parameter exists but has an empty value (?key=), the zero value of type T is returned
+with no error. For example, "?count=" returns (0, nil) for int types.
+This differs from standard library behavior where parsing empty strings returns errors.
+To treat empty values as errors, validate the result separately or check the raw value.
+

Behavior Summary:

+
    +
  • Missing key (?other=value): returns (zero, ErrNonExistentKey)
  • +
  • Empty value (?key=): returns (zero, nil)
  • +
  • Invalid value (?key=abc for int): returns (zero, BindingError)
  • +
+

See ParseValue for supported types and options

+
+
+

func QueryParamOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error)

+ +

QueryParamOr extracts and parses a single query parameter from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type).

+

Example:

+
+
+
page, err := echo.QueryParamOr[int](c, "page", 1)
+// If "page" is missing: returns (1, nil)
+// If "page" is "5": returns (5, nil)
+// If "page" is "abc": returns (1, BindingError)
+

See ParseValue for supported types and options

+
+
+

func QueryParams[T any](c *Context, key string, opts ...any) ([]T, error)

+ +

QueryParams extracts and parses all values for a query parameter key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found.

+

See ParseValues for supported types and options

+
+
+

func QueryParamsBinder(c *Context) *ValueBinder

+ +

QueryParamsBinder creates query parameter value binder

+
+
+

func QueryParamsOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error)

+ +

QueryParamsOr extracts and parses all values for a query parameter key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails.

+

Example:

+
+
+
ids, err := echo.QueryParamsOr[int](c, "ids", []int{})
+// If "ids" is missing: returns ([], nil)
+// If "ids" is "1&ids=2": returns ([1, 2], nil)
+// If "ids" contains "abc": returns ([], BindingError)
+

See ParseValues for supported types and options

+
+
+

func ResolveResponseStatus(rw http.ResponseWriter, err error) (resp *Response, status int)

+ +

ResolveResponseStatus returns the Response and HTTP status code that should be (or has been) sent for rw, given an optional error.

+

This function is useful for middleware and handlers that need to figure out the HTTP status code to return based on the error that occurred or what was set in the response.

+

Precedence rules:

+
    +
  1. If the response has already been committed, the committed status wins (err is ignored).
  2. +
  3. Otherwise, start with 200 OK (net/http default if WriteHeader is never called).
  4. +
  5. If the response has a non-zero suggested status, use it.
  6. +
  7. If err != nil, it overrides the suggested status: - StatusCode(err) if non-zero - otherwise 500 Internal Server Error.
  8. +
+
+
+

func StaticDirectoryHandler(fileSystem fs.FS, disablePathUnescaping bool) HandlerFunc

+ +

StaticDirectoryHandler creates handler function to serve files from provided file system When disablePathUnescaping is set then file name from path is not unescaped and is served as is.

+

Note: when disablePathUnescaping=false, the handler decodes the wildcard param before serving. If route guards (e.g. e.GET("/admin/*", forbidden)) are used to restrict parts of the filesystem, an encoded separator (%2F) or encoded dot-dot (%2E%2E) in the URL can resolve to a path that the router never matched against the guard route. Enabling RouterConfig.UseEscapedPathForMatching does NOT fix this — it changes which path the router uses for matching but still lets path.Clean resolve ".." segments into a guarded directory. Do not rely on route guards alone to restrict a filesystem served by this handler. See https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq

+
+
+

func StaticFileHandler(file string, filesystem fs.FS) HandlerFunc

+ +

StaticFileHandler creates handler function to serve file from provided file system.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func StatusCode(err error) int

+ +

StatusCode returns status code from err if it implements HTTPStatusCoder interface. If err does not implement the interface, it returns 0.

+
+
+

func TrustIPRange(ipRange *net.IPNet) TrustOption

+ +

TrustIPRange add trustable IP ranges using CIDR notation.

+
+
+

func TrustLinkLocal(v bool) TrustOption

+ +

TrustLinkLocal configures if you trust link-local address (default: true).

+
+
+

func TrustLoopback(v bool) TrustOption

+ +

TrustLoopback configures if you trust loopback address (default: true).

+
+
+

func TrustPrivateNet(v bool) TrustOption

+ +

TrustPrivateNet configures if you trust private network address (default: true).

+
+
+

func UnwrapResponse(rw http.ResponseWriter) (*Response, error)

+ +

UnwrapResponse unwraps given ResponseWriter to return contexts original Echo Response. rw has to implement following method Unwrap() http.ResponseWriter

+
+
+

func WrapHandler(h http.Handler) HandlerFunc

+ +

WrapHandler wraps http.Handler into echo.HandlerFunc.

+
+
+

func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc

+ +

WrapMiddleware wraps func(http.Handler) http.Handler into echo.MiddlewareFunc

+
+

Types

+
+

type AddRouteError

+ +

AddRouteError is error returned by Router.Add containing information what actual route adding failed. Useful for mass adding (i.e. Match() routes)

+
+
+
type AddRouteError struct {
+	Err    error
+	Method string
+	Path   string
+}
+
+
Fields
  • Err error
  • Method string
  • Path string
+
+

func (e *AddRouteError) Error() string

+ +
+
+

func (e *AddRouteError) Unwrap() error

+ +
+
+
+

type BindUnmarshaler

+ +

BindUnmarshaler is the interface used to wrap the UnmarshalParam method. Types that don't implement this, but do implement encoding.TextUnmarshaler will use that interface instead.

+
+
+
type BindUnmarshaler interface {
+	// UnmarshalParam decodes and assigns a value from an form or query param.
+	UnmarshalParam(param string) error
+}
+
+
Methods
  • UnmarshalParam func(param string) error

    UnmarshalParam decodes and assigns a value from an form or query param.

+
+
+

type Binder

+ +

Binder is the interface that wraps the Bind method.

+
+
+
type Binder interface {
+	Bind(c *Context, target any) error
+}
+
+
Methods
  • Bind func(c *Context, target any) error
+
+
+

type BindingError

+ +

BindingError represents an error that occurred while binding request data.

+

Note: JSON serialization is handled by the MarshalJSON method below, not by the struct tags (which are kept for documentation). MarshalJSON emits {"field","message"}.

+
+
+
type BindingError struct {
+	// Field is the field name where value binding failed
+	Field string `json:"field"`
+	*HTTPError
+	// Values of parameter that failed to bind.
+	Values []string `json:"-"`
+}
+
+
Fields
  • Field string `json:"field"`

    Field is the field name where value binding failed

  • *HTTPError
  • Values []string `json:"-"`

    Values of parameter that failed to bind.

+
+

func (be *BindingError) Error() string

+ +

Error returns error message

+
+
+

func (be *BindingError) MarshalJSON() ([]byte, error)

+ +

MarshalJSON implements json.Marshaler so that binding errors are serialized into a structured response (e.g. {"field":"id","message":"..."}) rather than being flattened to a generic message. DefaultHTTPErrorHandler routes errors that implement json.Marshaler through their own encoding.

+
+
+
+

type Config

+ +

Config is configuration for NewWithConfig function

+
+
+
type Config struct {
+	// Logger is the slog logger instance used for application-wide structured logging.
+	// If not set, a default TextHandler writing to stdout is created.
+	Logger *slog.Logger
+
+	// HTTPErrorHandler is the centralized error handler that processes errors returned
+	// by handlers and middleware, converting them to appropriate HTTP responses.
+	// If not set, DefaultHTTPErrorHandler(false) is used.
+	HTTPErrorHandler HTTPErrorHandler
+
+	// Router is the HTTP request router responsible for matching URLs to handlers
+	// using a radix tree-based algorithm.
+	// If not set, NewRouter(RouterConfig{}) is used.
+	Router Router
+
+	// OnAddRoute is an optional callback hook executed when routes are registered.
+	// Useful for route validation, logging, or custom route processing.
+	// If not set, no callback is executed.
+	OnAddRoute func(route Route) error
+
+	// Filesystem is the fs.FS implementation used for serving static files.
+	// Supports os.DirFS, embed.FS, and custom implementations.
+	// If not set, defaults to current working directory.
+	Filesystem fs.FS
+
+	// Binder handles automatic data binding from HTTP requests to Go structs.
+	// Supports JSON, XML, form data, query parameters, and path parameters.
+	// If not set, DefaultBinder is used.
+	Binder Binder
+
+	// Validator provides optional struct validation after data binding.
+	// Commonly used with third-party validation libraries.
+	// If not set, Context.Validate() returns ErrValidatorNotRegistered.
+	Validator Validator
+
+	// Renderer provides template rendering for generating HTML responses.
+	// Requires integration with a template engine like html/template.
+	// If not set, Context.Render() returns ErrRendererNotRegistered.
+	Renderer Renderer
+
+	// JSONSerializer handles JSON encoding and decoding for HTTP requests/responses.
+	// Can be replaced with faster alternatives like jsoniter or sonic.
+	// If not set, DefaultJSONSerializer using encoding/json is used.
+	JSONSerializer JSONSerializer
+
+	// IPExtractor defines the strategy for extracting the real client IP address
+	// from requests, particularly important when behind proxies or load balancers.
+	// Used for rate limiting, access control, and logging.
+	// If not set, the address of the direct peer (http.Request.RemoteAddr) is used.
+	IPExtractor IPExtractor
+
+	// SchemeExtractor defines the strategy for determining the request scheme (`http` or `https`),
+	// particularly important when behind proxies or load balancers that terminate TLS.
+	// Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares.
+	// If not set, forwarding headers such as `X-Forwarded-Proto` are trusted only from loopback, link-local and
+	// private network addresses and unix sockets. See ExtractSchemeFromHeaders.
+	SchemeExtractor SchemeExtractor
+
+	// FormParseMaxMemory is default value for memory limit that is used
+	// when parsing multipart forms (See (*http.Request).ParseMultipartForm)
+	FormParseMaxMemory int64
+
+	// EnablePathUnescapingStaticFiles enables path parameter (param: *) unescaping for static file methods.
+	// Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded,
+	// preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/* route guard by
+	// not matching that route but having its wildcard param decoded to admin/private.txt.
+	// Set to true only when serving files whose names contain URL-encoded characters
+	// (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on
+	// route-based ACL guards to restrict access.
+	// If you are enabling this option, make sure you understand the security implications.
+	// See: https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq
+	//
+	// Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when
+	// using different Routes to exclude some of the files from being served.
+	// e.g. if you serve files from directory as such and use different route to exclude some of the files from being served.
+	// 0. given folder structure:
+	//   public/
+	//   public/index.html
+	//   public/admin/private.txt
+	// 1. share `public/` folder contents from the server root with `e.Static("/", "public")`
+	// 2. naively assume that everything under /admin folder is now forbidden
+	//       e.GET("/admin/*", func(c *Context) error { return echo.ErrForbidden })
+	// Then request to `/assets/../admin%2fprivate.txt` will be served as router does not match it to guarded route.
+	//
+	// Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS.
+	EnablePathUnescapingStaticFiles bool
+
+	// NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically
+	// when there are middlewares registered with the group.
+	// Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed
+	// as expected. For example - CORS middleware.
+	NoGroupAutoRegister404Routes bool
+}
+
+
Fields
  • Logger *slog.Logger

    Logger is the slog logger instance used for application-wide structured logging. If not set, a default TextHandler writing to stdout is created.

  • HTTPErrorHandler HTTPErrorHandler

    HTTPErrorHandler is the centralized error handler that processes errors returned by handlers and middleware, converting them to appropriate HTTP responses. If not set, DefaultHTTPErrorHandler(false) is used.

  • Router Router

    Router is the HTTP request router responsible for matching URLs to handlers using a radix tree-based algorithm. If not set, NewRouter(RouterConfig{}) is used.

  • OnAddRoute func(route Route) error

    OnAddRoute is an optional callback hook executed when routes are registered. Useful for route validation, logging, or custom route processing. If not set, no callback is executed.

  • Filesystem fs.FS

    Filesystem is the fs.FS implementation used for serving static files. Supports os.DirFS, embed.FS, and custom implementations. If not set, defaults to current working directory.

  • Binder Binder

    Binder handles automatic data binding from HTTP requests to Go structs. Supports JSON, XML, form data, query parameters, and path parameters. If not set, DefaultBinder is used.

  • Validator Validator

    Validator provides optional struct validation after data binding. Commonly used with third-party validation libraries. If not set, Context.Validate() returns ErrValidatorNotRegistered.

  • Renderer Renderer

    Renderer provides template rendering for generating HTML responses. Requires integration with a template engine like html/template. If not set, Context.Render() returns ErrRendererNotRegistered.

  • JSONSerializer JSONSerializer

    JSONSerializer handles JSON encoding and decoding for HTTP requests/responses. Can be replaced with faster alternatives like jsoniter or sonic. If not set, DefaultJSONSerializer using encoding/json is used.

  • IPExtractor IPExtractor

    IPExtractor defines the strategy for extracting the real client IP address from requests, particularly important when behind proxies or load balancers. Used for rate limiting, access control, and logging. If not set, the address of the direct peer (http.Request.RemoteAddr) is used.

  • SchemeExtractor SchemeExtractor

    SchemeExtractor defines the strategy for determining the request scheme (http or https), particularly important when behind proxies or load balancers that terminate TLS. Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares. If not set, forwarding headers such as X-Forwarded-Proto are trusted only from loopback, link-local and private network addresses and unix sockets. See ExtractSchemeFromHeaders.

  • FormParseMaxMemory int64

    FormParseMaxMemory is default value for memory limit that is used when parsing multipart forms (See (*http.Request).ParseMultipartForm)

  • EnablePathUnescapingStaticFiles bool

    EnablePathUnescapingStaticFiles enables path parameter (param: *) unescaping for static file methods. Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded, preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/* route guard by not matching that route but having its wildcard param decoded to admin/private.txt. Set to true only when serving files whose names contain URL-encoded characters (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on route-based ACL guards to restrict access. If you are enabling this option, make sure you understand the security implications. See: https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq

    +

    Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when using different Routes to exclude some of the files from being served. e.g. if you serve files from directory as such and use different route to exclude some of the files from being served.

    +
      +
    1. given folder structure: public/ public/index.html public/admin/private.txt
    2. +
    3. share public/ folder contents from the server root with e.Static("/", "public")
    4. +
    5. naively assume that everything under /admin folder is now forbidden e.GET("/admin/*", func(c *Context) error { return echo.ErrForbidden })
    6. +
    +

    Then request to /assets/../admin%2fprivate.txt will be served as router does not match it to guarded route.

    +

    Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS.

  • NoGroupAutoRegister404Routes bool

    NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically when there are middlewares registered with the group. Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed as expected. For example - CORS middleware.

+
+
+

type Context

+ +

Context represents the context of the current HTTP request. It holds request and response objects, path, path parameters, data and registered handler.

+
+
+
type Context struct {
+	// contains filtered or unexported fields
+}
+
+
+

func (c *Context) Attachment(file, name string) error

+ +

Attachment sends a response as attachment, prompting client to save the file.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (c *Context) Bind(i any) error

+ +

Bind binds path params, query params and the request body into provided type i. The default binder binds body based on Content-Type header.

+
+
+

func (c *Context) Blob(code int, contentType string, b []byte) (err error)

+ +

Blob sends a blob response with status code and content type.

+
+ +
+

func (c *Context) Cookies() []*http.Cookie

+ +

Cookies returns the HTTP cookies sent with the request.

+
+
+

func (c *Context) Echo() *Echo

+ +

Echo returns the Echo instance.

+
+
+

func (c *Context) File(file string) error

+ +

File sends a response with the content of the file.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (c *Context) FileFS(file string, filesystem fs.FS) error

+ +

FileFS serves file from given file system.

+

When dealing with embed.FS use fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. This is necessary as //go:embed assets/imagesembeds files with paths includingassets/images` as their prefix.

+
+
+

func (c *Context) FormFile(name string) (*multipart.FileHeader, error)

+ +

FormFile returns the multipart form file for the provided name.

+
+
+

func (c *Context) FormValue(name string) string

+ +

FormValue returns the form field value for the provided name.

+
+
+

func (c *Context) FormValueOr(name, defaultValue string) string

+ +

FormValueOr returns the form field value or default value for the provided name. Note: FormValueOr does not distinguish if form had no value by that name or value was empty string

+
+
+

func (c *Context) FormValues() (url.Values, error)

+ +

FormValues returns the form field values as url.Values.

+
+
+

func (c *Context) Get(key string) any

+ +

Get retrieves data from the context. Method returns any(nil) when key does not exist which is different from typed nil (eg. []byte(nil)).

+
+
+

func (c *Context) HTML(code int, html string) (err error)

+ +

HTML sends an HTTP response with status code.

+
+
+

func (c *Context) HTMLBlob(code int, b []byte) (err error)

+ +

HTMLBlob sends an HTTP blob response with status code.

+
+
+

func (c *Context) InitializeRoute(ri *RouteInfo, pathValues *PathValues)

+ +

InitializeRoute sets the route related variables of this request to the context.

+
+
+

func (c *Context) Inline(file, name string) error

+ +

Inline sends a response as inline, opening the file in the browser.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (c *Context) IsTLS() bool

+ +

IsTLS returns true if HTTP connection is TLS otherwise false.

+
+
+

func (c *Context) IsWebSocket() bool

+ +

IsWebSocket returns true if HTTP connection is WebSocket otherwise false.

+
+
+

func (c *Context) JSON(code int, i any) (err error)

+ +

JSON sends a JSON response with status code.

+
+
+

func (c *Context) JSONBlob(code int, b []byte) (err error)

+ +

JSONBlob sends a JSON blob response with status code.

+
+
+

func (c *Context) JSONP(code int, callback string, i any) (err error)

+ +

JSONP sends a JSONP response with status code. It uses callback to construct the JSONP payload.

+

The callback must be empty, a JavaScript identifier or a dot-separated path of identifiers using only ASCII letters, digits, _ and $. Otherwise nothing is written and a 400 Bad Request error wrapping ErrInvalidJSONPCallback is returned. The response has the X-Content-Type-Options: nosniff header.

+

Any website can load a JSONP response with a <script> tag, including the user's cookies. Do not use JSONP for data that requires authentication; use JSON with CORS instead.

+
+
+

func (c *Context) JSONPBlob(code int, callback string, b []byte) (err error)

+ +

JSONPBlob sends a JSONP blob response with status code. It uses callback to construct the JSONP payload. The callback is validated like in Context.JSONP.

+
+
+

func (c *Context) JSONPretty(code int, i any, indent string) (err error)

+ +

JSONPretty sends a pretty-print JSON with status code.

+
+
+

func (c *Context) Logger() *slog.Logger

+ +

Logger returns logger in Context

+
+
+

func (c *Context) MultipartForm() (*multipart.Form, error)

+ +

MultipartForm returns the multipart form.

+
+
+

func (c *Context) NoContent(code int) error

+ +

NoContent sends a response with no body and a status code.

+
+
+

func (c *Context) Param(name string) string

+ +

Param returns path parameter by name.

+
+
+

func (c *Context) ParamOr(name, defaultValue string) string

+ +

ParamOr returns the path parameter or default value for the provided name.

+

Notes for DefaultRouter implementation: Path parameter could be empty for cases like that: * route /release-:version/bin and request URL is /release-/bin * route /api/:version/image.jpg and request URL is /api//image.jpg but not when path parameter is last part of route path * route /download/file.:ext will not match request /download/file.

+
+
+

func (c *Context) Path() string

+ +

Path returns the registered path for the handler.

+
+
+

func (c *Context) PathValues() PathValues

+ +

PathValues returns path parameter values.

+
+
+

func (c *Context) QueryParam(name string) string

+ +

QueryParam returns the query param for the provided name.

+
+
+

func (c *Context) QueryParamOr(name, defaultValue string) string

+ +

QueryParamOr returns the query param or default value for the provided name. Note: QueryParamOr does not distinguish if query had no value by that name or value was empty string This means URLs /test?search= and /test would both return 1 for c.QueryParamOr("search", "1")

+
+
+

func (c *Context) QueryParams() url.Values

+ +

QueryParams returns the query parameters as url.Values.

+
+
+

func (c *Context) QueryString() string

+ +

QueryString returns the URL query string.

+
+
+

func (c *Context) RealIP() string

+ +

RealIP returns the client IP address using the configured extraction strategy.

+

If Echo#IPExtractor is set, it is used to resolve the client IP from the incoming request (typically via proxy headers such as X-Forwarded-For or X-Real-IP). Look into the ip.go file for comments and examples.

+

See:

+
    +
  • Echo#ExtractIPFromXFFHeader for X-Forwarded-For handling with trust checks
  • +
  • Echo#ExtractIPFromRealIPHeader for X-Real-IP handling with trust checks
  • +
  • Echo#LegacyIPExtractor for v4 compatibility (spoofable, no trust checks built in)
  • +
+

If no extractor is configured, RealIP falls back to the request RemoteAddr, returning only the host portion.

+

Notes:

+
    +
  • No validation or trust enforcement is performed unless implemented by the configured IPExtractor.
  • +
  • When relying on proxy headers, ensure the application is deployed behind trusted intermediaries to avoid spoofing.
  • +
+
+
+

func (c *Context) Redirect(code int, url string) error

+ +

Redirect redirects the request to a provided URL with status code.

+
+
+

func (c *Context) Render(code int, name string, data any) (err error)

+ +

Render renders a template with data and sends a text/html response with status code. Renderer must be registered using Echo.Renderer.

+
+
+

func (c *Context) Request() *http.Request

+ +

Request returns *http.Request.

+
+
+

func (c *Context) Reset(r *http.Request, w http.ResponseWriter)

+ +

Reset resets the context after request completes. It must be called along with Echo#AcquireContext() and Echo#ReleaseContext(). See Echo#ServeHTTP()

+
+
+

func (c *Context) Response() http.ResponseWriter

+ +

Response returns *Response.

+
+
+

func (c *Context) RouteInfo() RouteInfo

+ +

RouteInfo returns current request route information. Method, Path, Name and params if they exist for matched route.

+

RouteInfo returns generic "empty" struct for these cases: * Context is accessed before Routing is done. For example inside Pre middlewares (e.Pre()) * Router did not find matching route - 404 (route not found) * Router did not find matching route with same method - 405 (method not allowed)

+
+
+

func (c *Context) Scheme() string

+ +

Scheme returns the protocol scheme in lowercase: http or https, or ws or wss when a trusted proxy reports them.

+

Echo#SchemeExtractor decides how the scheme is determined. When it is not set, the forwarding headers (X-Forwarded-Proto, X-Forwarded-Protocol, X-Forwarded-Ssl and X-Url-Scheme) are used only for requests that come directly from a loopback, link-local or private network address or a unix socket. See ExtractSchemeFromHeaders.

+
+
+

func (c *Context) Set(key string, val any)

+ +

Set saves data in the context.

+
+
+

func (c *Context) SetCookie(cookie *http.Cookie)

+ +

SetCookie adds a Set-Cookie header in HTTP response.

+
+
+

func (c *Context) SetLogger(logger *slog.Logger)

+ +

SetLogger sets logger in Context

+
+
+

func (c *Context) SetPath(p string)

+ +

SetPath sets the registered path for the handler.

+
+
+

func (c *Context) SetPathValues(pathValues PathValues)

+ +

SetPathValues sets path parameters for current request.

+
+
+

func (c *Context) SetRequest(r *http.Request)

+ +

SetRequest sets *http.Request.

+
+
+

func (c *Context) SetResponse(r http.ResponseWriter)

+ +

SetResponse sets *http.ResponseWriter. Some context methods and/or middleware require that given ResponseWriter implements following method Unwrap() http.ResponseWriter which eventually should return *echo.Response instance.

+
+
+

func (c *Context) Stream(code int, contentType string, r io.Reader) (err error)

+ +

Stream sends a streaming response with status code and content type.

+
+
+

func (c *Context) String(code int, s string) (err error)

+ +

String sends a string response with status code.

+
+
+

func (c *Context) Validate(i any) error

+ +

Validate validates provided i. It is usually called after Context#Bind(). Validator must be registered using Echo#Validator.

+
+
+

func (c *Context) ValidateCtx(i any) error

+ +

ValidateCtx validates i using the current request's context. If the registered Validator implements ValidateCtx(context.Context, any) error, that method is called instead of Validate. Otherwise, Validate is called.

+

The validator must still implement Validate to satisfy the Validator interface. Wrappers that embed a context-aware validator must implement ValidateCtx if they need to preserve checks performed by their own Validate method.

+

If there is no request, context.Background() is used. Cancellation and deadlines are passed to the validator; the validator is responsible for honoring them.

+
+
+

func (c *Context) XML(code int, i any) (err error)

+ +

XML sends an XML response with status code.

+
+
+

func (c *Context) XMLBlob(code int, b []byte) (err error)

+ +

XMLBlob sends an XML blob response with status code.

+
+
+

func (c *Context) XMLPretty(code int, i any, indent string) (err error)

+ +

XMLPretty sends a pretty-print XML with status code.

+
+
+
+

type DefaultBinder

+ +

DefaultBinder is the default implementation of the Binder interface. For path, query, header, and form binding, time.Time and *time.Time fields (not slices) may use a format tag: "date-time" uses the standard RFC3339 decoding, "date-time-local" accepts "2006-01-02T15:04:05" with optional fractional seconds, "date" accepts "2006-01-02", and other values specify Go time layouts. "date", "date-time-local", and layouts without a timezone give UTC times. JSON and XML decoding do not use this tag. HTML datetime-local inputs omit seconds by default, so bind them with a Go layout such as "2006-01-02T15:04" instead of "date-time-local".

+
+
+
type DefaultBinder struct{}
+
+
+

func (b *DefaultBinder) Bind(c *Context, target any) error

+ +

Bind implements the Binder#Bind function. Binding is done in following order: 1) path params; 2) query params; 3) request body. Each step COULD override previous step bound values. For single source binding use their own methods BindBody, BindQueryParams, BindPathValues.

+
+
+
+

type DefaultJSONSerializer

+ +

DefaultJSONSerializer implements JSON encoding using encoding/json.

+
+
+
type DefaultJSONSerializer struct{}
+
+
+

func (d DefaultJSONSerializer) Deserialize(c *Context, target any) error

+ +

Deserialize reads a JSON from a request body and converts it into an interface.

+

The body is read into a pooled buffer and decoded with json.Unmarshal rather than streaming through json.NewDecoder. This avoids allocating a decoder and its internal read buffer on every request. json.Unmarshal does not retain a reference to the input slice, so the buffer is safe to reuse afterwards.

+

Note: the full request body is read into memory before decoding. As with any JSON parser, decoding untrusted input can allocate large amounts of memory; guard such endpoints with middleware.BodyLimit (or http.MaxBytesReader), which makes the body read here fail fast once the limit is exceeded.

+
+
+

func (d DefaultJSONSerializer) Serialize(c *Context, target any, indent string) error

+ +

Serialize converts an interface into a json and writes it to the response. You can optionally use the indent parameter to produce pretty JSONs.

+
+
+
+

type DefaultRouter

+ +

DefaultRouter is the registry of all registered routes for an Echo instance for request matching and URL path parameter parsing. Note: DefaultRouter is not coroutine-safe. Do not Add/Remove routes after HTTP server has been started with Echo.

+
+
+
type DefaultRouter struct {
+	// contains filtered or unexported fields
+}
+
+
+

func (r *DefaultRouter) Add(route Route) (RouteInfo, error)

+ +

Add registers a new route for method and path with matching handler.

+
+
+

func (r *DefaultRouter) Remove(method string, path string) error

+ +

Remove unregisters registered route

+
+
+

func (r *DefaultRouter) Route(c *Context) HandlerFunc

+ +

Route looks up a handler registered for method and path. It also parses URL for path parameters and loads them into context.

+

For performance:

+

- Get context from Echo#AcquireContext() - Reset it Context#Reset() - Return it Echo#ReleaseContext().

+
+
+

func (r *DefaultRouter) Routes() Routes

+ +

Routes returns all registered routes

+
+
+
+

type Echo

+ +

Echo is the top-level framework instance.

+

Goroutine safety: Do not mutate Echo instance fields after server has started. Accessing these fields from handlers/middlewares and changing field values at the same time leads to data-races. Same rule applies to adding new routes after server has been started - Adding a route is not Goroutine safe action.

+
+
+
type Echo struct {
+	Binder Binder
+
+	// Filesystem is the file system used for serving static files. Defaults to the current working directory (os.Getwd()).
+	//
+	// Note: fs.FS.Open() already assumes that file names are relative to FS root path and considers name with prefix `/` as invalid
+	// so if you have `fs := os.DirFS("/tmp")` and you try to `fs.Open("/tmp/file.txt")` it will fail, but "file.txt"
+	// would succeed. `echo.NewDefaultFS("/tmp")` overwrites this behavior and allows you to use Open with a matching
+	// absolute path prefix.
+	Filesystem fs.FS
+
+	Renderer         Renderer
+	Validator        Validator
+	JSONSerializer   JSONSerializer
+	IPExtractor      IPExtractor
+	SchemeExtractor  SchemeExtractor
+	OnAddRoute       func(route Route) error
+	HTTPErrorHandler HTTPErrorHandler
+	Logger           *slog.Logger
+	// contains filtered or unexported fields
+}
+
+
Fields
  • Binder Binder
  • Filesystem fs.FS

    Filesystem is the file system used for serving static files. Defaults to the current working directory (os.Getwd()).

    +

    Note: fs.FS.Open() already assumes that file names are relative to FS root path and considers name with prefix / as invalid so if you have fs := os.DirFS("/tmp") and you try to fs.Open("/tmp/file.txt") it will fail, but "file.txt" would succeed. echo.NewDefaultFS("/tmp") overwrites this behavior and allows you to use Open with a matching absolute path prefix.

  • Renderer Renderer
  • Validator Validator
  • JSONSerializer JSONSerializer
  • IPExtractor IPExtractor
  • SchemeExtractor SchemeExtractor
  • OnAddRoute func(route Route) error
  • HTTPErrorHandler HTTPErrorHandler
  • Logger *slog.Logger
+
+

func (e *Echo) AcquireContext() *Context

+ +

AcquireContext returns an empty Context instance from the pool. You must return the context by calling ReleaseContext().

+
+
+

func (e *Echo) Add(method, path string, handler HandlerFunc, middleware ...MiddlewareFunc) RouteInfo

+ +

Add registers a new route for an HTTP method and path with matching handler in the router with optional route-level middleware.

+
+
+

func (e *Echo) AddRoute(route Route) (RouteInfo, error)

+ +

AddRoute registers a new Route with default host Router

+
+
+

func (e *Echo) Any(path string, handler HandlerFunc, middleware ...MiddlewareFunc) RouteInfo

+ +

Any registers a new route for a path with matching handler in the router with optional route-level middleware. Panics on error. The route matches any HTTP method in the request, including methods not known to Echo, by registering a single RouteAny route.

+

A method-specific route registered for the same path takes precedence over the Any route.

+
+
+

func (e *Echo) CONNECT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

CONNECT registers a new CONNECT route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) DELETE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

DELETE registers a new DELETE route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) File(path, file string, middleware ...MiddlewareFunc) RouteInfo

+ +

File registers a new route with path to serve a static file with optional route-level middleware. Panics on error.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (e *Echo) FileFS(path, file string, filesystem fs.FS, m ...MiddlewareFunc) RouteInfo

+ +

FileFS registers a new route with path to serve file from the provided file system.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (e *Echo) GET(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

GET registers a new GET route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) Group(prefix string, m ...MiddlewareFunc) (g *Group)

+ +

Group creates a new router group with prefix and optional group-level middleware. The prefix is concatenated with each route path without inserting a slash. For example:

+
+
+
g := e.Group("/v1")
+g.GET("/posts", handler) // Registers /v1/posts.
+g.GET("posts", handler)  // Registers /v1posts.
+
+
+
+

func (e *Echo) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

HEAD registers a new HEAD route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) Match(methods []string, path string, handler HandlerFunc, middleware ...MiddlewareFunc) Routes

+ +

Match registers a new route for multiple HTTP methods and path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) Middlewares() []MiddlewareFunc

+ +

Middlewares returns registered route level middlewares. Does not contain any group level middlewares. Use this method to build your own ServeHTTP method.

+

NOTE: returned slice is not a copy. Do not mutate.

+
+
+

func (e *Echo) NewContext(r *http.Request, w http.ResponseWriter) *Context

+ +

NewContext returns a new Context instance.

+

Note: both request and response can be left to nil as Echo.ServeHTTP will call c.Reset(req,resp) anyway these arguments are useful when creating context for tests and cases like that.

+
+
+

func (e *Echo) OPTIONS(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

OPTIONS registers a new OPTIONS route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) PATCH(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

PATCH registers a new PATCH route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) POST(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

POST registers a new POST route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) PUT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

PUT registers a new PUT route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) Pre(middleware ...MiddlewareFunc)

+ +

Pre adds middleware to the chain which is run before router tries to find matching route. Meaning middleware is executed even for 404 (not found) cases.

+
+
+

func (e *Echo) PreMiddlewares() []MiddlewareFunc

+ +

PreMiddlewares returns registered pre middlewares. These are middleware to the chain which are run before router tries to find matching route. Use this method to build your own ServeHTTP method.

+

NOTE: returned slice is not a copy. Do not mutate.

+
+
+

func (e *Echo) QUERY(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

QUERY registers a new QUERY route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) ReleaseContext(c *Context)

+ +

ReleaseContext returns the Context instance back to the pool. You must call it after AcquireContext().

+
+
+

func (e *Echo) RouteNotFound(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

RouteNotFound registers a special-case route which is executed when no other route is found (i.e. HTTP 404 cases) for current request URL. Path supports static and named/any parameters just like other http method is defined. Generally path is ended with wildcard/match-any character (/*, /download/* etc).

+

Example: e.RouteNotFound("/*", func(c *echo.Context) error { return c.NoContent(http.StatusNotFound) })

+
+
+

func (e *Echo) Router() Router

+ +

Router returns the default router.

+
+
+

func (e *Echo) ServeHTTP(w http.ResponseWriter, r *http.Request)

+ +

ServeHTTP implements http.Handler interface, which serves HTTP requests.

+
+
+

func (e *Echo) Start(address string) error

+ +

Start stars HTTP server on given address with Echo as a handler serving requests. The server can be shutdown by sending os.Interrupt signal with ctrl+c. Method returns only errors that are not http.ErrServerClosed.

+

Note: this method is created for use in examples/demos and is deliberately simple without providing configuration options.

+

In need of customization use:

+
+
+
ctx, cancel := signal.NotifyContext(context.Background(), os.Interrupt, syscall.SIGTERM)
+defer cancel()
+sc := echo.StartConfig{Address: ":8080"}
+if err := sc.Start(ctx, e); err != nil && !errors.Is(err, http.ErrServerClosed) {
+	slog.Error(err.Error())
+}
+

// or standard library http.Server

+
+
+
s := http.Server{Addr: ":8080", Handler: e}
+if err := s.ListenAndServe(); err != nil && !errors.Is(err, http.ErrServerClosed) {
+	slog.Error(err.Error())
+}
+
+
+
+

func (e *Echo) Static(pathPrefix, fsRoot string, middleware ...MiddlewareFunc) RouteInfo

+ +

Static registers a new route with path prefix to serve static files from the provided root directory.

+

A pathPrefix without a trailing slash, such as "/assets", serves "/assets" (redirected to "/assets/") and the paths below "/assets/", but not sibling paths such as "/assetsadmin/file".

+
+
+

func (e *Echo) StaticFS(pathPrefix string, filesystem fs.FS, middleware ...MiddlewareFunc) RouteInfo

+ +

StaticFS registers a new route with path prefix to serve static files from the provided file system.

+

When dealing with embed.FS use fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. This is necessary as //go:embed assets/imagesembeds files with paths includingassets/images` as their prefix.

+
+
+

func (e *Echo) TRACE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

TRACE registers a new TRACE route for a path with matching handler in the router with optional route-level middleware. Panics on error.

+
+
+

func (e *Echo) Use(middleware ...MiddlewareFunc)

+ +

Use adds middleware to the chain which is run after router has found matching route and before route/request handler method is executed.

+
+
+
+

type Group

+ +

Group is a set of sub-routes for a specified route. It can be used for inner routes that share a common middleware or functionality that should be separate from the parent echo instance while still inheriting from it.

+
+
+
type Group struct {
+	// contains filtered or unexported fields
+}
+
+
+

func (g *Group) Add(method, path string, handler HandlerFunc, middleware ...MiddlewareFunc) RouteInfo

+ +

Add implements Echo#Add() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) AddRoute(route Route) (RouteInfo, error)

+ +

AddRoute registers a new Routable with Router

+
+
+

func (g *Group) Any(path string, handler HandlerFunc, middleware ...MiddlewareFunc) RouteInfo

+ +

Any implements Echo#Any() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) CONNECT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

CONNECT implements Echo#CONNECT() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) DELETE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

DELETE implements Echo#DELETE() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) File(path, file string, middleware ...MiddlewareFunc) RouteInfo

+ +

File implements Echo#File() for sub-routes within the Group. Panics on error.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (g *Group) FileFS(path, file string, filesystem fs.FS, m ...MiddlewareFunc) RouteInfo

+ +

FileFS implements Echo#FileFS() for sub-routes within the Group.

+

Avoid using the leading / slash as most of the Go standard library fs.FS implementations require relative paths for file operations.

+
+
+

func (g *Group) GET(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

GET implements Echo#GET() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) Group(prefix string, middleware ...MiddlewareFunc) (sg *Group)

+ +

Group creates a new sub-group with prefix and optional sub-group-level middleware. The prefix is concatenated with the parent group's prefix without inserting a slash. For example, a parent prefix of "/v1" and a sub-group prefix of "/admin" form "/v1/admin".

+

Important! Group middlewares are executed in case there was no exact route match as by default Group registers /* NotFound routes for itself. If this kind of behavior is not needed, then create an Echo instance with the noAutoRegisterRoutes flag set to true. Example echo.NewWithConfig(echo.Config{NoGroupAutoRegister404Routes: true}).

+
+
+

func (g *Group) HEAD(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

HEAD implements Echo#HEAD() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) Match(methods []string, path string, handler HandlerFunc, middleware ...MiddlewareFunc) Routes

+ +

Match implements Echo#Match() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) OPTIONS(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

OPTIONS implements Echo#OPTIONS() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) PATCH(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

PATCH implements Echo#PATCH() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) POST(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

POST implements Echo#POST() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) PUT(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

PUT implements Echo#PUT() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) QUERY(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

QUERY implements Echo#QUERY() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) RouteNotFound(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

RouteNotFound implements Echo#RouteNotFound() for sub-routes within the Group.

+

Important! When the group has middlewares, each Group#Use() call (re)registers catch-all NotFound routes for the group prefix and prefix + /* with the group middlewares, unless the Echo-wide Config.NoGroupAutoRegister404Routes is set. Echo#Group() and Group#Group() make this call when the new group has own or inherited middlewares. For the same route path the last registered NotFound route wins, and it runs only the group middlewares it was registered with: these catch-all routes replace handlers registered earlier for those paths (by any group or by Echo), and a handler registered later replaces them. Register custom ones on this group after the last such call for its prefix to keep its middlewares. On a Router that does not allow overwriting routes this panics; use the router-wide RouterConfig.NotFoundHandler there, or set Config.NoGroupAutoRegister404Routes and register both paths yourself on the group whose middlewares should run for them.

+

Example: g.RouteNotFound("/*", func(c *echo.Context) error { return c.NoContent(http.StatusNotFound) })

+
+
+

func (g *Group) Static(pathPrefix, fsRoot string, middleware ...MiddlewareFunc) RouteInfo

+ +

Static implements Echo#Static() for sub-routes within the Group.

+
+
+

func (g *Group) StaticFS(pathPrefix string, filesystem fs.FS, middleware ...MiddlewareFunc) RouteInfo

+ +

StaticFS implements Echo#StaticFS() for sub-routes within the Group.

+

When dealing with embed.FS use fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. This is necessary as //go:embed assets/imagesembeds files with paths includingassets/images` as their prefix.

+
+
+

func (g *Group) TRACE(path string, h HandlerFunc, m ...MiddlewareFunc) RouteInfo

+ +

TRACE implements Echo#TRACE() for sub-routes within the Group. Panics on error.

+
+
+

func (g *Group) Use(middleware ...MiddlewareFunc)

+ +

Use implements Echo#Use() for sub-routes within the Group.

+

Important! Group middlewares are executed in case there was no exact route match as by default Group registers /* NotFound routes for itself. If this kind of behavior is not needed, then create an Echo instance with the noAutoRegisterRoutes flag set to true. Example echo.NewWithConfig(echo.Config{NoGroupAutoRegister404Routes: true}).

+

Group middleware runs before the middleware of the route that matched, including routes of nested groups. A group middleware that answers requests itself, such as middleware.Static, is therefore not protected by guards on those routes. Use Group#Static to serve files behind such guards.

+
+
+
+

type HTTPError

+ +

HTTPError represents an error that occurred while handling a request.

+
+
+
type HTTPError struct {
+	// Code is status code for HTTP response
+	Code    int    `json:"-"`
+	Message string `json:"message"`
+	// contains filtered or unexported fields
+}
+
+
Fields
  • Code int `json:"-"`

    Code is status code for HTTP response

  • Message string `json:"message"`
+
+

func (he *HTTPError) Error() string

+ +

Error makes it compatible with the error interface.

+
+
+

func (he *HTTPError) StatusCode() int

+ +

StatusCode returns status code for HTTP response

+
+
+

func (he *HTTPError) Unwrap() error

+ +
+
+

func (he HTTPError) Wrap(err error) error

+ +

Wrap returns a new HTTPError with given errors wrapped inside

+
+
+
+

type HTTPErrorHandler

+ +

HTTPErrorHandler is a centralized HTTP error handler.

+
+
+
type HTTPErrorHandler func(c *Context, err error)
+
+
+
+

type HTTPStatusCoder

+ +

HTTPStatusCoder is an interface that errors can implement to produce status code for HTTP response

+
+
+
type HTTPStatusCoder interface {
+	StatusCode() int
+}
+
+
Methods
  • StatusCode func() int
+
+
+

type HandlerFunc

+ +

HandlerFunc defines a function to serve HTTP requests.

+
+
+
type HandlerFunc func(c *Context) error
+
+
+
+

type IPExtractor

+ +

IPExtractor is a function to extract IP addr from http.Request. Set appropriate one to Echo#IPExtractor. See https://echo.labstack.com/guide/ip-address for more details.

+
+
+
type IPExtractor func(*http.Request) string
+
+
+
+

type JSONSerializer

+ +

JSONSerializer is the interface that encodes and decodes JSON to and from interfaces.

+
+
+
type JSONSerializer interface {
+	Serialize(c *Context, target any, indent string) error
+	Deserialize(c *Context, target any) error
+}
+
+
Methods
  • Serialize func(c *Context, target any, indent string) error
  • Deserialize func(c *Context, target any) error
+
+
+

type MiddlewareConfigurator

+ +

MiddlewareConfigurator defines interface for creating middleware handlers with possibility to return configuration errors instead of panicking.

+
+
+
type MiddlewareConfigurator interface {
+	ToMiddleware() (MiddlewareFunc, error)
+}
+
+
Methods
  • ToMiddleware func() (MiddlewareFunc, error)
+
+
+

type MiddlewareFunc

+ +

MiddlewareFunc defines a function to process middleware.

+
+
+
type MiddlewareFunc func(next HandlerFunc) HandlerFunc
+
+
+
+

type PathValue

+ +

PathValue is tuple pf path parameter name and its value in request path

+
+
+
type PathValue struct {
+	Name  string
+	Value string
+}
+
+
Fields
  • Name string
  • Value string
+
+
+

type PathValues

+ +

PathValues is collections of PathValue instances with various helper methods

+
+
+
type PathValues []PathValue
+
+
+

func (p PathValues) Get(name string) (string, bool)

+ +

Get returns path parameter value for given name or false.

+
+
+

func (p PathValues) GetOr(name string, defaultValue string) string

+ +

GetOr returns path parameter value for given name or default value if the name does not exist.

+
+
+
+

type ProblemError

+ +

ProblemError represents a "problem detail" as defined in RFC 9457 (Problem Details for HTTP APIs). https://www.rfc-editor.org/rfc/rfc9457

+
+
+
type ProblemError struct {
+	// Type is a URI reference that identifies the problem type. Defaults to "about:blank"
+	// when empty, which means the problem is the HTTP status code itself.
+	Type string `json:"type"`
+	// Title is a short, human-readable summary of the problem type. Defaults to the status
+	// text of Status when empty.
+	Title string `json:"title"`
+	// Status is the HTTP status code for this occurrence of the problem.
+	Status int `json:"status"`
+	// Detail is a human-readable explanation specific to this occurrence of the problem.
+	Detail string `json:"detail,omitempty"`
+	// Instance is a URI reference that identifies the specific occurrence of the problem.
+	Instance string `json:"instance,omitempty"`
+}
+
+
Fields
  • Type string `json:"type"`

    Type is a URI reference that identifies the problem type. Defaults to "about:blank" when empty, which means the problem is the HTTP status code itself.

  • Title string `json:"title"`

    Title is a short, human-readable summary of the problem type. Defaults to the status text of Status when empty.

  • Status int `json:"status"`

    Status is the HTTP status code for this occurrence of the problem.

  • Detail string `json:"detail,omitempty"`

    Detail is a human-readable explanation specific to this occurrence of the problem.

  • Instance string `json:"instance,omitempty"`

    Instance is a URI reference that identifies the specific occurrence of the problem.

+
+

func (pe *ProblemError) Error() string

+ +

Error makes ProblemError compatible with the error interface.

+
+
+

func (pe *ProblemError) StatusCode() int

+ +

StatusCode returns status code for HTTP response, implementing HTTPStatusCoder interface.

+
+
+
+

type ProblemErrorer

+ +

ProblemErrorer is the interface that custom error types can implement so they can be converted into a *ProblemError by ProblemDetailsHTTPErrorHandler.

+
+
+
type ProblemErrorer interface {
+	ProblemError() *ProblemError
+}
+
+
Methods
  • ProblemError func() *ProblemError
+
+
+

type Renderer

+ +

Renderer is the interface that wraps the Render function.

+
+
+
type Renderer interface {
+	Render(c *Context, w io.Writer, templateName string, data any) error
+}
+
+
Methods
  • Render func(c *Context, w io.Writer, templateName string, data any) error
+
+
+

type Response

+ +

Response wraps an http.ResponseWriter and implements its interface to be used by an HTTP handler to construct an HTTP response. See: https://golang.org/pkg/net/http/#ResponseWriter

+
+
+
type Response struct {
+	http.ResponseWriter
+
+	Status    int
+	Size      int64
+	Committed bool
+	// contains filtered or unexported fields
+}
+
+
Fields
  • http.ResponseWriter
  • Status int
  • Size int64
  • Committed bool
+
+

func (r *Response) After(fn func())

+ +

After registers a function which is called just after the response is written.

+
+
+

func (r *Response) Before(fn func())

+ +

Before registers a function which is called just before the response (status) is written.

+
+
+

func (r *Response) Flush()

+ +

Flush implements the http.Flusher interface to allow an HTTP handler to flush buffered data to the client. See http.Flusher(https://golang.org/pkg/net/http/#Flusher)

+
+
+

func (r *Response) Hijack() (net.Conn, *bufio.ReadWriter, error)

+ +

Hijack implements the http.Hijacker interface to allow an HTTP handler to take over the connection. This method is relevant to Websocket connection upgrades, proxis, and other advanced use cases. See http.Hijacker(https://golang.org/pkg/net/http/#Hijacker)

+
+
+

func (r *Response) Unwrap() http.ResponseWriter

+ +

Unwrap returns the original http.ResponseWriter. ResponseController can be used to access the original http.ResponseWriter. See [https://go.dev/blog/go1.20]

+
+
+

func (r *Response) Write(b []byte) (n int, err error)

+ +

Write writes the data to the connection as part of an HTTP reply.

+
+
+

func (r *Response) WriteHeader(code int)

+ +

WriteHeader sends an HTTP response header with status code. If WriteHeader is not called explicitly, the first call to Write will trigger an implicit WriteHeader(http.StatusOK). Thus explicit calls to WriteHeader are mainly used to send error codes.

+
+
+
+

type Route

+ +

Route contains information to adding/registering new route with the router. Method+Path pair uniquely identifies the Route. It is mandatory to provide Method+Path fields.

+
+
+
type Route struct {
+	Method string
+	Path   string
+	Name   string
+
+	// HandlerFunc is a function that handles HTTP requests. This could be left nil when the Router implementation allows
+	// fallback to default/global handlers in certain situations.
+	Handler     HandlerFunc
+	Middlewares []MiddlewareFunc
+	// contains filtered or unexported fields
+}
+
+
Fields
  • Method string
  • Path string
  • Name string
  • Handler HandlerFunc

    HandlerFunc is a function that handles HTTP requests. This could be left nil when the Router implementation allows fallback to default/global handlers in certain situations.

  • Middlewares []MiddlewareFunc
+
+

func (r Route) ToRouteInfo(params []string) RouteInfo

+ +

ToRouteInfo converts Route to RouteInfo

+
+
+

func (r Route) WithPrefix(pathPrefix string, middlewares []MiddlewareFunc) Route

+ +

WithPrefix recreates Route with added group prefix and group middlewares it is grouped to.

+
+
+
+

type RouteInfo

+ +

RouteInfo contains information about registered Route.

+
+
+
type RouteInfo struct {
+	Name       string
+	Method     string
+	Path       string
+	Parameters []string
+}
+
+
Fields
  • Name string
  • Method string
  • Path string
  • Parameters []string
+
+

func (r RouteInfo) Clone() RouteInfo

+ +

Clone creates copy of RouteInfo

+
+
+

func (r RouteInfo) Reverse(pathValues ...any) string

+ +

Reverse reverses route to URL string by replacing path parameters with given params values.

+
+
+
+

type Router

+ +

Router is interface for routing request contexts to registered routes.

+

Contract between Echo/Context instance and the router:

+
    +
  • all routes should be added through methods on echo.Echo instance. Reason: Echo instance uses RouteInfo.Parameters length to allocate slice for paths parameters (see Echo.contextPathParamAllocSize), so Contexts are created with enough capacity.
  • +
  • Router.Route must handle a Context whose PathValues capacity is smaller than the maximum path parameter count of its routes (for example, when a route was added after the Context was created, or not through echo.Echo).
  • +
  • Router must populate Context during Router.Route call with:
  • +
  • Context.InitializeRoute (IMPORTANT! to reduce allocations use same slice that c.PathValues() returns)
  • +
  • Optionally can set additional information to Context with Context.Set
  • +
+
+
+
type Router interface {
+	// Add registers Routable with the Router and returns registered RouteInfo.
+	//
+	// Router may change Route.Path value in returned RouteInfo.Path.
+	// Router generates RouteInfo.Parameters values from Route.Path.
+	// Router generates RouteInfo.Name value if it is not provided.
+	Add(routable Route) (RouteInfo, error)
+
+	// Remove removes route from the Router.
+	//
+	// Router may choose not to implement this method.
+	Remove(method string, path string) error
+
+	// Routes returns information about all registered routes
+	Routes() Routes
+
+	// Route searches Router for matching route and applies it to the given context. In case when no matching method
+	// was not found (405) or no matching route exists for path (404), router will return its implementation of 405/404
+	// handler function.
+	//
+	// Router must populate Context during Router.Route call with:
+	// - Context.InitializeRoute() (IMPORTANT! to reduce allocations use same slice that c.PathValues() returns)
+	// - optionally can set additional information to Context with Context.Set()
+	Route(c *Context) HandlerFunc
+}
+
+
Methods
  • Add func(routable Route) (RouteInfo, error)

    Add registers Routable with the Router and returns registered RouteInfo.

    +

    Router may change Route.Path value in returned RouteInfo.Path. Router generates RouteInfo.Parameters values from Route.Path. Router generates RouteInfo.Name value if it is not provided.

  • Remove func(method string, path string) error

    Remove removes route from the Router.

    +

    Router may choose not to implement this method.

  • Routes func() Routes

    Routes returns information about all registered routes

  • Route func(c *Context) HandlerFunc

    Route searches Router for matching route and applies it to the given context. In case when no matching method was not found (405) or no matching route exists for path (404), router will return its implementation of 405/404 handler function.

    +

    Router must populate Context during Router.Route call with: - Context.InitializeRoute() (IMPORTANT! to reduce allocations use same slice that c.PathValues() returns) - optionally can set additional information to Context with Context.Set()

+
+
+

type RouterConfig

+ +

RouterConfig is configuration options for (default) router

+
+
+
type RouterConfig struct {
+	// NotFoundHandler is a handler that is executed when no route matches the request.
+	NotFoundHandler HandlerFunc
+
+	// MethodNotAllowedHandler is a handler that is executed when no route with exact METHOD matches the request but
+	// there is a route with same path but different method.
+	MethodNotAllowedHandler HandlerFunc
+
+	// OptionsMethodHandler is a handler that is executed when an OPTIONS request is made.
+	OptionsMethodHandler HandlerFunc
+
+	// AllowOverwritingRoute allows overwriting existing routes. If false, then adding a route with the same method
+	// and path will return an error.
+	AllowOverwritingRoute bool
+
+	// UnescapePathParamValues unescapes parameter values extracted from URL.RawPath before setting them in context.
+	// Values extracted from the already-decoded URL.Path are not unescaped again.
+	UnescapePathParamValues bool
+
+	// UseEscapedPathForMatching controls which request path is used for matching.
+	// Despite its historical name, true selects the decoded req.URL.Path.
+	// The default (false) prefers req.URL.RawPath when present and otherwise uses req.URL.Path.
+	// URL.RawPath is optional and is set only when the original escaping differs from the default encoding of URL.Path.
+	UseEscapedPathForMatching bool
+
+	// AutoHandleHEAD enables automatic handling of HTTP HEAD requests by
+	// falling back to the corresponding GET route.
+	//
+	// When enabled, a HEAD request will match the same handler as GET for
+	// the route, but the response body is suppressed in accordance with
+	// HTTP semantics. Headers (e.g., Content-Length, Content-Type) are
+	// preserved as if a GET request was made.
+	//
+	// Security considerations: the GET handler is fully executed for every
+	// HEAD request, including all side effects:
+	//   - State-mutating operations (DB writes, audit logs, counters) run.
+	//   - Rate-limiting middleware consumes quota, enabling low-cost exhaustion.
+	//   - Expensive computations run with no response body returned to the
+	//     caller, making HEAD cheaper to abuse for DoS than GET.
+	//   - All GET routes become enumerable via HEAD probing (200 = route
+	//     exists, 405 = route absent).
+	//
+	// If route confidentiality/state-mutation is a concern, leave AutoHandleHEAD disabled
+	// and register explicit HEAD handlers only for routes that are safe to
+	// expose (e.g. e.HEAD("/public", handler)).
+	// You can leverage Echo.OnAddRoute callback to add HEAD routes explicitly from a single place.
+	//
+	// Disabled by default.
+	AutoHandleHEAD bool
+}
+
+
Fields
  • NotFoundHandler HandlerFunc

    NotFoundHandler is a handler that is executed when no route matches the request.

  • MethodNotAllowedHandler HandlerFunc

    MethodNotAllowedHandler is a handler that is executed when no route with exact METHOD matches the request but there is a route with same path but different method.

  • OptionsMethodHandler HandlerFunc

    OptionsMethodHandler is a handler that is executed when an OPTIONS request is made.

  • AllowOverwritingRoute bool

    AllowOverwritingRoute allows overwriting existing routes. If false, then adding a route with the same method and path will return an error.

  • UnescapePathParamValues bool

    UnescapePathParamValues unescapes parameter values extracted from URL.RawPath before setting them in context. Values extracted from the already-decoded URL.Path are not unescaped again.

  • UseEscapedPathForMatching bool

    UseEscapedPathForMatching controls which request path is used for matching. Despite its historical name, true selects the decoded req.URL.Path. The default (false) prefers req.URL.RawPath when present and otherwise uses req.URL.Path. URL.RawPath is optional and is set only when the original escaping differs from the default encoding of URL.Path.

  • AutoHandleHEAD bool

    AutoHandleHEAD enables automatic handling of HTTP HEAD requests by falling back to the corresponding GET route.

    +

    When enabled, a HEAD request will match the same handler as GET for the route, but the response body is suppressed in accordance with HTTP semantics. Headers (e.g., Content-Length, Content-Type) are preserved as if a GET request was made.

    +

    Security considerations: the GET handler is fully executed for every HEAD request, including all side effects:

    +
      +
    • State-mutating operations (DB writes, audit logs, counters) run.
    • +
    • Rate-limiting middleware consumes quota, enabling low-cost exhaustion.
    • +
    • Expensive computations run with no response body returned to the caller, making HEAD cheaper to abuse for DoS than GET.
    • +
    • All GET routes become enumerable via HEAD probing (200 = route exists, 405 = route absent).
    • +
    +

    If route confidentiality/state-mutation is a concern, leave AutoHandleHEAD disabled and register explicit HEAD handlers only for routes that are safe to expose (e.g. e.HEAD("/public", handler)). You can leverage Echo.OnAddRoute callback to add HEAD routes explicitly from a single place.

    +

    Disabled by default.

+
+
+

type Routes

+ +

Routes is collection of RouteInfo instances with various helper methods.

+
+
+
type Routes []RouteInfo
+
+
+

func (r Routes) Clone() Routes

+ +

Clone creates copy of Routes

+
+
+

func (r Routes) FilterByMethod(method string) (Routes, error)

+ +

FilterByMethod searched for matching route info by method

+
+
+

func (r Routes) FilterByName(name string) (Routes, error)

+ +

FilterByName searched for matching route info by name

+
+
+

func (r Routes) FilterByPath(path string) (Routes, error)

+ +

FilterByPath searched for matching route info by path

+
+
+

func (r Routes) FindByMethodPath(method string, path string) (RouteInfo, error)

+ +

FindByMethodPath searched for matching route info by method and path

+
+
+

func (r Routes) Reverse(routeName string, pathValues ...any) (string, error)

+ +

Reverse reverses route to URL string by replacing path parameters with given params values.

+
+
+
+

type SchemeExtractor

+ +

SchemeExtractor is a function to determine the scheme (for example http or https) of http.Request. Set appropriate one to Echo#SchemeExtractor.

+

When Echo#SchemeExtractor is not set, Context.Scheme uses ExtractSchemeFromHeaders with the default trust options.

+
+
+
type SchemeExtractor func(*http.Request) string
+
+
+
+

type StartConfig

+ +

StartConfig is for creating configured http.Server instance to start serve http(s) requests with given Echo instance

+
+
+
type StartConfig struct {
+	// Address specifies the address where listener will start listening on to serve HTTP(s) requests
+	Address string
+
+	// HideBanner instructs Start* method not to print banner when starting the Server.
+	HideBanner bool
+	// HidePort instructs Start* method not to print port when starting the Server.
+	HidePort bool
+
+	// CertFilesystem is filesystem is used to read `certFile` and `keyFile` when StartTLS method is called.
+	CertFilesystem fs.FS
+
+	// TLSConfig is used to configure TLS. If Listener is set, TLSConfig is not used to create the listener.
+	TLSConfig *tls.Config
+
+	// Listener is used to start server with the custom listener.
+	Listener net.Listener
+	// ListenerNetwork is used configure on which Network listener will use.
+	// If Listener is set, ListenerNetwork is not used.
+	ListenerNetwork string
+	// ListenerAddrFunc will be called after listener is created and started to listen for connections. This is useful in
+	// testing situations when server is started on random port `address = ":0"` in that case you can get actual port where
+	// listener is listening on.
+	ListenerAddrFunc func(addr net.Addr)
+
+	// GracefulTimeout is timeout value (defaults to 10sec) graceful shutdown will wait for server to handle ongoing requests
+	// before shutting down the server.
+	GracefulTimeout time.Duration
+	// OnShutdownError is called when graceful shutdown results an error. for example when listeners are not shut down within
+	// given timeout
+	OnShutdownError func(err error)
+
+	// BeforeServeFunc is callback that is called just before server starts to serve HTTP request.
+	// Use this callback when you want to configure http.Server different timeouts/limits/etc
+	BeforeServeFunc func(s *http.Server) error
+}
+
+
Fields
  • Address string

    Address specifies the address where listener will start listening on to serve HTTP(s) requests

  • HideBanner bool

    HideBanner instructs Start* method not to print banner when starting the Server.

  • HidePort bool

    HidePort instructs Start* method not to print port when starting the Server.

  • CertFilesystem fs.FS

    CertFilesystem is filesystem is used to read certFile and keyFile when StartTLS method is called.

  • TLSConfig *tls.Config

    TLSConfig is used to configure TLS. If Listener is set, TLSConfig is not used to create the listener.

  • Listener net.Listener

    Listener is used to start server with the custom listener.

  • ListenerNetwork string

    ListenerNetwork is used configure on which Network listener will use. If Listener is set, ListenerNetwork is not used.

  • ListenerAddrFunc func(addr net.Addr)

    ListenerAddrFunc will be called after listener is created and started to listen for connections. This is useful in testing situations when server is started on random port address = ":0" in that case you can get actual port where listener is listening on.

  • GracefulTimeout time.Duration

    GracefulTimeout is timeout value (defaults to 10sec) graceful shutdown will wait for server to handle ongoing requests before shutting down the server.

  • OnShutdownError func(err error)

    OnShutdownError is called when graceful shutdown results an error. for example when listeners are not shut down within given timeout

  • BeforeServeFunc func(s *http.Server) error

    BeforeServeFunc is callback that is called just before server starts to serve HTTP request. Use this callback when you want to configure http.Server different timeouts/limits/etc

+
+

func (sc StartConfig) Start(ctx stdContext.Context, h http.Handler) error

+ +

Start starts given Handler with HTTP(s) server.

+
+
+

func (sc StartConfig) StartTLS(ctx stdContext.Context, h http.Handler, certFile, keyFile any) error

+ +

StartTLS starts given Handler with HTTPS server. If certFile or keyFile is string the values are treated as file paths. If certFile or keyFile is []byte the values are treated as the certificate or key as-is.

+
+
+
+

type TemplateRenderer

+ +

TemplateRenderer is helper to ease creating renderers for html/template and text/template packages. Example usage:

+
+
+
	e.Renderer = &echo.TemplateRenderer{
+		Template: template.Must(template.ParseGlob("templates/*.html")),
+	}
+
+  e.Renderer = &echo.TemplateRenderer{
+		Template: template.Must(template.New("hello").Parse("Hello, {{.}}!")),
+	}
+
+
+
+
type TemplateRenderer struct {
+	Template interface {
+		ExecuteTemplate(wr io.Writer, name string, data any) error
+	}
+}
+
+
Fields
  • Template interface { + ExecuteTemplate(wr io.Writer, name string, data any) error +}
+
+

func (t *TemplateRenderer) Render(c *Context, w io.Writer, name string, data any) error

+ +

Render renders the template with given data.

+
+
+
+

type TimeLayout

+ +

TimeLayout specifies the format for parsing time values in request parameters. It can be a standard Go time layout string or one of the special Unix time layouts.

+
+
+
type TimeLayout string
+
+
+
+

type TimeOpts

+ +

TimeOpts is options for parsing time.Time values

+
+
+
type TimeOpts struct {
+	// Layout specifies the format for parsing time values in request parameters.
+	// It can be a standard Go time layout string or one of the special Unix time layouts.
+	//
+	// Parsing layout defaults to: echo.TimeLayout(time.RFC3339Nano)
+	// - To convert to custom layout use `echo.TimeLayout("2006-01-02")`
+	// - To convert unix timestamp (integer) to time.Time use `echo.TimeLayoutUnixTime`
+	// - To convert unix timestamp in milliseconds to time.Time use `echo.TimeLayoutUnixTimeMilli`
+	// - To convert unix timestamp in nanoseconds to time.Time use `echo.TimeLayoutUnixTimeNano`
+	Layout TimeLayout
+
+	// ParseInLocation is location used with time.ParseInLocation for layout that do not contain
+	// timezone information to set output time in given location.
+	// Defaults to time.UTC
+	ParseInLocation *time.Location
+
+	// ToInLocation is location to which parsed time is converted to after parsing.
+	// The parsed time will be converted using time.In(ToInLocation).
+	// Defaults to time.UTC
+	ToInLocation *time.Location
+}
+
+
Fields
  • Layout TimeLayout

    Layout specifies the format for parsing time values in request parameters. It can be a standard Go time layout string or one of the special Unix time layouts.

    +

    Parsing layout defaults to: echo.TimeLayout(time.RFC3339Nano) - To convert to custom layout use echo.TimeLayout("2006-01-02") - To convert unix timestamp (integer) to time.Time use echo.TimeLayoutUnixTime - To convert unix timestamp in milliseconds to time.Time use echo.TimeLayoutUnixTimeMilli - To convert unix timestamp in nanoseconds to time.Time use echo.TimeLayoutUnixTimeNano

  • ParseInLocation *time.Location

    ParseInLocation is location used with time.ParseInLocation for layout that do not contain timezone information to set output time in given location. Defaults to time.UTC

  • ToInLocation *time.Location

    ToInLocation is location to which parsed time is converted to after parsing. The parsed time will be converted using time.In(ToInLocation). Defaults to time.UTC

+
+
+

type TrustOption

+ +

TrustOption is config for which IP address to trust

+
+
+
type TrustOption func(*ipChecker)
+
+
+
+

type Validator

+ +

Validator is the interface that wraps the Validate function.

+
+
+
type Validator interface {
+	Validate(i any) error
+}
+
+
Methods
  • Validate func(i any) error
+
+
+

type ValueBinder

+ +

ValueBinder provides utility methods for binding query or path parameter to various Go built-in types

+
+
+
type ValueBinder struct {
+	// ValueFunc is used to get single parameter (first) value from request
+	ValueFunc func(sourceParam string) string
+	// ValuesFunc is used to get all values for parameter from request. i.e. `/api/search?ids=1&ids=2`
+	ValuesFunc func(sourceParam string) []string
+	// ErrorFunc is used to create errors. Allows you to use your own error type, that for example marshals to your specific json response
+	ErrorFunc func(sourceParam string, values []string, message string, internalError error) error
+	// contains filtered or unexported fields
+}
+
+
Fields
  • ValueFunc func(sourceParam string) string

    ValueFunc is used to get single parameter (first) value from request

  • ValuesFunc func(sourceParam string) []string

    ValuesFunc is used to get all values for parameter from request. i.e. /api/search?ids=1&ids=2

  • ErrorFunc func(sourceParam string, values []string, message string, internalError error) error

    ErrorFunc is used to create errors. Allows you to use your own error type, that for example marshals to your specific json response

+
+

func (b *ValueBinder) BindError() error

+ +

BindError returns first seen bind error and resets/empties binder errors for further calls

+
Example +
+
+
{
+
+	failFastRouteFunc := func(c *echo.Context) error {
+		var opts struct {
+			IDs    []int64
+			Active bool
+		}
+		length := int64(50)
+
+		b := echo.QueryParamsBinder(c)
+
+		err := b.Int64("length", &length).
+			Int64s("ids", &opts.IDs).
+			Bool("active", &opts.Active).
+			BindError()
+		if err != nil {
+			bErr := err.(*echo.BindingError)
+			return fmt.Errorf("my own custom error for field: %s values: %v", bErr.Field, bErr.Values)
+		}
+		fmt.Printf("active = %v, length = %v, ids = %v\n", opts.Active, length, opts.IDs)
+
+		return c.JSON(http.StatusOK, opts)
+	}
+
+	e := echo.New()
+	c := e.NewContext(
+		httptest.NewRequest(http.MethodGet, "/api/endpoint?active=true&length=25&ids=1&ids=2&ids=3", nil),
+		httptest.NewRecorder(),
+	)
+
+	_ = failFastRouteFunc(c)
+
+}
+
+

Output:

+
+
+
active = true, length = 25, ids = [1 2 3]
+
+
+
+
+

func (b *ValueBinder) BindErrors() []error

+ +

BindErrors returns all bind errors and resets/empties binder errors for further calls

+
Example +
+
+
{
+
+	routeFunc := func(c *echo.Context) error {
+		var opts struct {
+			IDs    []int64
+			Active bool
+		}
+		length := int64(50)
+
+		b := echo.QueryParamsBinder(c)
+
+		errs := b.Int64("length", &length).
+			Int64s("ids", &opts.IDs).
+			Bool("active", &opts.Active).
+			BindErrors()
+		if errs != nil {
+			for _, err := range errs {
+				bErr := err.(*echo.BindingError)
+				log.Printf("in case you want to access what field: %s values: %v failed", bErr.Field, bErr.Values)
+			}
+			return fmt.Errorf("%v fields failed to bind", len(errs))
+		}
+		fmt.Printf("active = %v, length = %v, ids = %v", opts.Active, length, opts.IDs)
+
+		return c.JSON(http.StatusOK, opts)
+	}
+
+	e := echo.New()
+	c := e.NewContext(
+		httptest.NewRequest(http.MethodGet, "/api/endpoint?active=true&length=25&ids=1&ids=2&ids=3", nil),
+		httptest.NewRecorder(),
+	)
+
+	_ = routeFunc(c)
+
+}
+
+

Output:

+
+
+
active = true, length = 25, ids = [1 2 3]
+
+
+
+
+

func (b *ValueBinder) BindUnmarshaler(sourceParam string, dest BindUnmarshaler) *ValueBinder

+ +

BindUnmarshaler binds parameter to destination implementing BindUnmarshaler interface

+
+
+

func (b *ValueBinder) BindWithDelimiter(sourceParam string, dest any, delimiter string) *ValueBinder

+ +

BindWithDelimiter binds parameter to destination by suitable conversion function. Delimiter is used before conversion to split parameter value to separate values

+
+
+

func (b *ValueBinder) Bool(sourceParam string, dest *bool) *ValueBinder

+ +

Bool binds parameter to bool variable

+
+
+

func (b *ValueBinder) Bools(sourceParam string, dest *[]bool) *ValueBinder

+ +

Bools binds parameter values to slice of bool variables

+
+
+

func (b *ValueBinder) Byte(sourceParam string, dest *byte) *ValueBinder

+ +

Byte binds parameter to byte variable

+
+
+

func (b *ValueBinder) CustomFunc(sourceParam string, customFunc func(values []string) []error) *ValueBinder

+ +

CustomFunc binds parameter values with Func. Func is called only when parameter values exist.

+
Example +
+
+
{
+
+	routeFunc := func(c *echo.Context) error {
+		length := int64(50)
+		var binary []byte
+
+		b := echo.QueryParamsBinder(c)
+		errs := b.Int64("length", &length).
+			CustomFunc("base64", func(values []string) []error {
+				if len(values) == 0 {
+					return nil
+				}
+				decoded, err := base64.URLEncoding.DecodeString(values[0])
+				if err != nil {
+
+					return []error{echo.NewBindingError("base64", values[0:1], "failed to decode base64", err)}
+				}
+				binary = decoded
+				return nil
+			}).
+			BindErrors()
+
+		if errs != nil {
+			for _, err := range errs {
+				bErr := err.(*echo.BindingError)
+				log.Printf("in case you want to access what field: %s values: %v failed", bErr.Field, bErr.Values)
+			}
+			return fmt.Errorf("%v fields failed to bind", len(errs))
+		}
+		fmt.Printf("length = %v, base64 = %s", length, binary)
+
+		return c.JSON(http.StatusOK, "ok")
+	}
+
+	e := echo.New()
+	c := e.NewContext(
+		httptest.NewRequest(http.MethodGet, "/api/endpoint?length=25&base64=SGVsbG8gV29ybGQ%3D", nil),
+		httptest.NewRecorder(),
+	)
+	_ = routeFunc(c)
+
+}
+
+

Output:

+
+
+
length = 25, base64 = Hello World
+
+
+
+
+

func (b *ValueBinder) Duration(sourceParam string, dest *time.Duration) *ValueBinder

+ +

Duration binds parameter to time.Duration variable

+
+
+

func (b *ValueBinder) Durations(sourceParam string, dest *[]time.Duration) *ValueBinder

+ +

Durations binds parameter values to slice of time.Duration variables

+
+
+

func (b *ValueBinder) FailFast(value bool) *ValueBinder

+ +

FailFast set internal flag to indicate if binding methods will return early (without binding) when previous bind failed NB: call this method before any other binding methods as it modifies binding methods behaviour

+
+
+

func (b *ValueBinder) Float32(sourceParam string, dest *float32) *ValueBinder

+ +

Float32 binds parameter to float32 variable

+
+
+

func (b *ValueBinder) Float32s(sourceParam string, dest *[]float32) *ValueBinder

+ +

Float32s binds parameter values to slice of float32 variables

+
+
+

func (b *ValueBinder) Float64(sourceParam string, dest *float64) *ValueBinder

+ +

Float64 binds parameter to float64 variable

+
+
+

func (b *ValueBinder) Float64s(sourceParam string, dest *[]float64) *ValueBinder

+ +

Float64s binds parameter values to slice of float64 variables

+
+
+

func (b *ValueBinder) Int(sourceParam string, dest *int) *ValueBinder

+ +

Int binds parameter to int variable

+
+
+

func (b *ValueBinder) Int16(sourceParam string, dest *int16) *ValueBinder

+ +

Int16 binds parameter to int16 variable

+
+
+

func (b *ValueBinder) Int16s(sourceParam string, dest *[]int16) *ValueBinder

+ +

Int16s binds parameter to slice of int16

+
+
+

func (b *ValueBinder) Int32(sourceParam string, dest *int32) *ValueBinder

+ +

Int32 binds parameter to int32 variable

+
+
+

func (b *ValueBinder) Int32s(sourceParam string, dest *[]int32) *ValueBinder

+ +

Int32s binds parameter to slice of int32

+
+
+

func (b *ValueBinder) Int64(sourceParam string, dest *int64) *ValueBinder

+ +

Int64 binds parameter to int64 variable

+
+
+

func (b *ValueBinder) Int64s(sourceParam string, dest *[]int64) *ValueBinder

+ +

Int64s binds parameter to slice of int64

+
+
+

func (b *ValueBinder) Int8(sourceParam string, dest *int8) *ValueBinder

+ +

Int8 binds parameter to int8 variable

+
+
+

func (b *ValueBinder) Int8s(sourceParam string, dest *[]int8) *ValueBinder

+ +

Int8s binds parameter to slice of int8

+
+
+

func (b *ValueBinder) Ints(sourceParam string, dest *[]int) *ValueBinder

+ +

Ints binds parameter to slice of int

+
+
+

func (b *ValueBinder) JSONUnmarshaler(sourceParam string, dest json.Unmarshaler) *ValueBinder

+ +

JSONUnmarshaler binds parameter to destination implementing json.Unmarshaler interface

+
+
+

func (b *ValueBinder) MustBindUnmarshaler(sourceParam string, dest BindUnmarshaler) *ValueBinder

+ +

MustBindUnmarshaler requires parameter value to exist to bind to destination implementing BindUnmarshaler interface. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustBindWithDelimiter(sourceParam string, dest any, delimiter string) *ValueBinder

+ +

MustBindWithDelimiter requires parameter value to exist to bind destination by suitable conversion function. Delimiter is used before conversion to split parameter value to separate values

+
+
+

func (b *ValueBinder) MustBool(sourceParam string, dest *bool) *ValueBinder

+ +

MustBool requires parameter value to exist to bind to bool variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustBools(sourceParam string, dest *[]bool) *ValueBinder

+ +

MustBools requires parameter values to exist to bind to slice of bool variables. Returns error when values does not exist

+
+
+

func (b *ValueBinder) MustByte(sourceParam string, dest *byte) *ValueBinder

+ +

MustByte requires parameter value to exist to bind to byte variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustCustomFunc(sourceParam string, customFunc func(values []string) []error) *ValueBinder

+ +

MustCustomFunc requires parameter values to exist to bind with Func. Returns error when value does not exist.

+
+
+

func (b *ValueBinder) MustDuration(sourceParam string, dest *time.Duration) *ValueBinder

+ +

MustDuration requires parameter value to exist to bind to time.Duration variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustDurations(sourceParam string, dest *[]time.Duration) *ValueBinder

+ +

MustDurations requires parameter values to exist to bind to slice of time.Duration variables. Returns error when values does not exist

+
+
+

func (b *ValueBinder) MustFloat32(sourceParam string, dest *float32) *ValueBinder

+ +

MustFloat32 requires parameter value to exist to bind to float32 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustFloat32s(sourceParam string, dest *[]float32) *ValueBinder

+ +

MustFloat32s requires parameter values to exist to bind to slice of float32 variables. Returns error when values does not exist

+
+
+

func (b *ValueBinder) MustFloat64(sourceParam string, dest *float64) *ValueBinder

+ +

MustFloat64 requires parameter value to exist to bind to float64 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustFloat64s(sourceParam string, dest *[]float64) *ValueBinder

+ +

MustFloat64s requires parameter values to exist to bind to slice of float64 variables. Returns error when values does not exist

+
+
+

func (b *ValueBinder) MustInt(sourceParam string, dest *int) *ValueBinder

+ +

MustInt requires parameter value to exist to bind to int variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt16(sourceParam string, dest *int16) *ValueBinder

+ +

MustInt16 requires parameter value to exist to bind to int16 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt16s(sourceParam string, dest *[]int16) *ValueBinder

+ +

MustInt16s requires parameter value to exist to bind to int16 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt32(sourceParam string, dest *int32) *ValueBinder

+ +

MustInt32 requires parameter value to exist to bind to int32 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt32s(sourceParam string, dest *[]int32) *ValueBinder

+ +

MustInt32s requires parameter value to exist to bind to int32 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt64(sourceParam string, dest *int64) *ValueBinder

+ +

MustInt64 requires parameter value to exist to bind to int64 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt64s(sourceParam string, dest *[]int64) *ValueBinder

+ +

MustInt64s requires parameter value to exist to bind to int64 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt8(sourceParam string, dest *int8) *ValueBinder

+ +

MustInt8 requires parameter value to exist to bind to int8 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInt8s(sourceParam string, dest *[]int8) *ValueBinder

+ +

MustInt8s requires parameter value to exist to bind to int8 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustInts(sourceParam string, dest *[]int) *ValueBinder

+ +

MustInts requires parameter value to exist to bind to int slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustJSONUnmarshaler(sourceParam string, dest json.Unmarshaler) *ValueBinder

+ +

MustJSONUnmarshaler requires parameter value to exist to bind to destination implementing json.Unmarshaler interface. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustString(sourceParam string, dest *string) *ValueBinder

+ +

MustString requires parameter value to exist to bind to string variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustStrings(sourceParam string, dest *[]string) *ValueBinder

+ +

MustStrings requires parameter values to exist to bind to slice of string variables. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustTextUnmarshaler(sourceParam string, dest encoding.TextUnmarshaler) *ValueBinder

+ +

MustTextUnmarshaler requires parameter value to exist to bind to destination implementing encoding.TextUnmarshaler interface. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustTime(sourceParam string, dest *time.Time, layout string) *ValueBinder

+ +

MustTime requires parameter value to exist to bind to time.Time variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustTimes(sourceParam string, dest *[]time.Time, layout string) *ValueBinder

+ +

MustTimes requires parameter values to exist to bind to slice of time.Time variables. Returns error when values does not exist

+
+
+

func (b *ValueBinder) MustUint(sourceParam string, dest *uint) *ValueBinder

+ +

MustUint requires parameter value to exist to bind to uint variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint16(sourceParam string, dest *uint16) *ValueBinder

+ +

MustUint16 requires parameter value to exist to bind to uint16 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint16s(sourceParam string, dest *[]uint16) *ValueBinder

+ +

MustUint16s requires parameter value to exist to bind to uint16 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint32(sourceParam string, dest *uint32) *ValueBinder

+ +

MustUint32 requires parameter value to exist to bind to uint32 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint32s(sourceParam string, dest *[]uint32) *ValueBinder

+ +

MustUint32s requires parameter value to exist to bind to uint32 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint64(sourceParam string, dest *uint64) *ValueBinder

+ +

MustUint64 requires parameter value to exist to bind to uint64 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint64s(sourceParam string, dest *[]uint64) *ValueBinder

+ +

MustUint64s requires parameter value to exist to bind to uint64 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint8(sourceParam string, dest *uint8) *ValueBinder

+ +

MustUint8 requires parameter value to exist to bind to uint8 variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUint8s(sourceParam string, dest *[]uint8) *ValueBinder

+ +

MustUint8s requires parameter value to exist to bind to uint8 slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUints(sourceParam string, dest *[]uint) *ValueBinder

+ +

MustUints requires parameter value to exist to bind to uint slice variable. Returns error when value does not exist

+
+
+

func (b *ValueBinder) MustUnixTime(sourceParam string, dest *time.Time) *ValueBinder

+ +

MustUnixTime requires parameter value to exist to bind to time.Time variable (in local time corresponding to the given Unix time). Returns error when value does not exist.

+

Example: 1609180603 bind to 2020-12-28T18:36:43.000000000+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
+
+
+

func (b *ValueBinder) MustUnixTimeMilli(sourceParam string, dest *time.Time) *ValueBinder

+ +

MustUnixTimeMilli requires parameter value to exist to bind to time.Time variable (in local time corresponding to the given Unix time in millisecond precision). Returns error when value does not exist.

+

Example: 1647184410140 bind to 2022-03-13T15:13:30.140000000+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
+
+
+

func (b *ValueBinder) MustUnixTimeNano(sourceParam string, dest *time.Time) *ValueBinder

+ +

MustUnixTimeNano requires parameter value to exist to bind to time.Time variable (in local time corresponding to the given Unix time value in nanosecond precision). Returns error when value does not exist.

+

Example: 1609180603123456789 binds to 2020-12-28T18:36:43.123456789+00:00 Example: 1000000000 binds to 1970-01-01T00:00:01.000000000+00:00 Example: 999999999 binds to 1970-01-01T00:00:00.999999999+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
  • Javascript's Number type only has about 53 bits of precision (Number.MAX_SAFE_INTEGER = 9007199254740991). Compare it to 1609180603123456789 in example.
  • +
+
+
+

func (b *ValueBinder) String(sourceParam string, dest *string) *ValueBinder

+ +

String binds parameter to string variable

+
+
+

func (b *ValueBinder) Strings(sourceParam string, dest *[]string) *ValueBinder

+ +

Strings binds parameter values to slice of string

+
+
+

func (b *ValueBinder) TextUnmarshaler(sourceParam string, dest encoding.TextUnmarshaler) *ValueBinder

+ +

TextUnmarshaler binds parameter to destination implementing encoding.TextUnmarshaler interface

+
+
+

func (b *ValueBinder) Time(sourceParam string, dest *time.Time, layout string) *ValueBinder

+ +

Time binds parameter to time.Time variable

+
+
+

func (b *ValueBinder) Times(sourceParam string, dest *[]time.Time, layout string) *ValueBinder

+ +

Times binds parameter values to slice of time.Time variables

+
+
+

func (b *ValueBinder) Uint(sourceParam string, dest *uint) *ValueBinder

+ +

Uint binds parameter to uint variable

+
+
+

func (b *ValueBinder) Uint16(sourceParam string, dest *uint16) *ValueBinder

+ +

Uint16 binds parameter to uint16 variable

+
+
+

func (b *ValueBinder) Uint16s(sourceParam string, dest *[]uint16) *ValueBinder

+ +

Uint16s binds parameter to slice of uint16

+
+
+

func (b *ValueBinder) Uint32(sourceParam string, dest *uint32) *ValueBinder

+ +

Uint32 binds parameter to uint32 variable

+
+
+

func (b *ValueBinder) Uint32s(sourceParam string, dest *[]uint32) *ValueBinder

+ +

Uint32s binds parameter to slice of uint32

+
+
+

func (b *ValueBinder) Uint64(sourceParam string, dest *uint64) *ValueBinder

+ +

Uint64 binds parameter to uint64 variable

+
+
+

func (b *ValueBinder) Uint64s(sourceParam string, dest *[]uint64) *ValueBinder

+ +

Uint64s binds parameter to slice of uint64

+
+
+

func (b *ValueBinder) Uint8(sourceParam string, dest *uint8) *ValueBinder

+ +

Uint8 binds parameter to uint8 variable

+
+
+

func (b *ValueBinder) Uint8s(sourceParam string, dest *[]uint8) *ValueBinder

+ +

Uint8s binds parameter to slice of uint8

+
+
+

func (b *ValueBinder) Uints(sourceParam string, dest *[]uint) *ValueBinder

+ +

Uints binds parameter to slice of uint

+
+
+

func (b *ValueBinder) UnixTime(sourceParam string, dest *time.Time) *ValueBinder

+ +

UnixTime binds parameter to time.Time variable (in local Time corresponding to the given Unix time).

+

Example: 1609180603 bind to 2020-12-28T18:36:43.000000000+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
+
+
+

func (b *ValueBinder) UnixTimeMilli(sourceParam string, dest *time.Time) *ValueBinder

+ +

UnixTimeMilli binds parameter to time.Time variable (in local time corresponding to the given Unix time in millisecond precision).

+

Example: 1647184410140 bind to 2022-03-13T15:13:30.140000000+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
+
+
+

func (b *ValueBinder) UnixTimeNano(sourceParam string, dest *time.Time) *ValueBinder

+ +

UnixTimeNano binds parameter to time.Time variable (in local time corresponding to the given Unix time in nanosecond precision).

+

Example: 1609180603123456789 binds to 2020-12-28T18:36:43.123456789+00:00 Example: 1000000000 binds to 1970-01-01T00:00:01.000000000+00:00 Example: 999999999 binds to 1970-01-01T00:00:00.999999999+00:00

+

Note:

+
    +
  • time.Time{} (param is empty) and time.Unix(0,0) (param = "0") are not equal
  • +
  • Javascript's Number type only has about 53 bits of precision (Number.MAX_SAFE_INTEGER = 9007199254740991). Compare it to 1609180603123456789 in example.
  • +
+
+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file From 5a69ade7e4908caad2d987a4bcece32d0d2b7572 Mon Sep 17 00:00:00 2001 From: slowwwkiss Date: Fri, 27 Nov 2026 11:37:34 +0700 Subject: [PATCH 2/3] docs: add generated API reference for echo v5 (static/sourcey/) (2/3) --- site/public/sourcey/api/package-root.md | 8280 +++++++++++++++++ site/public/sourcey/documents.json | 2364 +++++ site/public/sourcey/evidence.json | 230 + .../guides/binding-error-handling.html | 76 + .../sourcey/guides/binding-error-handling.md | 82 + .../sourcey/guides/context-responses.html | 90 + .../sourcey/guides/context-responses.md | 94 + site/public/sourcey/guides/middleware.html | 85 + site/public/sourcey/guides/middleware.md | 95 + .../sourcey/guides/migration-v4-v5.html | 53 + site/public/sourcey/guides/migration-v4-v5.md | 72 + .../sourcey/guides/routing-context.html | 69 + site/public/sourcey/guides/routing-context.md | 84 + site/public/sourcey/index.html | 41 + site/public/sourcey/index.md | 39 + 15 files changed, 11754 insertions(+) create mode 100644 site/public/sourcey/api/package-root.md create mode 100644 site/public/sourcey/documents.json create mode 100644 site/public/sourcey/evidence.json create mode 100644 site/public/sourcey/guides/binding-error-handling.html create mode 100644 site/public/sourcey/guides/binding-error-handling.md create mode 100644 site/public/sourcey/guides/context-responses.html create mode 100644 site/public/sourcey/guides/context-responses.md create mode 100644 site/public/sourcey/guides/middleware.html create mode 100644 site/public/sourcey/guides/middleware.md create mode 100644 site/public/sourcey/guides/migration-v4-v5.html create mode 100644 site/public/sourcey/guides/migration-v4-v5.md create mode 100644 site/public/sourcey/guides/routing-context.html create mode 100644 site/public/sourcey/guides/routing-context.md create mode 100644 site/public/sourcey/index.html create mode 100644 site/public/sourcey/index.md diff --git a/site/public/sourcey/api/package-root.md b/site/public/sourcey/api/package-root.md new file mode 100644 index 00000000..341b04ee --- /dev/null +++ b/site/public/sourcey/api/package-root.md @@ -0,0 +1,8280 @@ +# github.com/labstack/echo/v5 + +Package echo implements high performance, minimalist Go web framework. + +Example: + + package main + + import ( + "log/slog" + "net/http" + + "github.com/labstack/echo/v5" + "github.com/labstack/echo/v5/middleware" + ) + + // Handler + func hello(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") + } + + func main() { + // Echo instance + e := echo.New() + + // Middleware + e.Use(middleware.RequestLogger()) + e.Use(middleware.Recover()) + + // Routes + e.GET("/", hello) + + // Start server + if err := e.Start(":8080"); err != nil { + slog.Error("failed to start server", "error", err) + } + } + +Learn more at [https://echo.labstack.com](https://echo.labstack.com) + +## TimeLayoutUnixTime + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## TimeLayoutUnixTimeMilli + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## TimeLayoutUnixTimeNano + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## MIMEApplicationJSON + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJSONCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJavaScript + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJavaScriptCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationXML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationXMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextXML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextXMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationForm + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationProtobuf + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationMsgpack + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationProblemJSON + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextHTML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextHTMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextPlain + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextPlainCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEMultipartForm + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEOctetStream + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## PROPFIND + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## REPORT + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## QUERY + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## RouteNotFound + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## RouteAny + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## HeaderAccept + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAcceptEncoding + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAllow + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAuthorization + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentDisposition + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentEncoding + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentLength + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentType + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderCookie + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderSetCookie + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderIfModifiedSince + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderLastModified + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderLocation + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderRetryAfter + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderUpgrade + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderVary + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderWWWAuthenticate + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedFor + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedProto + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedProtocol + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedSsl + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXUrlScheme + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXHTTPMethodOverride + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRealIP + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRequestID + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXCorrelationID + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRequestedWith + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderServer + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderOrigin + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderCacheControl + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderConnection + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlRequestMethod + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlRequestHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowOrigin + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowMethods + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowCredentials + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlExposeHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlMaxAge + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderStrictTransportSecurity + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXContentTypeOptions + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXXSSProtection + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXFrameOptions + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentSecurityPolicy + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentSecurityPolicyReportOnly + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXCSRFToken + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderReferrerPolicy + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderSecFetchSite + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## NotFoundRouteName + +```go +const ( + // NotFoundRouteName is name of RouteInfo returned when router did not find matching route (404: not found). + NotFoundRouteName = "echo_route_not_found_name" + // MethodNotAllowedRouteName is name of RouteInfo returned when router did not find matching method for route (405: method not allowed). + MethodNotAllowedRouteName = "echo_route_method_not_allowed_name" +) +``` + +## MethodNotAllowedRouteName + +```go +const ( + // NotFoundRouteName is name of RouteInfo returned when router did not find matching route (404: not found). + NotFoundRouteName = "echo_route_not_found_name" + // MethodNotAllowedRouteName is name of RouteInfo returned when router did not find matching method for route (405: method not allowed). + MethodNotAllowedRouteName = "echo_route_method_not_allowed_name" +) +``` + +## ContextKeyHeaderAllow + +```go +const ( + // ContextKeyHeaderAllow is set by Router for getting value for `Allow` header in later stages of handler call chain. + // Allow header is mandatory for status 405 (method not found) and useful for OPTIONS method requests. + // It is added to context only when Router does not find matching method handler for request. + ContextKeyHeaderAllow = "echo_header_allow" +) +``` + +## Version + +```go +const ( + // Version of Echo + Version = "5.4.7" +) +``` + +## ErrBadRequest + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrUnauthorized + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrForbidden + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrNotFound + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrMethodNotAllowed + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrRequestTimeout + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrStatusRequestEntityTooLarge + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrUnsupportedMediaType + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrTooManyRequests + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrInternalServerError + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrBadGateway + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrServiceUnavailable + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrValidatorNotRegistered + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrRendererNotRegistered + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidRedirectCode + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrCookieNotFound + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidCertOrKeyType + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidListenerNetwork + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidJSONPCallback + +```go +var ErrInvalidJSONPCallback = errors.New("invalid JSONP callback") +``` + +ErrInvalidJSONPCallback is wrapped in the 400 Bad Request error that Context.JSONP and Context.JSONPBlob return when the callback is not a valid JSONP function name. See Context.JSONP. + +## ErrInvalidKeyType + +```go +var ErrInvalidKeyType = errors.New("invalid key type") +``` + +ErrInvalidKeyType is error that is returned when the value is not castable to expected type. + +## ErrNonExistentKey + +```go +var ErrNonExistentKey = errors.New("non existent key") +``` + +ErrNonExistentKey is error that is returned when key does not exist + +## BindBody + +```go +func BindBody(c *Context, target any) (err error) +``` + +BindBody binds request body contents to bindable object NB: then binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See non-MIMEMultipartForm: [https://golang.org/pkg/net/http/#Request.ParseForm](https://golang.org/pkg/net/http/#Request.ParseForm) See MIMEMultipartForm: [https://golang.org/pkg/net/http/#Request.ParseMultipartForm](https://golang.org/pkg/net/http/#Request.ParseMultipartForm) + +## BindHeaders + +```go +func BindHeaders(c *Context, target any) error +``` + +BindHeaders binds HTTP headers to a bindable object + +## BindPathValues + +```go +func BindPathValues(c *Context, target any) error +``` + +BindPathValues binds path parameter values to bindable object + +## BindQueryParams + +```go +func BindQueryParams(c *Context, target any) error +``` + +BindQueryParams binds query params to bindable object + +## ContextGet + +```go +func ContextGet[T any](c *Context, key string) (T, error) +``` + +ContextGet retrieves a value from the context store or ErrNonExistentKey error the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T. + +## ContextGetOr + +```go +func ContextGetOr[T any](c *Context, key string, defaultValue T) (T, error) +``` + +ContextGetOr retrieves a value from the context store or returns a default value when the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T. + +## DefaultHTTPErrorHandler + +```go +func DefaultHTTPErrorHandler(exposeError bool) HTTPErrorHandler +``` + +DefaultHTTPErrorHandler creates new default HTTP error handler implementation. It sends a JSON response with status code. `exposeError` parameter decides if returned message will contain also error message or not + +Note: DefaultHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately) Note: In case errors happens in middleware call-chain that is returning from handler (which did not return an error). When handler has already sent response (ala c.JSON()) and there is error in middleware that is returning from handler. Then the error that global error handler received will be ignored because we have already "committed" the response and status code header has been sent to the client. + +### Example: DefaultHTTPErrorHandler + +```go +// SPDX-License-Identifier: MIT +// SPDX-FileCopyrightText: © 2015 LabStack LLC and Echo contributors + +// run tests as external package to get real feel for API +package echo_test + +import ( + "encoding/json" + "fmt" + "github.com/labstack/echo/v5" + "net/http" + "net/http/httptest" +) + +func ExampleDefaultHTTPErrorHandler() { + e := echo.New() + e.GET("/api/endpoint", func(c *echo.Context) error { + return &apiError{ + Code: http.StatusBadRequest, + Body: map[string]any{"message": "custom error"}, + } + }) + + req := httptest.NewRequest(http.MethodGet, "/api/endpoint?err=1", nil) + resp := httptest.NewRecorder() + + e.ServeHTTP(resp, req) + + fmt.Printf("%d %s", resp.Code, resp.Body.String()) + + // Output: 400 {"error":{"message":"custom error"}} +} + +type apiError struct { + Code int + Body any +} + +func (e *apiError) StatusCode() int { + return e.Code +} + +func (e *apiError) MarshalJSON() ([]byte, error) { + type body struct { + Error any `json:"error"` + } + return json.Marshal(body{Error: e.Body}) +} + +func (e *apiError) Error() string { + return http.StatusText(e.Code) +} +``` + +Output: + +```text +400 {"error":{"message":"custom error"}} +``` + +## ExtractIPDirect + +```go +func ExtractIPDirect() IPExtractor +``` + +ExtractIPDirect extracts an IP address using an actual IP address. Use this if your server faces to internet directly (i.e.: uses no proxy). + +## ExtractIPFromRealIPHeader + +```go +func ExtractIPFromRealIPHeader(options ...TrustOption) IPExtractor +``` + +ExtractIPFromRealIPHeader extracts IP address using `x-real-ip` header. Use this if you put proxy which uses this header. + +## ExtractIPFromXFFHeader + +```go +func ExtractIPFromXFFHeader(options ...TrustOption) IPExtractor +``` + +ExtractIPFromXFFHeader extracts IP address using `x-forwarded-for` header. Use this if you put proxy which uses this header. This returns nearest untrustable IP. If all IPs are trustable, returns furthest one (i.e.: XFF\[0]). + +## ExtractSchemeDirect + +```go +func ExtractSchemeDirect() SchemeExtractor +``` + +ExtractSchemeDirect returns a SchemeExtractor that uses only the actual connection: `https` for TLS connections and `http` otherwise. Forwarding headers are ignored. Use this if your server faces the internet directly (i.e.: uses no proxy). + +## ExtractSchemeFromHeaders + +```go +func ExtractSchemeFromHeaders(options ...TrustOption) SchemeExtractor +``` + +ExtractSchemeFromHeaders returns a SchemeExtractor that uses the `X-Forwarded-Proto`, `X-Forwarded-Protocol`, `X-Forwarded-Ssl` and `X-Url-Scheme` headers only when the request comes directly from a trusted address (http.Request.RemoteAddr). For requests from other addresses the headers are ignored and the scheme of the actual connection is used. + +By default, loopback, link-local and private network addresses and unix socket peers are trusted. Use TrustOption to change this, for example TrustIPRange to trust a proxy that connects from a public address (such as a CDN or a cloud load balancer). TrustLoopback(false) also stops trusting unix socket peers. + +When `X-Forwarded-Proto` is present, the other headers are ignored, and the last value is used. The trusted proxy must therefore set (overwrite) `X-Forwarded-Proto` rather than pass through the value sent by the client. + +This is the default strategy when Echo#SchemeExtractor is not set. + +## FormFieldBinder + +```go +func FormFieldBinder(c *Context) *ValueBinder +``` + +FormFieldBinder creates form field value binder For all requests, FormFieldBinder parses the raw query from the URL and uses query params as form fields + +For POST, PUT, and PATCH requests, it also reads the request body, parses it as a form and uses query params as form fields. Request body parameters take precedence over URL query string values in r.Form. + +NB: when binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See [https://golang.org/pkg/net/http/#Request.ParseForm](https://golang.org/pkg/net/http/#Request.ParseForm) + +## FormValue + +```go +func FormValue[T any](c *Context, key string, opts ...any) (T, error) +``` + +FormValue extracts and parses a single form value from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the form field exists but has an empty value, the zero value of type T is returned + with no error. For example, an empty form field returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +See ParseValue for supported types and options + +## FormValueOr + +```go +func FormValueOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error) +``` + +FormValueOr extracts and parses a single form value from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails or form parsing errors occur. + +Example: + + limit, err := echo.FormValueOr[int](c, "limit", 100) + // If "limit" is missing: returns (100, nil) + // If "limit" is "50": returns (50, nil) + // If "limit" is "abc": returns (100, BindingError) + +See ParseValue for supported types and options + +## FormValues + +```go +func FormValues[T any](c *Context, key string, opts ...any) ([]T, error) +``` + +FormValues extracts and parses all values for a form values key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found. + +See ParseValues for supported types and options + +## FormValuesOr + +```go +func FormValuesOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error) +``` + +FormValuesOr extracts and parses all values for a form values key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails or form parsing errors occur. + +Example: + + tags, err := echo.FormValuesOr[string](c, "tags", []string{}) + // If "tags" is missing: returns ([], nil) + // If form parsing fails: returns (nil, error) + +See ParseValues for supported types and options + +## HandlerName + +```go +func HandlerName(h HandlerFunc) string +``` + +HandlerName returns string name for given function. + +## LegacyIPExtractor + +```go +func LegacyIPExtractor() IPExtractor +``` + +LegacyIPExtractor returns an IPExtractor that derives the client IP address from common proxy headers, falling back to the request's remote address. + +Resolution order: + + 1. X-Forwarded-For: returns the first IP in the comma-separated list. If multiple values are present, only the left-most (original client) is used. Surrounding brackets (for IPv6) are stripped. + 2. X-Real-IP: used if X-Forwarded-For is absent. Surrounding brackets (for IPv6) are stripped. + 3. req.RemoteAddr: used as a fallback; the host portion is extracted via net.SplitHostPort. + +Notes: + + - No validation is performed on header values. + - This function trusts headers as-is and is therefore not safe against spoofing unless the application is behind a trusted proxy that is configured to strip/replace/modify headers correctly. + +Use ExtractIPFromXFFHeader or ExtractIPFromRealIPHeader instead of LegacyIPExtractor. + +## LegacySchemeExtractor + +```go +func LegacySchemeExtractor() SchemeExtractor +``` + +LegacySchemeExtractor returns a SchemeExtractor that uses the forwarding headers from any client. This was the behavior of Context.Scheme before the address of the client was checked. + +It is not safe against spoofing unless every request passes through a proxy that sets or removes the `X-Forwarded-Proto`, `X-Forwarded-Protocol`, `X-Forwarded-Ssl` and `X-Url-Scheme` headers. Use ExtractSchemeFromHeaders instead. + +## MustSubFS + +```go +func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS +``` + +MustSubFS creates sub FS from current filesystem or panic on failure. Panic happens when `fsRoot` contains invalid path according to `fs.ValidPath` rules. + +MustSubFS is helpful when dealing with `embed.FS` because for example `//go:embed assets/images` embeds files with paths including `assets/images` as their prefix. In that case use \`fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. + +## New + +```go +func New() *Echo +``` + +New creates an instance of Echo. + +## NewBindingError + +```go +func NewBindingError(sourceParam string, values []string, message string, err error) error +``` + +NewBindingError creates new instance of binding error + +## NewConcurrentRouter + +```go +func NewConcurrentRouter(r Router) Router +``` + +NewConcurrentRouter creates concurrency safe Router which routes can be added/removed safely even after http.Server has been started. + +## NewContext + +```go +func NewContext(r *http.Request, w http.ResponseWriter, opts ...any) *Context +``` + +NewContext returns a new Context instance. + +Note: request,response and e can be left to nil as Echo.ServeHTTP will call c.Reset(req,resp) anyway these arguments are useful when creating context for tests and cases like that. + +## NewDefaultFS + +```go +func NewDefaultFS(dir string) fs.FS +``` + +NewDefaultFS returns a new defaultFS instance which allows `fs.FS.Open` to have absolute paths as input if it matches then given dir as prefix. + +## NewHTTPError + +```go +func NewHTTPError(code int, message string) *HTTPError +``` + +NewHTTPError creates a new instance of HTTPError + +## NewResponse + +```go +func NewResponse(w http.ResponseWriter, logger *slog.Logger) (r *Response) +``` + +NewResponse creates a new instance of Response. + +## NewRouter + +```go +func NewRouter(config RouterConfig) *DefaultRouter +``` + +NewRouter returns a new Router instance. + +## NewVirtualHostHandler + +```go +func NewVirtualHostHandler(vhosts map[string]*Echo) *Echo +``` + +NewVirtualHostHandler creates instance of Echo that routes requests to given virtual hosts when hosts in request does not exist in given map the request is served by returned Echo instance. + +## NewWithConfig + +```go +func NewWithConfig(config Config) *Echo +``` + +NewWithConfig creates an instance of Echo with given configuration. + +## ParseValue + +```go +func ParseValue[T any](value string, opts ...any) (T, error) +``` + +ParseValue parses value to generic type + +Types that are supported: + + - bool + - float32 + - float64 + - int + - int8 + - int16 + - int32 + - int64 + - uint + - uint8/byte + - uint16 + - uint32 + - uint64 + - string + - echo.BindUnmarshaler interface + - encoding.TextUnmarshaler interface + - json.Unmarshaler interface + - time.Duration + - time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration + +## ParseValueOr + +```go +func ParseValueOr[T any](value string, defaultValue T, opts ...any) (T, error) +``` + +ParseValueOr parses value to generic type, when value is empty defaultValue is returned. + +Types that are supported: + + - bool + - float32 + - float64 + - int + - int8 + - int16 + - int32 + - int64 + - uint + - uint8/byte + - uint16 + - uint32 + - uint64 + - string + - echo.BindUnmarshaler interface + - encoding.TextUnmarshaler interface + - json.Unmarshaler interface + - time.Duration + - time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration + +## ParseValues + +```go +func ParseValues[T any](values []string, opts ...any) ([]T, error) +``` + +ParseValues parses value to generic type slice. Same types are supported as ParseValue function but the result type is slice instead of scalar value. + +See ParseValue for supported types and options + +## ParseValuesOr + +```go +func ParseValuesOr[T any](values []string, defaultValue []T, opts ...any) ([]T, error) +``` + +ParseValuesOr parses value to generic type slice, when value is empty defaultValue is returned. Same types are supported as ParseValue function but the result type is slice instead of scalar value. + +See ParseValue for supported types and options + +## PathParam + +```go +func PathParam[T any](c *Context, paramName string, opts ...any) (T, error) +``` + +PathParam extracts and parses a path parameter from the context by name. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the parameter exists but has an empty value, the zero value of type T is returned + with no error. For example, a path parameter with value "" returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +See ParseValue for supported types and options + +## PathParamOr + +```go +func PathParamOr[T any](c *Context, paramName string, defaultValue T, opts ...any) (T, error) +``` + +PathParamOr extracts and parses a path parameter from the context by name. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type). + +Example: + + id, err := echo.PathParamOr[int](c, "id", 0) + // If "id" is missing: returns (0, nil) + // If "id" is "123": returns (123, nil) + // If "id" is "abc": returns (0, BindingError) + +See ParseValue for supported types and options + +## PathValuesBinder + +```go +func PathValuesBinder(c *Context) *ValueBinder +``` + +PathValuesBinder creates path parameter value binder + +## ProblemDetailsHTTPErrorHandler + +```go +func ProblemDetailsHTTPErrorHandler(exposeError bool) HTTPErrorHandler +``` + +ProblemDetailsHTTPErrorHandler creates a new HTTP error handler that converts every error into a RFC 9457 (Problem Details for HTTP APIs) response and sends it with `application/problem+json` content type. `exposeError` parameter decides if the returned problem detail will contain the underlying error message for errors that are not \*HTTPError or do not implement ProblemErrorer. + +Precedence used to build the response for a given error: + + 1. If err (or any error wrapped by it) is a \*ProblemError, it is used as-is. + 2. Else if err (or any error wrapped by it) implements ProblemErrorer, ProblemError() is used. + 3. Else a \*ProblemError is built from err's HTTPStatusCoder status code (defaulting to 500). For \*HTTPError, Detail is set to its Message, further extended with the wrapped error's message when exposeError is true. For any other error, Detail is only populated (with err.Error()) when exposeError is true. + +Any zero-value Type, Title or Status field is defaulted to "about:blank", the status text of Status, and 500 respectively. + +Note: ProblemDetailsHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately). + +## QueryParam + +```go +func QueryParam[T any](c *Context, key string, opts ...any) (T, error) +``` + +QueryParam extracts and parses a single query parameter from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the parameter exists but has an empty value (?key=), the zero value of type T is returned + with no error. For example, "?count=" returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +Behavior Summary: + + - Missing key (?other=value): returns (zero, ErrNonExistentKey) + - Empty value (?key=): returns (zero, nil) + - Invalid value (?key=abc for int): returns (zero, BindingError) + +See ParseValue for supported types and options + +## QueryParamOr + +```go +func QueryParamOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error) +``` + +QueryParamOr extracts and parses a single query parameter from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type). + +Example: + + page, err := echo.QueryParamOr[int](c, "page", 1) + // If "page" is missing: returns (1, nil) + // If "page" is "5": returns (5, nil) + // If "page" is "abc": returns (1, BindingError) + +See ParseValue for supported types and options + +## QueryParams + +```go +func QueryParams[T any](c *Context, key string, opts ...any) ([]T, error) +``` + +QueryParams extracts and parses all values for a query parameter key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found. + +See ParseValues for supported types and options + +## QueryParamsBinder + +```go +func QueryParamsBinder(c *Context) *ValueBinder +``` + +QueryParamsBinder creates query parameter value binder + +## QueryParamsOr + +```go +func QueryParamsOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error) +``` + +QueryParamsOr extracts and parses all values for a query parameter key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails. + +Example: + + ids, err := echo.QueryParamsOr[int](c, "ids", []int{}) + // If "ids" is missing: returns ([], nil) + // If "ids" is "1&ids=2": returns ([1, 2], nil) + // If "ids" contains "abc": returns ([], BindingError) + +See ParseValues for supported types and options + +## ResolveResponseStatus + +```go +func ResolveResponseStatus(rw http.ResponseWriter, err error) (resp *Response, status int) +``` + +ResolveResponseStatus returns the Response and HTTP status code that should be (or has been) sent for rw, given an optional error. + +This function is useful for middleware and handlers that need to figure out the HTTP status code to return based on the error that occurred or what was set in the response. + +Precedence rules: + + 1. If the response has already been committed, the committed status wins (err is ignored). + 2. Otherwise, start with 200 OK (net/http default if WriteHeader is never called). + 3. If the response has a non-zero suggested status, use it. + 4. If err != nil, it overrides the suggested status: - StatusCode(err) if non-zero - otherwise 500 Internal Server Error. + +## StaticDirectoryHandler + +```go +func StaticDirectoryHandler(fileSystem fs.FS, disablePathUnescaping bool) HandlerFunc +``` + +StaticDirectoryHandler creates handler function to serve files from provided file system When disablePathUnescaping is set then file name from path is not unescaped and is served as is. + +Note: when disablePathUnescaping=false, the handler decodes the wildcard param before serving. If route guards (e.g. e.GET("/admin/\*", forbidden)) are used to restrict parts of the filesystem, an encoded separator (%2F) or encoded dot-dot (%2E%2E) in the URL can resolve to a path that the router never matched against the guard route. Enabling RouterConfig.UseEscapedPathForMatching does NOT fix this — it changes which path the router uses for matching but still lets path.Clean resolve ".." segments into a guarded directory. Do not rely on route guards alone to restrict a filesystem served by this handler. See [https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq](https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq) + +## StaticFileHandler + +```go +func StaticFileHandler(file string, filesystem fs.FS) HandlerFunc +``` + +StaticFileHandler creates handler function to serve file from provided file system. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## StatusCode + +```go +func StatusCode(err error) int +``` + +StatusCode returns status code from err if it implements HTTPStatusCoder interface. If err does not implement the interface, it returns 0. + +## TrustIPRange + +```go +func TrustIPRange(ipRange *net.IPNet) TrustOption +``` + +TrustIPRange add trustable IP ranges using CIDR notation. + +## TrustLinkLocal + +```go +func TrustLinkLocal(v bool) TrustOption +``` + +TrustLinkLocal configures if you trust link-local address (default: true). + +## TrustLoopback + +```go +func TrustLoopback(v bool) TrustOption +``` + +TrustLoopback configures if you trust loopback address (default: true). + +## TrustPrivateNet + +```go +func TrustPrivateNet(v bool) TrustOption +``` + +TrustPrivateNet configures if you trust private network address (default: true). + +## UnwrapResponse + +```go +func UnwrapResponse(rw http.ResponseWriter) (*Response, error) +``` + +UnwrapResponse unwraps given ResponseWriter to return contexts original Echo Response. rw has to implement following method `Unwrap() http.ResponseWriter` + +## WrapHandler + +```go +func WrapHandler(h http.Handler) HandlerFunc +``` + +WrapHandler wraps `http.Handler` into `echo.HandlerFunc`. + +## WrapMiddleware + +```go +func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc +``` + +WrapMiddleware wraps `func(http.Handler) http.Handler` into `echo.MiddlewareFunc` + +## AddRouteError + +```go +type AddRouteError struct { + Err error + Method string + Path string +} +``` + +AddRouteError is error returned by Router.Add containing information what actual route adding failed. Useful for mass adding (i.e. Match() routes) + +- `Err: error`: +- `Method: string`: +- `Path: string`: + +## Error + +```go +func (e *AddRouteError) Error() string +``` + +## Unwrap + +```go +func (e *AddRouteError) Unwrap() error +``` + +## BindUnmarshaler + +```go +type BindUnmarshaler interface { + // UnmarshalParam decodes and assigns a value from an form or query param. + UnmarshalParam(param string) error +} +``` + +BindUnmarshaler is the interface used to wrap the UnmarshalParam method. Types that don't implement this, but do implement encoding.TextUnmarshaler will use that interface instead. + +- `UnmarshalParam: func(param string) error`: UnmarshalParam decodes and assigns a value from an form or query param. + +## Binder + +```go +type Binder interface { + Bind(c *Context, target any) error +} +``` + +Binder is the interface that wraps the Bind method. + +- `Bind: func(c *Context, target any) error`: + +## BindingError + +```go +type BindingError struct { + // Field is the field name where value binding failed + Field string `json:"field"` + *HTTPError + // Values of parameter that failed to bind. + Values []string `json:"-"` +} +``` + +BindingError represents an error that occurred while binding request data. + +Note: JSON serialization is handled by the MarshalJSON method below, not by the struct tags (which are kept for documentation). MarshalJSON emits {"field","message"}. + +- `Field: string` (json:"field"): Field is the field name where value binding failed +- `*HTTPError: *HTTPError`: +- `Values: []string` (json:"-"): Values of parameter that failed to bind. + +## Error + +```go +func (be *BindingError) Error() string +``` + +Error returns error message + +## MarshalJSON + +```go +func (be *BindingError) MarshalJSON() ([]byte, error) +``` + +MarshalJSON implements json.Marshaler so that binding errors are serialized into a structured response (e.g. {"field":"id","message":"..."}) rather than being flattened to a generic message. DefaultHTTPErrorHandler routes errors that implement json.Marshaler through their own encoding. + +## Config + +```go +type Config struct { + // Logger is the slog logger instance used for application-wide structured logging. + // If not set, a default TextHandler writing to stdout is created. + Logger *slog.Logger + + // HTTPErrorHandler is the centralized error handler that processes errors returned + // by handlers and middleware, converting them to appropriate HTTP responses. + // If not set, DefaultHTTPErrorHandler(false) is used. + HTTPErrorHandler HTTPErrorHandler + + // Router is the HTTP request router responsible for matching URLs to handlers + // using a radix tree-based algorithm. + // If not set, NewRouter(RouterConfig{}) is used. + Router Router + + // OnAddRoute is an optional callback hook executed when routes are registered. + // Useful for route validation, logging, or custom route processing. + // If not set, no callback is executed. + OnAddRoute func(route Route) error + + // Filesystem is the fs.FS implementation used for serving static files. + // Supports os.DirFS, embed.FS, and custom implementations. + // If not set, defaults to current working directory. + Filesystem fs.FS + + // Binder handles automatic data binding from HTTP requests to Go structs. + // Supports JSON, XML, form data, query parameters, and path parameters. + // If not set, DefaultBinder is used. + Binder Binder + + // Validator provides optional struct validation after data binding. + // Commonly used with third-party validation libraries. + // If not set, Context.Validate() returns ErrValidatorNotRegistered. + Validator Validator + + // Renderer provides template rendering for generating HTML responses. + // Requires integration with a template engine like html/template. + // If not set, Context.Render() returns ErrRendererNotRegistered. + Renderer Renderer + + // JSONSerializer handles JSON encoding and decoding for HTTP requests/responses. + // Can be replaced with faster alternatives like jsoniter or sonic. + // If not set, DefaultJSONSerializer using encoding/json is used. + JSONSerializer JSONSerializer + + // IPExtractor defines the strategy for extracting the real client IP address + // from requests, particularly important when behind proxies or load balancers. + // Used for rate limiting, access control, and logging. + // If not set, the address of the direct peer (http.Request.RemoteAddr) is used. + IPExtractor IPExtractor + + // SchemeExtractor defines the strategy for determining the request scheme (`http` or `https`), + // particularly important when behind proxies or load balancers that terminate TLS. + // Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares. + // If not set, forwarding headers such as `X-Forwarded-Proto` are trusted only from loopback, link-local and + // private network addresses and unix sockets. See ExtractSchemeFromHeaders. + SchemeExtractor SchemeExtractor + + // FormParseMaxMemory is default value for memory limit that is used + // when parsing multipart forms (See (*http.Request).ParseMultipartForm) + FormParseMaxMemory int64 + + // EnablePathUnescapingStaticFiles enables path parameter (param: *) unescaping for static file methods. + // Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded, + // preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/* route guard by + // not matching that route but having its wildcard param decoded to admin/private.txt. + // Set to true only when serving files whose names contain URL-encoded characters + // (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on + // route-based ACL guards to restrict access. + // If you are enabling this option, make sure you understand the security implications. + // See: https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq + // + // Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when + // using different Routes to exclude some of the files from being served. + // e.g. if you serve files from directory as such and use different route to exclude some of the files from being served. + // 0. given folder structure: + // public/ + // public/index.html + // public/admin/private.txt + // 1. share `public/` folder contents from the server root with `e.Static("/", "public")` + // 2. naively assume that everything under /admin folder is now forbidden + // e.GET("/admin/*", func(c *Context) error { return echo.ErrForbidden }) + // Then request to `/assets/../admin%2fprivate.txt` will be served as router does not match it to guarded route. + // + // Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS. + EnablePathUnescapingStaticFiles bool + + // NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically + // when there are middlewares registered with the group. + // Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed + // as expected. For example - CORS middleware. + NoGroupAutoRegister404Routes bool +} +``` + +Config is configuration for NewWithConfig function + +- `Logger: *slog.Logger`: Logger is the slog logger instance used for application-wide structured logging. If not set, a default TextHandler writing to stdout is created. +- `HTTPErrorHandler: HTTPErrorHandler`: HTTPErrorHandler is the centralized error handler that processes errors returned by handlers and middleware, converting them to appropriate HTTP responses. If not set, DefaultHTTPErrorHandler(false) is used. +- `Router: Router`: Router is the HTTP request router responsible for matching URLs to handlers using a radix tree-based algorithm. If not set, NewRouter(RouterConfig{}) is used. +- `OnAddRoute: func(route Route) error`: OnAddRoute is an optional callback hook executed when routes are registered. Useful for route validation, logging, or custom route processing. If not set, no callback is executed. +- `Filesystem: fs.FS`: Filesystem is the fs.FS implementation used for serving static files. Supports os.DirFS, embed.FS, and custom implementations. If not set, defaults to current working directory. +- `Binder: Binder`: Binder handles automatic data binding from HTTP requests to Go structs. Supports JSON, XML, form data, query parameters, and path parameters. If not set, DefaultBinder is used. +- `Validator: Validator`: Validator provides optional struct validation after data binding. Commonly used with third-party validation libraries. If not set, Context.Validate() returns ErrValidatorNotRegistered. +- `Renderer: Renderer`: Renderer provides template rendering for generating HTML responses. Requires integration with a template engine like html/template. If not set, Context.Render() returns ErrRendererNotRegistered. +- `JSONSerializer: JSONSerializer`: JSONSerializer handles JSON encoding and decoding for HTTP requests/responses. Can be replaced with faster alternatives like jsoniter or sonic. If not set, DefaultJSONSerializer using encoding/json is used. +- `IPExtractor: IPExtractor`: IPExtractor defines the strategy for extracting the real client IP address from requests, particularly important when behind proxies or load balancers. Used for rate limiting, access control, and logging. If not set, the address of the direct peer (http.Request.RemoteAddr) is used. +- `SchemeExtractor: SchemeExtractor`: SchemeExtractor defines the strategy for determining the request scheme (`http` or `https`), particularly important when behind proxies or load balancers that terminate TLS. Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares. If not set, forwarding headers such as `X-Forwarded-Proto` are trusted only from loopback, link-local and private network addresses and unix sockets. See ExtractSchemeFromHeaders. +- `FormParseMaxMemory: int64`: FormParseMaxMemory is default value for memory limit that is used when parsing multipart forms (See (\*http.Request).ParseMultipartForm) +- `EnablePathUnescapingStaticFiles: bool`: EnablePathUnescapingStaticFiles enables path parameter (param: \*) unescaping for static file methods. Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded, preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/\* route guard by not matching that route but having its wildcard param decoded to admin/private.txt. Set to true only when serving files whose names contain URL-encoded characters (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on route-based ACL guards to restrict access. If you are enabling this option, make sure you understand the security implications. See: [https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq](https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq) + +Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when using different Routes to exclude some of the files from being served. e.g. if you serve files from directory as such and use different route to exclude some of the files from being served. + + 0. given folder structure: public/ public/index.html public/admin/private.txt + 1. share `public/` folder contents from the server root with `e.Static("/", "public")` + 2. naively assume that everything under /admin folder is now forbidden e.GET("/admin/\*", func(c \*Context) error { return echo.ErrForbidden }) + +Then request to `/assets/../admin%2fprivate.txt` will be served as router does not match it to guarded route. + +Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS. +- `NoGroupAutoRegister404Routes: bool`: NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically when there are middlewares registered with the group. Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed as expected. For example - CORS middleware. + +## Context + +```go +type Context struct { + // contains filtered or unexported fields +} +``` + +Context represents the context of the current HTTP request. It holds request and response objects, path, path parameters, data and registered handler. + +## Attachment + +```go +func (c *Context) Attachment(file, name string) error +``` + +Attachment sends a response as attachment, prompting client to save the file. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## Bind + +```go +func (c *Context) Bind(i any) error +``` + +Bind binds path params, query params and the request body into provided type `i`. The default binder binds body based on Content-Type header. + +## Blob + +```go +func (c *Context) Blob(code int, contentType string, b []byte) (err error) +``` + +Blob sends a blob response with status code and content type. + +## Cookie + +```go +func (c *Context) Cookie(name string) (*http.Cookie, error) +``` + +Cookie returns the named cookie provided in the request. + +## Cookies + +```go +func (c *Context) Cookies() []*http.Cookie +``` + +Cookies returns the HTTP cookies sent with the request. + +## Echo + +```go +func (c *Context) Echo() *Echo +``` + +Echo returns the `Echo` instance. + +## File + +```go +func (c *Context) File(file string) error +``` + +File sends a response with the content of the file. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## FileFS + +```go +func (c *Context) FileFS(file string, filesystem fs.FS) error +``` + +FileFS serves file from given file system. + +When dealing with `embed.FS` use `fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. This is necessary as `//go:embed assets/images` embeds files with paths including `assets/images\` as their prefix. + +## FormFile + +```go +func (c *Context) FormFile(name string) (*multipart.FileHeader, error) +``` + +FormFile returns the multipart form file for the provided name. + +## FormValue + +```go +func (c *Context) FormValue(name string) string +``` + +FormValue returns the form field value for the provided name. + +## FormValueOr + +```go +func (c *Context) FormValueOr(name, defaultValue string) string +``` + +FormValueOr returns the form field value or default value for the provided name. Note: FormValueOr does not distinguish if form had no value by that name or value was empty string + +## FormValues + +```go +func (c *Context) FormValues() (url.Values, error) +``` + +FormValues returns the form field values as `url.Values`. + +## Get + +```go +func (c *Context) Get(key string) any +``` + +Get retrieves data from the context. Method returns any(nil) when key does not exist which is different from typed nil (eg. \[]byte(nil)). + +## HTML + +```go +func (c *Context) HTML(code int, html string) (err error) +``` + +HTML sends an HTTP response with status code. + +## HTMLBlob + +```go +func (c *Context) HTMLBlob(code int, b []byte) (err error) +``` + +HTMLBlob sends an HTTP blob response with status code. + +## InitializeRoute + +```go +func (c *Context) InitializeRoute(ri *RouteInfo, pathValues *PathValues) +``` + +InitializeRoute sets the route related variables of this request to the context. + +## Inline + +```go +func (c *Context) Inline(file, name string) error +``` + +Inline sends a response as inline, opening the file in the browser. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## IsTLS + +```go +func (c *Context) IsTLS() bool +``` + +IsTLS returns true if HTTP connection is TLS otherwise false. + +## IsWebSocket + +```go +func (c *Context) IsWebSocket() bool +``` + +IsWebSocket returns true if HTTP connection is WebSocket otherwise false. + +## JSON + +```go +func (c *Context) JSON(code int, i any) (err error) +``` + +JSON sends a JSON response with status code. + +## JSONBlob + +```go +func (c *Context) JSONBlob(code int, b []byte) (err error) +``` + +JSONBlob sends a JSON blob response with status code. + +## JSONP + +```go +func (c *Context) JSONP(code int, callback string, i any) (err error) +``` + +JSONP sends a JSONP response with status code. It uses `callback` to construct the JSONP payload. + +The callback must be empty, a JavaScript identifier or a dot-separated path of identifiers using only ASCII letters, digits, `_` and `$`. Otherwise nothing is written and a 400 Bad Request error wrapping ErrInvalidJSONPCallback is returned. The response has the `X-Content-Type-Options: nosniff` header. + +Any website can load a JSONP response with a \
Guides

Binding and error handling

Binding JSON, XML, form, query and path data into structs; validation; the HTTPError type and custom error handlers.

Binding request data

c.Bind decodes the request body (JSON, XML, or form, by Content-Type) plus query and path parameters into a struct:

+
+
+
type User struct {
+	Name  string `json:"name" form:"name" query:"name"`
+	Email string `json:"email" form:"email" query:"email"`
+}
+
+func createUser(c *echo.Context) error {
+	u := new(User)
+	if err := c.Bind(u); err != nil {
+		return echo.NewHTTPError(http.StatusBadRequest, err.Error())
+	}
+	// use u ...
+	return c.JSON(http.StatusCreated, u)
+}
+

Binding reads, in order: path parameters, query parameters, then the body. A binding failure returns a BindingError — since v5.4.7, binding into a map whose value type is not string, []string, or any returns an error instead of silently skipping the values, and named string types no longer panic.

+

The fine-grained helpers bind one source each: echo.BindBody, echo.BindQueryParams, echo.BindPathValues, and echo.BindHeaders. The Binder interface (implemented by DefaultBinder, the default on e.Binder) lets you replace the whole binding step; e.Binder is the field to set.

+

Validation

+
+
type CustomValidator struct {
+	validator *validator.Validate
+}
+
+func (cv *CustomValidator) Validate(i any) error {
+	return cv.validator.Struct(i)
+}
+
+e.Validator = &CustomValidator{validator: validator.New()}
+

Set e.Validator to any type implementing Validate(any) error. Then c.Validate(i) runs it; c.ValidateCtx(ctx, i) runs it with a request context. Without a validator registered, Validate returns ErrValidatorNotRegistered.

+

Errors: HTTPError

Handlers signal failures by returning an error. The HTTPError type carries a code and a message:

+
+
+
return echo.ErrNotFound                       // 404, predefined
+return echo.NewHTTPError(http.StatusBadRequest, "name is required")
+return echo.NewHTTPError(http.StatusBadRequest, "name is required", map[string]string{"field": "name"})
+

Predefined errors cover the common codes: ErrBadRequest, ErrUnauthorized, ErrForbidden, ErrNotFound, ErrMethodNotAllowed, ErrRequestTimeout, ErrStatusRequestEntityTooLarge, ErrUnsupportedMediaType, ErrTooManyRequests, ErrInternalServerError, ErrBadGateway, ErrServiceUnavailable, plus ErrValidatorNotRegistered, ErrRendererNotRegistered, and ErrCookieNotFound. HTTPError has Code and Message fields; NewBindingError wraps binding failures.

+

The error handler

Every error a handler or middleware returns goes to one place: e.HTTPErrorHandler. The default is DefaultHTTPErrorHandler, which writes a JSON (or HTML, by Accept) error body with the code and message. Replace it to control the format:

+
+
+
e.HTTPErrorHandler = func(err error, c *echo.Context) {
+	code := http.StatusInternalServerError
+	if he, ok := err.(*echo.HTTPError); ok {
+		code = he.Code
+	}
+	// log it, then write your own body
+	c.Logger().Error("request failed", "error", err)
+	if !c.Response().Committed {
+		c.JSON(code, map[string]any{"error": err.Error()})
+	}
+}
+

ProblemDetailsHTTPErrorHandler is a built-in alternative that writes RFC 9457 problem-details responses. Two details matter when writing a custom handler: check c.Response().Committed before writing (the response may already be partially sent), and remember the built-in handlers strip Content-Encoding, Content-Length, and Content-Disposition before writing the error body (since v5.4.7) — a custom handler that skips that step can send a stale Content-Length with the error.

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/guides/binding-error-handling.md b/site/public/sourcey/guides/binding-error-handling.md new file mode 100644 index 00000000..df827b75 --- /dev/null +++ b/site/public/sourcey/guides/binding-error-handling.md @@ -0,0 +1,82 @@ +# Binding and error handling {#binding-and-error-handling} + + + +## Binding request data {#binding-request-data} + + +`c.Bind` decodes the request body (JSON, XML, or form, by `Content-Type`) plus query and path parameters into a struct: + +```go +type User struct { + Name string `json:"name" form:"name" query:"name"` + Email string `json:"email" form:"email" query:"email"` +} + +func createUser(c *echo.Context) error { + u := new(User) + if err := c.Bind(u); err != nil { + return echo.NewHTTPError(http.StatusBadRequest, err.Error()) + } + // use u ... + return c.JSON(http.StatusCreated, u) +} +``` + +Binding reads, in order: path parameters, query parameters, then the body. A binding failure returns a `BindingError` — since v5.4.7, binding into a map whose value type is not `string`, `[]string`, or `any` returns an error instead of silently skipping the values, and named string types no longer panic. + +The fine-grained helpers bind one source each: `echo.BindBody`, `echo.BindQueryParams`, `echo.BindPathValues`, and `echo.BindHeaders`. The `Binder` interface (implemented by `DefaultBinder`, the default on `e.Binder`) lets you replace the whole binding step; `e.Binder` is the field to set. + + +## Validation {#validation} + + +```go +type CustomValidator struct { + validator *validator.Validate +} + +func (cv *CustomValidator) Validate(i any) error { + return cv.validator.Struct(i) +} + +e.Validator = &CustomValidator{validator: validator.New()} +``` + +Set `e.Validator` to any type implementing `Validate(any) error`. Then `c.Validate(i)` runs it; `c.ValidateCtx(ctx, i)` runs it with a request context. Without a validator registered, `Validate` returns `ErrValidatorNotRegistered`. + + +## Errors: HTTPError {#errors-httperror} + + +Handlers signal failures by returning an error. The `HTTPError` type carries a code and a message: + +```go +return echo.ErrNotFound // 404, predefined +return echo.NewHTTPError(http.StatusBadRequest, "name is required") +return echo.NewHTTPError(http.StatusBadRequest, "name is required", map[string]string{"field": "name"}) +``` + +Predefined errors cover the common codes: `ErrBadRequest`, `ErrUnauthorized`, `ErrForbidden`, `ErrNotFound`, `ErrMethodNotAllowed`, `ErrRequestTimeout`, `ErrStatusRequestEntityTooLarge`, `ErrUnsupportedMediaType`, `ErrTooManyRequests`, `ErrInternalServerError`, `ErrBadGateway`, `ErrServiceUnavailable`, plus `ErrValidatorNotRegistered`, `ErrRendererNotRegistered`, and `ErrCookieNotFound`. `HTTPError` has `Code` and `Message` fields; `NewBindingError` wraps binding failures. + + +## The error handler {#the-error-handler} + + +Every error a handler or middleware returns goes to one place: `e.HTTPErrorHandler`. The default is `DefaultHTTPErrorHandler`, which writes a JSON (or HTML, by `Accept`) error body with the code and message. Replace it to control the format: + +```go +e.HTTPErrorHandler = func(err error, c *echo.Context) { + code := http.StatusInternalServerError + if he, ok := err.(*echo.HTTPError); ok { + code = he.Code + } + // log it, then write your own body + c.Logger().Error("request failed", "error", err) + if !c.Response().Committed { + c.JSON(code, map[string]any{"error": err.Error()}) + } +} +``` + +`ProblemDetailsHTTPErrorHandler` is a built-in alternative that writes RFC 9457 problem-details responses. Two details matter when writing a custom handler: check `c.Response().Committed` before writing (the response may already be partially sent), and remember the built-in handlers strip `Content-Encoding`, `Content-Length`, and `Content-Disposition` before writing the error body (since v5.4.7) — a custom handler that skips that step can send a stale `Content-Length` with the error. diff --git a/site/public/sourcey/guides/context-responses.html b/site/public/sourcey/guides/context-responses.html new file mode 100644 index 00000000..49e6d6bd --- /dev/null +++ b/site/public/sourcey/guides/context-responses.html @@ -0,0 +1,90 @@ + +Context and responses - echo
Guides

Context and responses

The v5 Context struct, request accessors, response helpers, and the generic ContextGet helpers.

Context is a struct in v5

In v4 Context was an interface; in v5 it is a concrete struct, and handlers take a pointer to it:

+
+
+
// v4 — no longer valid in v5
+func handler(c echo.Context) error { ... }
+
+// v5
+func handler(c *echo.Context) error { ... }
+

Because it is a struct, new methods can be added in minor versions without breaking existing code. The framework hands each request a pooled *Context (AcquireContext / ReleaseContext); do not hold onto it after the handler returns.

+

Reading the request

+
+
c.Request()              // *http.Request
+c.Param("id")            // path parameter
+c.ParamOr("id", "none")  // path parameter with fallback
+c.QueryParam("q")        // query value
+c.QueryParamOr("q", "")  // query value with fallback
+c.QueryParams()          // url.Values — all query parameters
+c.QueryString()          // raw query string
+c.FormValue("name")      // form value
+c.FormValueOr("name", "")// form value with fallback
+c.FormValues()           // all form values
+c.Cookie("session")      // *http.Cookie, or ErrCookieNotFound
+c.Cookies()              // all cookies
+c.RealIP()               // client IP (uses e.IPExtractor)
+c.Scheme()               // http or https (uses e.SchemeExtractor)
+c.IsTLS()                // whether the request is TLS
+c.IsWebSocket()          // whether it is a WebSocket upgrade
+c.Path()                 // registered route pattern, e.g. /users/:id
+c.RouteInfo()            // matched route info (method, path, handler name)
+

c.Get(key) / c.Set(key, value) store request-scoped values. The generic helpers read them type-safely:

+
+
+
user, ok := echo.ContextGet[User](c, "user")
+tenant := echo.ContextGetOr(c, "tenant", "default")
+

Writing responses

+
+
c.String(http.StatusOK, "Hello, World!")
+c.JSON(http.StatusOK, map[string]string{"hello": "world"})
+c.JSONPretty(http.StatusOK, data, "  ")
+c.JSONP(http.StatusOK, "callback", data)
+c.XML(http.StatusOK, data)
+c.XMLPretty(http.StatusOK, data, "  ")
+c.HTML(http.StatusOK, "<b>hi</b>")
+c.HTMLBlob(http.StatusOK, []byte("<b>hi</b>"))
+c.Blob(http.StatusOK, "application/octet-stream", data)
+c.Stream(http.StatusOK, "text/plain", reader)
+c.File("/path/to/file.pdf")
+c.FileFS("file.pdf", fs)
+c.Attachment("/path/to/report.pdf", "report.pdf") // Content-Disposition: attachment
+c.Inline("/path/to/report.pdf", "report.pdf")     // Content-Disposition: inline
+c.NoContent(http.StatusNoContent)
+c.Redirect(http.StatusSeeOther, "/login")
+c.Render(http.StatusOK, "hello.html", data) // needs e.Renderer set, else ErrRendererNotRegistered
+

c.Response() returns the *Response (a wrapper around http.ResponseWriter with Committed state and byte counting). Since v5.4.7, Response.Flush commits an uncommitted response, and WriteHeader passes 1xx informational codes (such as 103 Early Hints) through without committing.

+

Templates

+
+
type Template struct {
+	templates *template.Template
+}
+
+func (t *Template) Render(w io.Writer, name string, data any, c *echo.Context) error {
+	return t.templates.ExecuteTemplate(w, name, data)
+}
+
+e.Renderer = &Template{templates: template.Must(template.ParseGlob("views/*.html"))}
+

Set e.Renderer to any type implementing Render(io.Writer, string, any, *Context) error. Calling c.Render without a renderer returns ErrRendererNotRegistered.

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/guides/context-responses.md b/site/public/sourcey/guides/context-responses.md new file mode 100644 index 00000000..91922fa7 --- /dev/null +++ b/site/public/sourcey/guides/context-responses.md @@ -0,0 +1,94 @@ +# Context and responses {#context-and-responses} + + + +## Context is a struct in v5 {#context-is-a-struct-in-v5} + + +In v4 `Context` was an interface; in v5 it is a concrete struct, and handlers take a pointer to it: + +```go +// v4 — no longer valid in v5 +func handler(c echo.Context) error { ... } + +// v5 +func handler(c *echo.Context) error { ... } +``` + +Because it is a struct, new methods can be added in minor versions without breaking existing code. The framework hands each request a pooled `*Context` (`AcquireContext` / `ReleaseContext`); do not hold onto it after the handler returns. + + +## Reading the request {#reading-the-request} + + +```go +c.Request() // *http.Request +c.Param("id") // path parameter +c.ParamOr("id", "none") // path parameter with fallback +c.QueryParam("q") // query value +c.QueryParamOr("q", "") // query value with fallback +c.QueryParams() // url.Values — all query parameters +c.QueryString() // raw query string +c.FormValue("name") // form value +c.FormValueOr("name", "")// form value with fallback +c.FormValues() // all form values +c.Cookie("session") // *http.Cookie, or ErrCookieNotFound +c.Cookies() // all cookies +c.RealIP() // client IP (uses e.IPExtractor) +c.Scheme() // http or https (uses e.SchemeExtractor) +c.IsTLS() // whether the request is TLS +c.IsWebSocket() // whether it is a WebSocket upgrade +c.Path() // registered route pattern, e.g. /users/:id +c.RouteInfo() // matched route info (method, path, handler name) +``` + +`c.Get(key)` / `c.Set(key, value)` store request-scoped values. The generic helpers read them type-safely: + +```go +user, ok := echo.ContextGet[User](c, "user") +tenant := echo.ContextGetOr(c, "tenant", "default") +``` + + +## Writing responses {#writing-responses} + + +```go +c.String(http.StatusOK, "Hello, World!") +c.JSON(http.StatusOK, map[string]string{"hello": "world"}) +c.JSONPretty(http.StatusOK, data, " ") +c.JSONP(http.StatusOK, "callback", data) +c.XML(http.StatusOK, data) +c.XMLPretty(http.StatusOK, data, " ") +c.HTML(http.StatusOK, "hi") +c.HTMLBlob(http.StatusOK, []byte("hi")) +c.Blob(http.StatusOK, "application/octet-stream", data) +c.Stream(http.StatusOK, "text/plain", reader) +c.File("/path/to/file.pdf") +c.FileFS("file.pdf", fs) +c.Attachment("/path/to/report.pdf", "report.pdf") // Content-Disposition: attachment +c.Inline("/path/to/report.pdf", "report.pdf") // Content-Disposition: inline +c.NoContent(http.StatusNoContent) +c.Redirect(http.StatusSeeOther, "/login") +c.Render(http.StatusOK, "hello.html", data) // needs e.Renderer set, else ErrRendererNotRegistered +``` + +`c.Response()` returns the `*Response` (a wrapper around `http.ResponseWriter` with `Committed` state and byte counting). Since v5.4.7, `Response.Flush` commits an uncommitted response, and `WriteHeader` passes 1xx informational codes (such as `103 Early Hints`) through without committing. + + +## Templates {#templates} + + +```go +type Template struct { + templates *template.Template +} + +func (t *Template) Render(w io.Writer, name string, data any, c *echo.Context) error { + return t.templates.ExecuteTemplate(w, name, data) +} + +e.Renderer = &Template{templates: template.Must(template.ParseGlob("views/*.html"))} +``` + +Set `e.Renderer` to any type implementing `Render(io.Writer, string, any, *Context) error`. Calling `c.Render` without a renderer returns `ErrRendererNotRegistered`. diff --git a/site/public/sourcey/guides/middleware.html b/site/public/sourcey/guides/middleware.html new file mode 100644 index 00000000..08f24cad --- /dev/null +++ b/site/public/sourcey/guides/middleware.html @@ -0,0 +1,85 @@ + +Middleware - echo
Guides

Middleware

The Pre/Use split, RequestLogger with log/slog, Recover, and the official middleware packages.

Middleware is a function wrapping a handler. Echo splits it in two places:

+
    +
  • e.Pre runs before routing, so it can rewrite the path or method. Use it for path rewrites, trailing-slash handling, and method overrides.
  • +
  • e.Use runs after routing, around the matched handler. Use it for logging, recovery, auth, CORS, and everything else.
  • +
+
+
+
e := echo.New()
+
+e.Pre(middleware.RemoveTrailingSlash())
+e.Use(middleware.RequestLogger()) // log requests with log/slog
+e.Use(middleware.Recover())       // recover from panics and return an error
+e.Use(middleware.CORS())          // CORS headers
+

e.Middlewares() returns the registered Use middleware; e.PreMiddlewares() returns the Pre middleware. Both run in registration order.

+

RequestLogger (v5 logging)

v5 drops the old logging interface and uses the standard library's log/slog instead. There is no middleware.Logger anymore — the logger is middleware.RequestLogger:

+
+
+
e.Use(middleware.RequestLogger())
+e.Use(middleware.RequestLoggerWithConfig(middleware.RequestLoggerConfig{
+	LogMethod:     true,
+	LogURI:        true,
+	LogStatus:     true,
+	LogLatency:    true,
+	LogRemoteIP:   true,
+	LogError:      true,
+	LogValuesFunc: func(c *echo.Context, v middleware.RequestLoggerValues) error {
+		c.Logger().Info("request", "method", v.Method, "uri", v.URI, "status", v.Status)
+		return nil
+	},
+}))
+

RequestLoggerWithConfig takes a RequestLoggerConfig; the no-arg RequestLogger() uses the defaults. Handlers reach the same *slog.Logger through c.Logger(), and c.SetLogger replaces it per request.

+

Recover

+
+
e.Use(middleware.Recover())
+

Recover catches panics in handlers and middleware and converts them into an error passed to the HTTPErrorHandler (a 500 by default). Register it early — middleware registered before it cannot be recovered by it.

+

Official middleware

Maintained by the Echo team, in the middleware package of this same module:

+
+ + + + + + + + + +
MiddlewareWhat it does
RequestLogger / RequestLoggerWithConfigStructured request logging with log/slog
Recover / RecoverWithConfigPanic recovery
CORS / CORSWithConfigCross-Origin Resource Sharing headers
CSRF / CSRFWithConfigCSRF token protection
Gzip / GzipWithConfigResponse compression (honors Accept-Encoding quality values since v5.4.7)
BodyLimit / BodyLimitWithConfigRequest body size limit
BasicAuth / BasicAuthWithConfigHTTP Basic authentication
BodyDump / BodyDumpWithConfigRequest/response body logging
CompressResponse compression (alternative to Gzip)
DecompressRequest body decompression
ContextTimeoutPer-request context timeout

JWT authentication, Casbin/sessions/pprof, OpenTelemetry, and Prometheus live in separate official repositories: labstack/echo-jwt, labstack/echo-contrib, labstack/echo-otel, and labstack/echo-prometheus. Check each one for the Echo version (v4 or v5) it supports before adopting it.

+

Writing middleware

A middleware takes the next handler and returns a handler:

+
+
+
func onlyJSON(next echo.HandlerFunc) echo.HandlerFunc {
+	return func(c *echo.Context) error {
+		if c.Request().Header.Get("Accept") != "application/json" {
+			return echo.NewHTTPError(http.StatusNotAcceptable)
+		}
+		return next(c)
+	}
+}
+
+e.Use(onlyJSON)
+

echo.HandlerFunc is the handler type in v5: func(c *echo.Context) error. Returning an error sends it to the HTTPErrorHandler — see Binding and error handling.

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/guides/middleware.md b/site/public/sourcey/guides/middleware.md new file mode 100644 index 00000000..39d762c9 --- /dev/null +++ b/site/public/sourcey/guides/middleware.md @@ -0,0 +1,95 @@ +# Middleware {#middleware} + + +Middleware is a function wrapping a handler. Echo splits it in two places: + +- **`e.Pre`** runs **before routing**, so it can rewrite the path or method. Use it for path rewrites, trailing-slash handling, and method overrides. +- **`e.Use`** runs **after routing**, around the matched handler. Use it for logging, recovery, auth, CORS, and everything else. + +```go +e := echo.New() + +e.Pre(middleware.RemoveTrailingSlash()) +e.Use(middleware.RequestLogger()) // log requests with log/slog +e.Use(middleware.Recover()) // recover from panics and return an error +e.Use(middleware.CORS()) // CORS headers +``` + +`e.Middlewares()` returns the registered `Use` middleware; `e.PreMiddlewares()` returns the `Pre` middleware. Both run in registration order. + + +## RequestLogger (v5 logging) {#requestlogger-v5-logging} + + +v5 drops the old logging interface and uses the standard library's `log/slog` instead. There is no `middleware.Logger` anymore — the logger is `middleware.RequestLogger`: + +```go +e.Use(middleware.RequestLogger()) +e.Use(middleware.RequestLoggerWithConfig(middleware.RequestLoggerConfig{ + LogMethod: true, + LogURI: true, + LogStatus: true, + LogLatency: true, + LogRemoteIP: true, + LogError: true, + LogValuesFunc: func(c *echo.Context, v middleware.RequestLoggerValues) error { + c.Logger().Info("request", "method", v.Method, "uri", v.URI, "status", v.Status) + return nil + }, +})) +``` + +`RequestLoggerWithConfig` takes a `RequestLoggerConfig`; the no-arg `RequestLogger()` uses the defaults. Handlers reach the same `*slog.Logger` through `c.Logger()`, and `c.SetLogger` replaces it per request. + + +## Recover {#recover} + + +```go +e.Use(middleware.Recover()) +``` + +`Recover` catches panics in handlers and middleware and converts them into an error passed to the `HTTPErrorHandler` (a 500 by default). Register it early — middleware registered before it cannot be recovered by it. + + +## Official middleware {#official-middleware} + + +Maintained by the Echo team, in the `middleware` package of this same module: + +| Middleware | What it does | +| --- | --- | +| `RequestLogger` / `RequestLoggerWithConfig` | Structured request logging with `log/slog` | +| `Recover` / `RecoverWithConfig` | Panic recovery | +| `CORS` / `CORSWithConfig` | Cross-Origin Resource Sharing headers | +| `CSRF` / `CSRFWithConfig` | CSRF token protection | +| `Gzip` / `GzipWithConfig` | Response compression (honors `Accept-Encoding` quality values since v5.4.7) | +| `BodyLimit` / `BodyLimitWithConfig` | Request body size limit | +| `BasicAuth` / `BasicAuthWithConfig` | HTTP Basic authentication | +| `BodyDump` / `BodyDumpWithConfig` | Request/response body logging | +| `Compress` | Response compression (alternative to Gzip) | +| `Decompress` | Request body decompression | +| `ContextTimeout` | Per-request context timeout | + +JWT authentication, Casbin/sessions/pprof, OpenTelemetry, and Prometheus live in separate official repositories: [labstack/echo-jwt](https://github.com/labstack/echo-jwt), [labstack/echo-contrib](https://github.com/labstack/echo-contrib), [labstack/echo-otel](https://github.com/labstack/echo-otel), and [labstack/echo-prometheus](https://github.com/labstack/echo-prometheus). Check each one for the Echo version (`v4` or `v5`) it supports before adopting it. + + +## Writing middleware {#writing-middleware} + + +A middleware takes the next handler and returns a handler: + +```go +func onlyJSON(next echo.HandlerFunc) echo.HandlerFunc { + return func(c *echo.Context) error { + if c.Request().Header.Get("Accept") != "application/json" { + return echo.NewHTTPError(http.StatusNotAcceptable) + } + return next(c) + } +} + +e.Use(onlyJSON) +``` + +`echo.HandlerFunc` is the handler type in v5: `func(c *echo.Context) error`. Returning an error sends it to the `HTTPErrorHandler` — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). diff --git a/site/public/sourcey/guides/migration-v4-v5.html b/site/public/sourcey/guides/migration-v4-v5.html new file mode 100644 index 00000000..0ba8a77c --- /dev/null +++ b/site/public/sourcey/guides/migration-v4-v5.html @@ -0,0 +1,53 @@ + +Migration v4 → v5 - echo
Guides

Migration v4 → v5

The breaking changes from Echo v4 to v5 — Context as a struct, slog logging, the Router interface — and the v4 support dates.

Echo v5 (current release line, first released 2026-01-18; this site documents v5.4.7) is a maintenance release with major breaking changes. The full list is in API_CHANGES_V5.md in the repository. The changes that touch nearly every application are below.

+

Context: interface → concrete struct

The single biggest change. In v4 Context was an interface; in v5 it is a struct, and every handler must take a pointer:

+
+
+
// v4
+func handler(c echo.Context) error {
+	return c.JSON(200, map[string]string{"hello": "world"})
+}
+
+// v5
+func handler(c *echo.Context) error {
+	return c.JSON(200, map[string]string{"hello": "world"})
+}
+

Middleware signatures change the same way: echo.HandlerFunc is now func(c *echo.Context) error, and echo.MiddlewareFunc wraps that. Custom types that implemented the v4 Context interface no longer compile against v5 — use the struct directly, or wrap it.

+

The payoff: because Context is now a struct, the maintainers can add methods in minor versions without breaking your code.

+

Logging: the old interface is gone, slog is in

v5 drops the old logging interface and uses the standard library's log/slog. The middleware.Logger middleware is gone; use middleware.RequestLogger (or RequestLoggerWithConfig) instead, and reach the logger from handlers with c.Logger(). See Middleware.

+

Routing: a Router interface

v5 adds a Router interface (e.Router, RouterConfig, DefaultRouter) so routing implementations can be swapped. The default radix-tree behavior is unchanged: static routes match first, then parameters and wildcards. c.RouteInfo() is new — it returns the matched route's method, path pattern, and handler name.

+

Generic helpers take *Context

The generic helpers (ContextGet, ContextGetOr) now take *Context, and the form helpers were renamed to the FormValue* family (FormValue, FormValueOr, FormValues). Update call sites that used the old names.

+

New test helpers: echotest

v5 adds the echotest package with test helpers for handlers and middleware. It is a separate package in the module, not covered by this reference (root package only).

+

Version support

+ +
VersionBug fixesSecurity fixes
5.xYesYes
4.x, latest releaseUntil 2026-12-31Until 2027-12-31
4.x, older releasesNoNo — upgrade to the latest 4.x

Routine v4 bug fixes end on 2026-12-31. Free, public, security-only fixes for v4 continue until 2027-12-31, on patch releases of the latest v4 version. Echo v4 requires Go 1.26 or later. Start new projects on v5, and plan v4 upgrades with API_CHANGES_V5.md.

+

Checklist

    +
  1. Change every handler and middleware signature from echo.Context to *echo.Context.
  2. +
  3. Replace middleware.Logger with middleware.RequestLogger; move logger configuration to RequestLoggerConfig / log/slog.
  4. +
  5. Update the module path: go get github.com/labstack/echo/v5.
  6. +
  7. Replace removed/renamed helpers (form helpers → FormValue*; check API_CHANGES_V5.md for the full list).
  8. +
  9. Re-run your tests — the echotest package can replace hand-rolled test harnesses.
  10. +
+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/guides/migration-v4-v5.md b/site/public/sourcey/guides/migration-v4-v5.md new file mode 100644 index 00000000..644cc17f --- /dev/null +++ b/site/public/sourcey/guides/migration-v4-v5.md @@ -0,0 +1,72 @@ +# Migration v4 → v5 {#migration-v4--v5} + + +Echo `v5` (current release line, first released 2026-01-18; this site documents v5.4.7) is a maintenance release with major breaking changes. The full list is in [API_CHANGES_V5.md](https://github.com/labstack/echo/blob/master/API_CHANGES_V5.md) in the repository. The changes that touch nearly every application are below. + + +## Context: interface → concrete struct {#context-interface--concrete-struct} + + +The single biggest change. In v4 `Context` was an interface; in v5 it is a struct, and **every handler must take a pointer**: + +```go +// v4 +func handler(c echo.Context) error { + return c.JSON(200, map[string]string{"hello": "world"}) +} + +// v5 +func handler(c *echo.Context) error { + return c.JSON(200, map[string]string{"hello": "world"}) +} +``` + +Middleware signatures change the same way: `echo.HandlerFunc` is now `func(c *echo.Context) error`, and `echo.MiddlewareFunc` wraps that. Custom types that implemented the v4 `Context` interface no longer compile against v5 — use the struct directly, or wrap it. + +The payoff: because `Context` is now a struct, the maintainers can add methods in minor versions without breaking your code. + + +## Logging: the old interface is gone, slog is in {#logging-the-old-interface-is-gone-slog-is-in} + + +v5 drops the old logging interface and uses the standard library's `log/slog`. The `middleware.Logger` middleware is gone; use `middleware.RequestLogger` (or `RequestLoggerWithConfig`) instead, and reach the logger from handlers with `c.Logger()`. See [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). + + +## Routing: a Router interface {#routing-a-router-interface} + + +v5 adds a `Router` interface (`e.Router`, `RouterConfig`, `DefaultRouter`) so routing implementations can be swapped. The default radix-tree behavior is unchanged: static routes match first, then parameters and wildcards. `c.RouteInfo()` is new — it returns the matched route's method, path pattern, and handler name. + + +## Generic helpers take *Context {#generic-helpers-take-context} + + +The generic helpers (`ContextGet`, `ContextGetOr`) now take `*Context`, and the form helpers were renamed to the `FormValue*` family (`FormValue`, `FormValueOr`, `FormValues`). Update call sites that used the old names. + + +## New test helpers: echotest {#new-test-helpers-echotest} + + +v5 adds the `echotest` package with test helpers for handlers and middleware. It is a separate package in the module, not covered by this reference (root package only). + + +## Version support {#version-support} + + +| Version | Bug fixes | Security fixes | +| --- | --- | --- | +| 5.x | Yes | Yes | +| 4.x, latest release | Until 2026-12-31 | Until 2027-12-31 | +| 4.x, older releases | No | No — upgrade to the latest 4.x | + +Routine v4 bug fixes end on 2026-12-31. Free, public, security-only fixes for v4 continue until 2027-12-31, on patch releases of the latest v4 version. Echo v4 requires Go 1.26 or later. Start new projects on v5, and plan v4 upgrades with `API_CHANGES_V5.md`. + + +## Checklist {#checklist} + + +1. Change every handler and middleware signature from `echo.Context` to `*echo.Context`. +2. Replace `middleware.Logger` with `middleware.RequestLogger`; move logger configuration to `RequestLoggerConfig` / `log/slog`. +3. Update the module path: `go get github.com/labstack/echo/v5`. +4. Replace removed/renamed helpers (form helpers → `FormValue*`; check `API_CHANGES_V5.md` for the full list). +5. Re-run your tests — the `echotest` package can replace hand-rolled test harnesses. diff --git a/site/public/sourcey/guides/routing-context.html b/site/public/sourcey/guides/routing-context.html new file mode 100644 index 00000000..48887aaa --- /dev/null +++ b/site/public/sourcey/guides/routing-context.html @@ -0,0 +1,69 @@ + +Routing and context - echo
Guides

Routing and context

Route parameters, wildcards, route groups, the v5 Router interface, and reading route info from the context.

Echo's router is a radix tree. Static routes match first, then parameter and wildcard routes.

+

Basic routing

+
+
e := echo.New()
+
+e.GET("/", func(c *echo.Context) error {
+	return c.String(http.StatusOK, "Hello, World!")
+})
+e.POST("/users", createUser)
+e.PUT("/users/:id", updateUser)
+e.DELETE("/users/:id", deleteUser)
+

Every HTTP method has a helper: GET, POST, PUT, DELETE, PATCH, HEAD, OPTIONS, CONNECT, TRACE, plus Any (all methods) and Match (an explicit method list). Add registers a route for any method string, and AddRoute registers a pre-built Route.

+

Parameters and wildcards

+
+
// GET /users/42 — c.Param("id") == "42"
+e.GET("/users/:id", func(c *echo.Context) error {
+	return c.String(http.StatusOK, "user "+c.Param("id"))
+})
+
+// GET /files/docs/guide.pdf — c.Param("*") == "docs/guide.pdf"
+e.GET("/files/*", func(c *echo.Context) error {
+	return c.String(http.StatusOK, "file "+c.Param("*"))
+})
+

c.Param reads a captured value by name ("*" for the wildcard). c.ParamOr("id", "default") returns a fallback when the parameter is absent, and c.Path() returns the registered route pattern (for example /users/:id), not the concrete request path. c.PathValues() returns all captured values at once.

+

Groups

Groups share a prefix and middleware:

+
+
+
api := e.Group("/api")
+api.Use(middleware.JWTWithConfig(jwtConfig)) // runs for every route in the group
+
+api.GET("/users", listUsers)      // GET /api/users
+api.POST("/users", createUser)    // POST /api/users
+
+admin := api.Group("/admin")      // GET /api/admin/...
+admin.GET("/stats", stats)
+

Group supports the same route helpers as Echo (GET, POST, Group for nesting, Static, File, Use). Middleware registered on a group runs only for that group's routes.

+

Static files

+
+
e.Static("/assets", "public")      // serves ./public at /assets/*
+e.StaticFS("/assets", fs)          // serves an fs.FS at /assets/*
+e.File("/favicon.ico", "favicon.ico")
+

Since v5.4.7, Static with a prefix without a trailing slash registers prefix/* plus prefix for the redirect to prefix/ — so /assetsadmin/private.txt can no longer escape a guard on /assets/admin (GHSA-76qj-xf66-r429). Prefer Group.Static over middleware.Static attached with Group.Use when files sit behind route guards: the middleware variant is not protected by guards on routes inside the group (GHSA-5hp7-4fcm-57f9).

+

The Router interface (v5)

v5 adds a Router interface so routing implementations can be swapped. e.Router returns the current router, and RouterConfig configures it. The default is DefaultRouter, created with NewDefaultRouter or NewConcurrentRouter. e.RouteNotFound registers a handler for requests that match no route; without it, unmatched requests get the default 404 from ErrNotFound.

+

c.RouteInfo() returns the matched route's info (RouteInfo): method, path pattern, and handler name. It is the reliable way to log or meter by route pattern instead of by concrete path.

+

Context pool

Echo reuses Context values through a pool: AcquireContext takes one, ReleaseContext returns it. Handlers never need to call these — the framework does it per request — but custom servers built on ServeHTTP must not hold a *Context after the handler returns.

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/guides/routing-context.md b/site/public/sourcey/guides/routing-context.md new file mode 100644 index 00000000..8988e348 --- /dev/null +++ b/site/public/sourcey/guides/routing-context.md @@ -0,0 +1,84 @@ +# Routing and context {#routing-and-context} + + +Echo's router is a radix tree. Static routes match first, then parameter and wildcard routes. + + +## Basic routing {#basic-routing} + + +```go +e := echo.New() + +e.GET("/", func(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") +}) +e.POST("/users", createUser) +e.PUT("/users/:id", updateUser) +e.DELETE("/users/:id", deleteUser) +``` + +Every HTTP method has a helper: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS`, `CONNECT`, `TRACE`, plus `Any` (all methods) and `Match` (an explicit method list). `Add` registers a route for any method string, and `AddRoute` registers a pre-built `Route`. + + +## Parameters and wildcards {#parameters-and-wildcards} + + +```go +// GET /users/42 — c.Param("id") == "42" +e.GET("/users/:id", func(c *echo.Context) error { + return c.String(http.StatusOK, "user "+c.Param("id")) +}) + +// GET /files/docs/guide.pdf — c.Param("*") == "docs/guide.pdf" +e.GET("/files/*", func(c *echo.Context) error { + return c.String(http.StatusOK, "file "+c.Param("*")) +}) +``` + +`c.Param` reads a captured value by name (`"*"` for the wildcard). `c.ParamOr("id", "default")` returns a fallback when the parameter is absent, and `c.Path()` returns the registered route pattern (for example `/users/:id`), not the concrete request path. `c.PathValues()` returns all captured values at once. + + +## Groups {#groups} + + +Groups share a prefix and middleware: + +```go +api := e.Group("/api") +api.Use(middleware.JWTWithConfig(jwtConfig)) // runs for every route in the group + +api.GET("/users", listUsers) // GET /api/users +api.POST("/users", createUser) // POST /api/users + +admin := api.Group("/admin") // GET /api/admin/... +admin.GET("/stats", stats) +``` + +`Group` supports the same route helpers as `Echo` (`GET`, `POST`, `Group` for nesting, `Static`, `File`, `Use`). Middleware registered on a group runs only for that group's routes. + + +## Static files {#static-files} + + +```go +e.Static("/assets", "public") // serves ./public at /assets/* +e.StaticFS("/assets", fs) // serves an fs.FS at /assets/* +e.File("/favicon.ico", "favicon.ico") +``` + +Since v5.4.7, `Static` with a prefix without a trailing slash registers `prefix/*` plus `prefix` for the redirect to `prefix/` — so `/assetsadmin/private.txt` can no longer escape a guard on `/assets/admin` (GHSA-76qj-xf66-r429). Prefer `Group.Static` over `middleware.Static` attached with `Group.Use` when files sit behind route guards: the middleware variant is not protected by guards on routes inside the group (GHSA-5hp7-4fcm-57f9). + + +## The Router interface (v5) {#the-router-interface-v5} + + +v5 adds a `Router` interface so routing implementations can be swapped. `e.Router` returns the current router, and `RouterConfig` configures it. The default is `DefaultRouter`, created with `NewDefaultRouter` or `NewConcurrentRouter`. `e.RouteNotFound` registers a handler for requests that match no route; without it, unmatched requests get the default 404 from `ErrNotFound`. + +`c.RouteInfo()` returns the matched route's info (`RouteInfo`): method, path pattern, and handler name. It is the reliable way to log or meter by route pattern instead of by concrete path. + + +## Context pool {#context-pool} + + +`Echo` reuses `Context` values through a pool: `AcquireContext` takes one, `ReleaseContext` returns it. Handlers never need to call these — the framework does it per request — but custom servers built on `ServeHTTP` must not hold a `*Context` after the handler returns. diff --git a/site/public/sourcey/index.html b/site/public/sourcey/index.html new file mode 100644 index 00000000..5f45ae28 --- /dev/null +++ b/site/public/sourcey/index.html @@ -0,0 +1,41 @@ + +Echo — High performance, minimalist Go web framework
Get started

Echo — High performance, minimalist Go web framework

Fast, extensible, minimalist Go web framework built on net/http. Radix-tree router, request binding, centralized error handling, and a concrete Context struct in v5.

Echo

Echo is a high performance, extensible, minimalist Go web framework built on Go's standard net/http. It interoperates with the standard library through echo.WrapHandler and echo.WrapMiddleware, and adds the parts the standard library leaves to you: a fast radix-tree router, request binding with pluggable validation, official and third-party middleware, and centralized error handling. Echo is actively maintained, and v5 is the current release line.

+

Echo requires Go 1.25 or higher (module go 1.25.0 at the documented commit).

+

What you get

    +
  • Radix-tree routing — static, parameter and wildcard routes; static routes match first — see Routing and context.
  • +
  • Middleware, before and after routing — e.Pre runs before routing, e.Use after it — see Middleware.
  • +
  • Data binding — JSON, XML, form, query and path parameters, with pluggable validation — see Binding and error handling.
  • +
  • Centralized error handling — one HTTPErrorHandler for every error a handler or middleware returns — see Binding and error handling.
  • +
  • A concrete Context — in v5 Context is a struct, not an interface, and handlers take *echo.Context — see Context and responses.
  • +
  • Migration from v4 — the breaking changes, and the v4 support dates — see Migration v4 → v5.
  • +
+

Where to start

+

API reference

The Go API tab is the full reference for the github.com/labstack/echo/v5 package, generated from the package source: 38 types, 55 package-level functions, 232 methods, 78 constants, and 21 variables — including Echo, Context, Config, Router, Group, RouteInfo, DefaultBinder, HTTPError, and the error helpers.

+

Documented version

This site documents labstack/echo @ 59aacdd (commit 59aacddc4a13904b8a80a76f1ec838c495b5feca, 20 Nov 2026, release v5.4.7), MIT licensed. Source links in the API reference point at that exact commit on GitHub.

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/index.md b/site/public/sourcey/index.md new file mode 100644 index 00000000..01ca80e9 --- /dev/null +++ b/site/public/sourcey/index.md @@ -0,0 +1,39 @@ +# Echo — High performance, minimalist Go web framework + +# Echo {#echo} + + +Echo is a **high performance, extensible, minimalist Go web framework** built on Go's standard `net/http`. It interoperates with the standard library through `echo.WrapHandler` and `echo.WrapMiddleware`, and adds the parts the standard library leaves to you: a fast radix-tree router, request binding with pluggable validation, official and third-party middleware, and centralized error handling. Echo is actively maintained, and `v5` is the current release line. + +Echo requires **Go 1.25 or higher** (module `go 1.25.0` at the documented commit). + + +## What you get {#what-you-get} + + +- **Radix-tree routing** — static, parameter and wildcard routes; static routes match first — see [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md). +- **Middleware, before and after routing** — `e.Pre` runs before routing, `e.Use` after it — see [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). +- **Data binding** — JSON, XML, form, query and path parameters, with pluggable validation — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). +- **Centralized error handling** — one `HTTPErrorHandler` for every error a handler or middleware returns — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). +- **A concrete `Context`** — in v5 `Context` is a struct, not an interface, and handlers take `*echo.Context` — see [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md). +- **Migration from v4** — the breaking changes, and the v4 support dates — see [Migration v4 → v5](https://echo.labstack.com/sourcey/guides/migration-v4-v5.md). + + +## Where to start {#where-to-start} + + +- New to Echo? Read [Quickstart](https://echo.labstack.com/sourcey/quickstart.md) — install, your first "Hello, World!" server, and the core concepts. +- Already routing? [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md) and [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md) cover the daily API. +- Shipping to production? [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md) and [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md) cover the sharp edges (binding failures, error responses, response helpers). + + +## API reference {#api-reference} + + +The [Go API](https://echo.labstack.com/sourcey/api.md) tab is the full reference for the `github.com/labstack/echo/v5` package, generated from the package source: 38 types, 55 package-level functions, 232 methods, 78 constants, and 21 variables — including `Echo`, `Context`, `Config`, `Router`, `Group`, `RouteInfo`, `DefaultBinder`, `HTTPError`, and the error helpers. + + +## Documented version {#documented-version} + + +This site documents **labstack/echo @ 59aacdd** (commit `59aacddc4a13904b8a80a76f1ec838c495b5feca`, 20 Nov 2026, release v5.4.7), MIT licensed. Source links in the API reference point at that exact commit on GitHub. From 6bc04eff88408655918ea9f9526b0649f782f972 Mon Sep 17 00:00:00 2001 From: slowwwkiss Date: Fri, 27 Nov 2026 11:37:46 +0700 Subject: [PATCH 3/3] docs: add generated API reference for echo v5 (static/sourcey/) (3/3) --- site/public/sourcey/llms-full.txt | 8882 +++++++++++++++++++++ site/public/sourcey/llms.txt | 16 + site/public/sourcey/quickstart.html | 78 + site/public/sourcey/quickstart.md | 78 + site/public/sourcey/receipt.json | 1 + site/public/sourcey/report.md | 65 + site/public/sourcey/response-headers.json | 77 + site/public/sourcey/sitemap.xml | 12 + 8 files changed, 9209 insertions(+) create mode 100644 site/public/sourcey/llms-full.txt create mode 100644 site/public/sourcey/llms.txt create mode 100644 site/public/sourcey/quickstart.html create mode 100644 site/public/sourcey/quickstart.md create mode 100644 site/public/sourcey/receipt.json create mode 100644 site/public/sourcey/report.md create mode 100644 site/public/sourcey/response-headers.json create mode 100644 site/public/sourcey/sitemap.xml diff --git a/site/public/sourcey/llms-full.txt b/site/public/sourcey/llms-full.txt new file mode 100644 index 00000000..cc1281d5 --- /dev/null +++ b/site/public/sourcey/llms-full.txt @@ -0,0 +1,8882 @@ +# echo + +### Echo — High performance, minimalist Go web framework + +Path: `/sourcey/` + +# Echo — High performance, minimalist Go web framework + +# Echo {#echo} + + +Echo is a **high performance, extensible, minimalist Go web framework** built on Go's standard `net/http`. It interoperates with the standard library through `echo.WrapHandler` and `echo.WrapMiddleware`, and adds the parts the standard library leaves to you: a fast radix-tree router, request binding with pluggable validation, official and third-party middleware, and centralized error handling. Echo is actively maintained, and `v5` is the current release line. + +Echo requires **Go 1.25 or higher** (module `go 1.25.0` at the documented commit). + + +## What you get {#what-you-get} + + +- **Radix-tree routing** — static, parameter and wildcard routes; static routes match first — see [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md). +- **Middleware, before and after routing** — `e.Pre` runs before routing, `e.Use` after it — see [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). +- **Data binding** — JSON, XML, form, query and path parameters, with pluggable validation — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). +- **Centralized error handling** — one `HTTPErrorHandler` for every error a handler or middleware returns — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). +- **A concrete `Context`** — in v5 `Context` is a struct, not an interface, and handlers take `*echo.Context` — see [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md). +- **Migration from v4** — the breaking changes, and the v4 support dates — see [Migration v4 → v5](https://echo.labstack.com/sourcey/guides/migration-v4-v5.md). + + +## Where to start {#where-to-start} + + +- New to Echo? Read [Quickstart](https://echo.labstack.com/sourcey/quickstart.md) — install, your first "Hello, World!" server, and the core concepts. +- Already routing? [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md) and [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md) cover the daily API. +- Shipping to production? [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md) and [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md) cover the sharp edges (binding failures, error responses, response helpers). + + +## API reference {#api-reference} + + +The [Go API](https://echo.labstack.com/sourcey/api.md) tab is the full reference for the `github.com/labstack/echo/v5` package, generated from the package source: 38 types, 55 package-level functions, 232 methods, 78 constants, and 21 variables — including `Echo`, `Context`, `Config`, `Router`, `Group`, `RouteInfo`, `DefaultBinder`, `HTTPError`, and the error helpers. + + +## Documented version {#documented-version} + + +This site documents **labstack/echo @ 59aacdd** (commit `59aacddc4a13904b8a80a76f1ec838c495b5feca`, 20 Nov 2026, release v5.4.7), MIT licensed. Source links in the API reference point at that exact commit on GitHub. + + +### Quickstart + +Path: `/sourcey/quickstart.html` + +# Quickstart {#quickstart} + + +Echo v5 requires **Go 1.25 or higher**. If you need to install or upgrade Go, visit the [official Go download page](https://go.dev/dl/). + + +## Install {#install} + + +Create a new directory for your project, initialize Go modules, then install Echo: + +```bash +go mod init myapp +go get github.com/labstack/echo/v5 +``` + + +## Hello, World! {#hello-world} + + +```go +package main + +import ( + "log/slog" + "net/http" + + "github.com/labstack/echo/v5" + "github.com/labstack/echo/v5/middleware" +) + +func main() { + e := echo.New() + + e.Use(middleware.RequestLogger()) // log requests with log/slog + e.Use(middleware.Recover()) // recover from panics and return an error + + e.GET("/", hello) + + if err := e.Start(":8080"); err != nil { + slog.Error("failed to start server", "error", err) + } +} + +func hello(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") +} +``` + +Run it and send a request: + +```console +$ go run . +$ curl http://localhost:8080/ +Hello, World! +``` + +`e.Start` shuts the server down gracefully on Ctrl+C. + + +## Core concepts {#core-concepts} + + +This simple server introduces the core concepts of Echo: + +- **Echo instance** — `echo.New()` creates the application. `echo.NewWithConfig` takes a `Config` to tune it (see `Config` in the [Go API](https://echo.labstack.com/sourcey/api.md)). +- **Routes** — `e.GET`, `e.POST`, `e.PUT`, `e.DELETE`, and friends register handlers for a method + path. Paths support parameters (`:id`) and wildcards (`*`) — see [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md). +- **Handlers** — in v5 a handler takes `*echo.Context` (a pointer to the concrete `Context` struct) and returns an `error`. `c.String`, `c.JSON`, `c.HTML`, and `c.File` write the response — see [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md). +- **Middleware** — `e.Use` registers handlers that run after routing; `e.Pre` registers handlers that run before routing — see [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). +- **Start** — `e.Start(":8080")` starts the server. It returns only errors that are not `http.ErrServerClosed`, so a graceful shutdown on Ctrl+C is not an error. + + +## Next steps {#next-steps} + + +- [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md) — parameters, wildcards, groups, route info. +- [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md) — the `Pre`/`Use` split, RequestLogger, Recover. +- [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md) — binding request data, custom error responses. + + +### Routing and context + +Path: `/sourcey/guides/routing-context.html` + +# Routing and context {#routing-and-context} + + +Echo's router is a radix tree. Static routes match first, then parameter and wildcard routes. + + +## Basic routing {#basic-routing} + + +```go +e := echo.New() + +e.GET("/", func(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") +}) +e.POST("/users", createUser) +e.PUT("/users/:id", updateUser) +e.DELETE("/users/:id", deleteUser) +``` + +Every HTTP method has a helper: `GET`, `POST`, `PUT`, `DELETE`, `PATCH`, `HEAD`, `OPTIONS`, `CONNECT`, `TRACE`, plus `Any` (all methods) and `Match` (an explicit method list). `Add` registers a route for any method string, and `AddRoute` registers a pre-built `Route`. + + +## Parameters and wildcards {#parameters-and-wildcards} + + +```go +// GET /users/42 — c.Param("id") == "42" +e.GET("/users/:id", func(c *echo.Context) error { + return c.String(http.StatusOK, "user "+c.Param("id")) +}) + +// GET /files/docs/guide.pdf — c.Param("*") == "docs/guide.pdf" +e.GET("/files/*", func(c *echo.Context) error { + return c.String(http.StatusOK, "file "+c.Param("*")) +}) +``` + +`c.Param` reads a captured value by name (`"*"` for the wildcard). `c.ParamOr("id", "default")` returns a fallback when the parameter is absent, and `c.Path()` returns the registered route pattern (for example `/users/:id`), not the concrete request path. `c.PathValues()` returns all captured values at once. + + +## Groups {#groups} + + +Groups share a prefix and middleware: + +```go +api := e.Group("/api") +api.Use(middleware.JWTWithConfig(jwtConfig)) // runs for every route in the group + +api.GET("/users", listUsers) // GET /api/users +api.POST("/users", createUser) // POST /api/users + +admin := api.Group("/admin") // GET /api/admin/... +admin.GET("/stats", stats) +``` + +`Group` supports the same route helpers as `Echo` (`GET`, `POST`, `Group` for nesting, `Static`, `File`, `Use`). Middleware registered on a group runs only for that group's routes. + + +## Static files {#static-files} + + +```go +e.Static("/assets", "public") // serves ./public at /assets/* +e.StaticFS("/assets", fs) // serves an fs.FS at /assets/* +e.File("/favicon.ico", "favicon.ico") +``` + +Since v5.4.7, `Static` with a prefix without a trailing slash registers `prefix/*` plus `prefix` for the redirect to `prefix/` — so `/assetsadmin/private.txt` can no longer escape a guard on `/assets/admin` (GHSA-76qj-xf66-r429). Prefer `Group.Static` over `middleware.Static` attached with `Group.Use` when files sit behind route guards: the middleware variant is not protected by guards on routes inside the group (GHSA-5hp7-4fcm-57f9). + + +## The Router interface (v5) {#the-router-interface-v5} + + +v5 adds a `Router` interface so routing implementations can be swapped. `e.Router` returns the current router, and `RouterConfig` configures it. The default is `DefaultRouter`, created with `NewDefaultRouter` or `NewConcurrentRouter`. `e.RouteNotFound` registers a handler for requests that match no route; without it, unmatched requests get the default 404 from `ErrNotFound`. + +`c.RouteInfo()` returns the matched route's info (`RouteInfo`): method, path pattern, and handler name. It is the reliable way to log or meter by route pattern instead of by concrete path. + + +## Context pool {#context-pool} + + +`Echo` reuses `Context` values through a pool: `AcquireContext` takes one, `ReleaseContext` returns it. Handlers never need to call these — the framework does it per request — but custom servers built on `ServeHTTP` must not hold a `*Context` after the handler returns. + + +### Middleware + +Path: `/sourcey/guides/middleware.html` + +# Middleware {#middleware} + + +Middleware is a function wrapping a handler. Echo splits it in two places: + +- **`e.Pre`** runs **before routing**, so it can rewrite the path or method. Use it for path rewrites, trailing-slash handling, and method overrides. +- **`e.Use`** runs **after routing**, around the matched handler. Use it for logging, recovery, auth, CORS, and everything else. + +```go +e := echo.New() + +e.Pre(middleware.RemoveTrailingSlash()) +e.Use(middleware.RequestLogger()) // log requests with log/slog +e.Use(middleware.Recover()) // recover from panics and return an error +e.Use(middleware.CORS()) // CORS headers +``` + +`e.Middlewares()` returns the registered `Use` middleware; `e.PreMiddlewares()` returns the `Pre` middleware. Both run in registration order. + + +## RequestLogger (v5 logging) {#requestlogger-v5-logging} + + +v5 drops the old logging interface and uses the standard library's `log/slog` instead. There is no `middleware.Logger` anymore — the logger is `middleware.RequestLogger`: + +```go +e.Use(middleware.RequestLogger()) +e.Use(middleware.RequestLoggerWithConfig(middleware.RequestLoggerConfig{ + LogMethod: true, + LogURI: true, + LogStatus: true, + LogLatency: true, + LogRemoteIP: true, + LogError: true, + LogValuesFunc: func(c *echo.Context, v middleware.RequestLoggerValues) error { + c.Logger().Info("request", "method", v.Method, "uri", v.URI, "status", v.Status) + return nil + }, +})) +``` + +`RequestLoggerWithConfig` takes a `RequestLoggerConfig`; the no-arg `RequestLogger()` uses the defaults. Handlers reach the same `*slog.Logger` through `c.Logger()`, and `c.SetLogger` replaces it per request. + + +## Recover {#recover} + + +```go +e.Use(middleware.Recover()) +``` + +`Recover` catches panics in handlers and middleware and converts them into an error passed to the `HTTPErrorHandler` (a 500 by default). Register it early — middleware registered before it cannot be recovered by it. + + +## Official middleware {#official-middleware} + + +Maintained by the Echo team, in the `middleware` package of this same module: + +| Middleware | What it does | +| --- | --- | +| `RequestLogger` / `RequestLoggerWithConfig` | Structured request logging with `log/slog` | +| `Recover` / `RecoverWithConfig` | Panic recovery | +| `CORS` / `CORSWithConfig` | Cross-Origin Resource Sharing headers | +| `CSRF` / `CSRFWithConfig` | CSRF token protection | +| `Gzip` / `GzipWithConfig` | Response compression (honors `Accept-Encoding` quality values since v5.4.7) | +| `BodyLimit` / `BodyLimitWithConfig` | Request body size limit | +| `BasicAuth` / `BasicAuthWithConfig` | HTTP Basic authentication | +| `BodyDump` / `BodyDumpWithConfig` | Request/response body logging | +| `Compress` | Response compression (alternative to Gzip) | +| `Decompress` | Request body decompression | +| `ContextTimeout` | Per-request context timeout | + +JWT authentication, Casbin/sessions/pprof, OpenTelemetry, and Prometheus live in separate official repositories: [labstack/echo-jwt](https://github.com/labstack/echo-jwt), [labstack/echo-contrib](https://github.com/labstack/echo-contrib), [labstack/echo-otel](https://github.com/labstack/echo-otel), and [labstack/echo-prometheus](https://github.com/labstack/echo-prometheus). Check each one for the Echo version (`v4` or `v5`) it supports before adopting it. + + +## Writing middleware {#writing-middleware} + + +A middleware takes the next handler and returns a handler: + +```go +func onlyJSON(next echo.HandlerFunc) echo.HandlerFunc { + return func(c *echo.Context) error { + if c.Request().Header.Get("Accept") != "application/json" { + return echo.NewHTTPError(http.StatusNotAcceptable) + } + return next(c) + } +} + +e.Use(onlyJSON) +``` + +`echo.HandlerFunc` is the handler type in v5: `func(c *echo.Context) error`. Returning an error sends it to the `HTTPErrorHandler` — see [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md). + + +### Binding and error handling + +Path: `/sourcey/guides/binding-error-handling.html` + +# Binding and error handling {#binding-and-error-handling} + + + +## Binding request data {#binding-request-data} + + +`c.Bind` decodes the request body (JSON, XML, or form, by `Content-Type`) plus query and path parameters into a struct: + +```go +type User struct { + Name string `json:"name" form:"name" query:"name"` + Email string `json:"email" form:"email" query:"email"` +} + +func createUser(c *echo.Context) error { + u := new(User) + if err := c.Bind(u); err != nil { + return echo.NewHTTPError(http.StatusBadRequest, err.Error()) + } + // use u ... + return c.JSON(http.StatusCreated, u) +} +``` + +Binding reads, in order: path parameters, query parameters, then the body. A binding failure returns a `BindingError` — since v5.4.7, binding into a map whose value type is not `string`, `[]string`, or `any` returns an error instead of silently skipping the values, and named string types no longer panic. + +The fine-grained helpers bind one source each: `echo.BindBody`, `echo.BindQueryParams`, `echo.BindPathValues`, and `echo.BindHeaders`. The `Binder` interface (implemented by `DefaultBinder`, the default on `e.Binder`) lets you replace the whole binding step; `e.Binder` is the field to set. + + +## Validation {#validation} + + +```go +type CustomValidator struct { + validator *validator.Validate +} + +func (cv *CustomValidator) Validate(i any) error { + return cv.validator.Struct(i) +} + +e.Validator = &CustomValidator{validator: validator.New()} +``` + +Set `e.Validator` to any type implementing `Validate(any) error`. Then `c.Validate(i)` runs it; `c.ValidateCtx(ctx, i)` runs it with a request context. Without a validator registered, `Validate` returns `ErrValidatorNotRegistered`. + + +## Errors: HTTPError {#errors-httperror} + + +Handlers signal failures by returning an error. The `HTTPError` type carries a code and a message: + +```go +return echo.ErrNotFound // 404, predefined +return echo.NewHTTPError(http.StatusBadRequest, "name is required") +return echo.NewHTTPError(http.StatusBadRequest, "name is required", map[string]string{"field": "name"}) +``` + +Predefined errors cover the common codes: `ErrBadRequest`, `ErrUnauthorized`, `ErrForbidden`, `ErrNotFound`, `ErrMethodNotAllowed`, `ErrRequestTimeout`, `ErrStatusRequestEntityTooLarge`, `ErrUnsupportedMediaType`, `ErrTooManyRequests`, `ErrInternalServerError`, `ErrBadGateway`, `ErrServiceUnavailable`, plus `ErrValidatorNotRegistered`, `ErrRendererNotRegistered`, and `ErrCookieNotFound`. `HTTPError` has `Code` and `Message` fields; `NewBindingError` wraps binding failures. + + +## The error handler {#the-error-handler} + + +Every error a handler or middleware returns goes to one place: `e.HTTPErrorHandler`. The default is `DefaultHTTPErrorHandler`, which writes a JSON (or HTML, by `Accept`) error body with the code and message. Replace it to control the format: + +```go +e.HTTPErrorHandler = func(err error, c *echo.Context) { + code := http.StatusInternalServerError + if he, ok := err.(*echo.HTTPError); ok { + code = he.Code + } + // log it, then write your own body + c.Logger().Error("request failed", "error", err) + if !c.Response().Committed { + c.JSON(code, map[string]any{"error": err.Error()}) + } +} +``` + +`ProblemDetailsHTTPErrorHandler` is a built-in alternative that writes RFC 9457 problem-details responses. Two details matter when writing a custom handler: check `c.Response().Committed` before writing (the response may already be partially sent), and remember the built-in handlers strip `Content-Encoding`, `Content-Length`, and `Content-Disposition` before writing the error body (since v5.4.7) — a custom handler that skips that step can send a stale `Content-Length` with the error. + + +### Context and responses + +Path: `/sourcey/guides/context-responses.html` + +# Context and responses {#context-and-responses} + + + +## Context is a struct in v5 {#context-is-a-struct-in-v5} + + +In v4 `Context` was an interface; in v5 it is a concrete struct, and handlers take a pointer to it: + +```go +// v4 — no longer valid in v5 +func handler(c echo.Context) error { ... } + +// v5 +func handler(c *echo.Context) error { ... } +``` + +Because it is a struct, new methods can be added in minor versions without breaking existing code. The framework hands each request a pooled `*Context` (`AcquireContext` / `ReleaseContext`); do not hold onto it after the handler returns. + + +## Reading the request {#reading-the-request} + + +```go +c.Request() // *http.Request +c.Param("id") // path parameter +c.ParamOr("id", "none") // path parameter with fallback +c.QueryParam("q") // query value +c.QueryParamOr("q", "") // query value with fallback +c.QueryParams() // url.Values — all query parameters +c.QueryString() // raw query string +c.FormValue("name") // form value +c.FormValueOr("name", "")// form value with fallback +c.FormValues() // all form values +c.Cookie("session") // *http.Cookie, or ErrCookieNotFound +c.Cookies() // all cookies +c.RealIP() // client IP (uses e.IPExtractor) +c.Scheme() // http or https (uses e.SchemeExtractor) +c.IsTLS() // whether the request is TLS +c.IsWebSocket() // whether it is a WebSocket upgrade +c.Path() // registered route pattern, e.g. /users/:id +c.RouteInfo() // matched route info (method, path, handler name) +``` + +`c.Get(key)` / `c.Set(key, value)` store request-scoped values. The generic helpers read them type-safely: + +```go +user, ok := echo.ContextGet[User](c, "user") +tenant := echo.ContextGetOr(c, "tenant", "default") +``` + + +## Writing responses {#writing-responses} + + +```go +c.String(http.StatusOK, "Hello, World!") +c.JSON(http.StatusOK, map[string]string{"hello": "world"}) +c.JSONPretty(http.StatusOK, data, " ") +c.JSONP(http.StatusOK, "callback", data) +c.XML(http.StatusOK, data) +c.XMLPretty(http.StatusOK, data, " ") +c.HTML(http.StatusOK, "hi") +c.HTMLBlob(http.StatusOK, []byte("hi")) +c.Blob(http.StatusOK, "application/octet-stream", data) +c.Stream(http.StatusOK, "text/plain", reader) +c.File("/path/to/file.pdf") +c.FileFS("file.pdf", fs) +c.Attachment("/path/to/report.pdf", "report.pdf") // Content-Disposition: attachment +c.Inline("/path/to/report.pdf", "report.pdf") // Content-Disposition: inline +c.NoContent(http.StatusNoContent) +c.Redirect(http.StatusSeeOther, "/login") +c.Render(http.StatusOK, "hello.html", data) // needs e.Renderer set, else ErrRendererNotRegistered +``` + +`c.Response()` returns the `*Response` (a wrapper around `http.ResponseWriter` with `Committed` state and byte counting). Since v5.4.7, `Response.Flush` commits an uncommitted response, and `WriteHeader` passes 1xx informational codes (such as `103 Early Hints`) through without committing. + + +## Templates {#templates} + + +```go +type Template struct { + templates *template.Template +} + +func (t *Template) Render(w io.Writer, name string, data any, c *echo.Context) error { + return t.templates.ExecuteTemplate(w, name, data) +} + +e.Renderer = &Template{templates: template.Must(template.ParseGlob("views/*.html"))} +``` + +Set `e.Renderer` to any type implementing `Render(io.Writer, string, any, *Context) error`. Calling `c.Render` without a renderer returns `ErrRendererNotRegistered`. + + +### Migration v4 → v5 + +Path: `/sourcey/guides/migration-v4-v5.html` + +# Migration v4 → v5 {#migration-v4--v5} + + +Echo `v5` (current release line, first released 2026-01-18; this site documents v5.4.7) is a maintenance release with major breaking changes. The full list is in [API_CHANGES_V5.md](https://github.com/labstack/echo/blob/master/API_CHANGES_V5.md) in the repository. The changes that touch nearly every application are below. + + +## Context: interface → concrete struct {#context-interface--concrete-struct} + + +The single biggest change. In v4 `Context` was an interface; in v5 it is a struct, and **every handler must take a pointer**: + +```go +// v4 +func handler(c echo.Context) error { + return c.JSON(200, map[string]string{"hello": "world"}) +} + +// v5 +func handler(c *echo.Context) error { + return c.JSON(200, map[string]string{"hello": "world"}) +} +``` + +Middleware signatures change the same way: `echo.HandlerFunc` is now `func(c *echo.Context) error`, and `echo.MiddlewareFunc` wraps that. Custom types that implemented the v4 `Context` interface no longer compile against v5 — use the struct directly, or wrap it. + +The payoff: because `Context` is now a struct, the maintainers can add methods in minor versions without breaking your code. + + +## Logging: the old interface is gone, slog is in {#logging-the-old-interface-is-gone-slog-is-in} + + +v5 drops the old logging interface and uses the standard library's `log/slog`. The `middleware.Logger` middleware is gone; use `middleware.RequestLogger` (or `RequestLoggerWithConfig`) instead, and reach the logger from handlers with `c.Logger()`. See [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). + + +## Routing: a Router interface {#routing-a-router-interface} + + +v5 adds a `Router` interface (`e.Router`, `RouterConfig`, `DefaultRouter`) so routing implementations can be swapped. The default radix-tree behavior is unchanged: static routes match first, then parameters and wildcards. `c.RouteInfo()` is new — it returns the matched route's method, path pattern, and handler name. + + +## Generic helpers take *Context {#generic-helpers-take-context} + + +The generic helpers (`ContextGet`, `ContextGetOr`) now take `*Context`, and the form helpers were renamed to the `FormValue*` family (`FormValue`, `FormValueOr`, `FormValues`). Update call sites that used the old names. + + +## New test helpers: echotest {#new-test-helpers-echotest} + + +v5 adds the `echotest` package with test helpers for handlers and middleware. It is a separate package in the module, not covered by this reference (root package only). + + +## Version support {#version-support} + + +| Version | Bug fixes | Security fixes | +| --- | --- | --- | +| 5.x | Yes | Yes | +| 4.x, latest release | Until 2026-12-31 | Until 2027-12-31 | +| 4.x, older releases | No | No — upgrade to the latest 4.x | + +Routine v4 bug fixes end on 2026-12-31. Free, public, security-only fixes for v4 continue until 2027-12-31, on patch releases of the latest v4 version. Echo v4 requires Go 1.26 or later. Start new projects on v5, and plan v4 upgrades with `API_CHANGES_V5.md`. + + +## Checklist {#checklist} + + +1. Change every handler and middleware signature from `echo.Context` to `*echo.Context`. +2. Replace `middleware.Logger` with `middleware.RequestLogger`; move logger configuration to `RequestLoggerConfig` / `log/slog`. +3. Update the module path: `go get github.com/labstack/echo/v5`. +4. Replace removed/renamed helpers (form helpers → `FormValue*`; check `API_CHANGES_V5.md` for the full list). +5. Re-run your tests — the `echotest` package can replace hand-rolled test harnesses. + + +### github.com/labstack/echo/v5 + +Path: `/sourcey/api/package-root.html` + +# github.com/labstack/echo/v5 + +Package echo implements high performance, minimalist Go web framework. + +Example: + + package main + + import ( + "log/slog" + "net/http" + + "github.com/labstack/echo/v5" + "github.com/labstack/echo/v5/middleware" + ) + + // Handler + func hello(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") + } + + func main() { + // Echo instance + e := echo.New() + + // Middleware + e.Use(middleware.RequestLogger()) + e.Use(middleware.Recover()) + + // Routes + e.GET("/", hello) + + // Start server + if err := e.Start(":8080"); err != nil { + slog.Error("failed to start server", "error", err) + } + } + +Learn more at [https://echo.labstack.com](https://echo.labstack.com) + +## TimeLayoutUnixTime + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## TimeLayoutUnixTimeMilli + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## TimeLayoutUnixTimeNano + +```go +const ( + TimeLayoutUnixTime = TimeLayout("UnixTime") // Unix timestamp in seconds + TimeLayoutUnixTimeMilli = TimeLayout("UnixTimeMilli") // Unix timestamp in milliseconds + TimeLayoutUnixTimeNano = TimeLayout("UnixTimeNano") // Unix timestamp in nanoseconds +) +``` + +TimeLayout constants for parsing Unix timestamps in different precisions. + +## MIMEApplicationJSON + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJSONCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJavaScript + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationJavaScriptCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationXML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationXMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextXML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextXMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationForm + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationProtobuf + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationMsgpack + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEApplicationProblemJSON + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextHTML + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextHTMLCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextPlain + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMETextPlainCharsetUTF8 + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEMultipartForm + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## MIMEOctetStream + +```go +const ( + // MIMEApplicationJSON JavaScript Object Notation (JSON) https://www.rfc-editor.org/rfc/rfc8259 + MIMEApplicationJSON = "application/json" + // Deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. + // No "charset" parameter is defined for this registration. + // Adding one really has no effect on compliant recipients. + // See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1n" + MIMEApplicationJSONCharsetUTF8 = MIMEApplicationJSON + "; " + charsetUTF8 + MIMEApplicationJavaScript = "application/javascript" + MIMEApplicationJavaScriptCharsetUTF8 = MIMEApplicationJavaScript + "; " + charsetUTF8 + MIMEApplicationXML = "application/xml" + MIMEApplicationXMLCharsetUTF8 = MIMEApplicationXML + "; " + charsetUTF8 + MIMETextXML = "text/xml" + MIMETextXMLCharsetUTF8 = MIMETextXML + "; " + charsetUTF8 + MIMEApplicationForm = "application/x-www-form-urlencoded" + MIMEApplicationProtobuf = "application/protobuf" + MIMEApplicationMsgpack = "application/msgpack" + // MIMEApplicationProblemJSON is the content type for RFC 9457 Problem Details responses. + // https://www.rfc-editor.org/rfc/rfc9457 + MIMEApplicationProblemJSON = "application/problem+json" + MIMETextHTML = "text/html" + MIMETextHTMLCharsetUTF8 = MIMETextHTML + "; " + charsetUTF8 + MIMETextPlain = "text/plain" + MIMETextPlainCharsetUTF8 = MIMETextPlain + "; " + charsetUTF8 + MIMEMultipartForm = "multipart/form-data" + MIMEOctetStream = "application/octet-stream" +) +``` + +MIME types + +## PROPFIND + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## REPORT + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## QUERY + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## RouteNotFound + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## RouteAny + +```go +const ( + + // PROPFIND Method can be used on collection and property resources. + PROPFIND = "PROPFIND" + // REPORT Method can be used to get information about a resource, see rfc 3253 + REPORT = "REPORT" + // QUERY Method is a safe, idempotent request method carrying request content (a query) in its body, see rfc 10008. + // It is not (yet) part of the `net/http` standard library, so Echo defines it here. + QUERY = "QUERY" + // RouteNotFound is a special method type for routes handling "route not found" (404) cases + RouteNotFound = "echo_route_not_found" + // RouteAny is a special method type that matches any HTTP method in request. Any has lower + // priority that other methods that have been registered with Router to that path. + RouteAny = "echo_route_any" +) +``` + +## HeaderAccept + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAcceptEncoding + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAllow + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAuthorization + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentDisposition + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentEncoding + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentLength + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentType + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderCookie + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderSetCookie + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderIfModifiedSince + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderLastModified + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderLocation + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderRetryAfter + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderUpgrade + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderVary + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderWWWAuthenticate + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedFor + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedProto + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedProtocol + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXForwardedSsl + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXUrlScheme + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXHTTPMethodOverride + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRealIP + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRequestID + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXCorrelationID + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXRequestedWith + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderServer + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderOrigin + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderCacheControl + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderConnection + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlRequestMethod + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlRequestHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowOrigin + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowMethods + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlAllowCredentials + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlExposeHeaders + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderAccessControlMaxAge + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderStrictTransportSecurity + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXContentTypeOptions + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXXSSProtection + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXFrameOptions + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentSecurityPolicy + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderContentSecurityPolicyReportOnly + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderXCSRFToken + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderReferrerPolicy + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## HeaderSecFetchSite + +```go +const ( + HeaderAccept = "Accept" + HeaderAcceptEncoding = "Accept-Encoding" + // HeaderAllow is the name of the "Allow" header field used to list the set of methods + // advertised as supported by the target resource. Returning an Allow header is mandatory + // for status 405 (method not found) and useful for the OPTIONS method in responses. + // See RFC 7231: https://datatracker.ietf.org/doc/html/rfc7231#section-7.4.1 + HeaderAllow = "Allow" + HeaderAuthorization = "Authorization" + HeaderContentDisposition = "Content-Disposition" + HeaderContentEncoding = "Content-Encoding" + HeaderContentLength = "Content-Length" + HeaderContentType = "Content-Type" + HeaderCookie = "Cookie" + HeaderSetCookie = "Set-Cookie" + HeaderIfModifiedSince = "If-Modified-Since" + HeaderLastModified = "Last-Modified" + HeaderLocation = "Location" + HeaderRetryAfter = "Retry-After" + HeaderUpgrade = "Upgrade" + HeaderVary = "Vary" + HeaderWWWAuthenticate = "WWW-Authenticate" + HeaderXForwardedFor = "X-Forwarded-For" + HeaderXForwardedProto = "X-Forwarded-Proto" + HeaderXForwardedProtocol = "X-Forwarded-Protocol" + HeaderXForwardedSsl = "X-Forwarded-Ssl" + HeaderXUrlScheme = "X-Url-Scheme" + HeaderXHTTPMethodOverride = "X-HTTP-Method-Override" + HeaderXRealIP = "X-Real-Ip" + HeaderXRequestID = "X-Request-Id" + HeaderXCorrelationID = "X-Correlation-Id" + HeaderXRequestedWith = "X-Requested-With" + HeaderServer = "Server" + + // HeaderOrigin request header indicates the origin (scheme, hostname, and port) that caused the request. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin + HeaderOrigin = "Origin" + HeaderCacheControl = "Cache-Control" + HeaderConnection = "Connection" + + // Access control + HeaderAccessControlRequestMethod = "Access-Control-Request-Method" + HeaderAccessControlRequestHeaders = "Access-Control-Request-Headers" + HeaderAccessControlAllowOrigin = "Access-Control-Allow-Origin" + HeaderAccessControlAllowMethods = "Access-Control-Allow-Methods" + HeaderAccessControlAllowHeaders = "Access-Control-Allow-Headers" + HeaderAccessControlAllowCredentials = "Access-Control-Allow-Credentials" + HeaderAccessControlExposeHeaders = "Access-Control-Expose-Headers" + HeaderAccessControlMaxAge = "Access-Control-Max-Age" + + // Security + HeaderStrictTransportSecurity = "Strict-Transport-Security" + HeaderXContentTypeOptions = "X-Content-Type-Options" + HeaderXXSSProtection = "X-XSS-Protection" + HeaderXFrameOptions = "X-Frame-Options" + HeaderContentSecurityPolicy = "Content-Security-Policy" + HeaderContentSecurityPolicyReportOnly = "Content-Security-Policy-Report-Only" + HeaderXCSRFToken = "X-CSRF-Token" // #nosec G101 + HeaderReferrerPolicy = "Referrer-Policy" + + // HeaderSecFetchSite fetch metadata request header indicates the relationship between a request initiator's + // origin and the origin of the requested resource. + // See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Sec-Fetch-Site + HeaderSecFetchSite = "Sec-Fetch-Site" +) +``` + +Headers + +## NotFoundRouteName + +```go +const ( + // NotFoundRouteName is name of RouteInfo returned when router did not find matching route (404: not found). + NotFoundRouteName = "echo_route_not_found_name" + // MethodNotAllowedRouteName is name of RouteInfo returned when router did not find matching method for route (405: method not allowed). + MethodNotAllowedRouteName = "echo_route_method_not_allowed_name" +) +``` + +## MethodNotAllowedRouteName + +```go +const ( + // NotFoundRouteName is name of RouteInfo returned when router did not find matching route (404: not found). + NotFoundRouteName = "echo_route_not_found_name" + // MethodNotAllowedRouteName is name of RouteInfo returned when router did not find matching method for route (405: method not allowed). + MethodNotAllowedRouteName = "echo_route_method_not_allowed_name" +) +``` + +## ContextKeyHeaderAllow + +```go +const ( + // ContextKeyHeaderAllow is set by Router for getting value for `Allow` header in later stages of handler call chain. + // Allow header is mandatory for status 405 (method not found) and useful for OPTIONS method requests. + // It is added to context only when Router does not find matching method handler for request. + ContextKeyHeaderAllow = "echo_header_allow" +) +``` + +## Version + +```go +const ( + // Version of Echo + Version = "5.4.7" +) +``` + +## ErrBadRequest + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrUnauthorized + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrForbidden + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrNotFound + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrMethodNotAllowed + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrRequestTimeout + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrStatusRequestEntityTooLarge + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrUnsupportedMediaType + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrTooManyRequests + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrInternalServerError + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrBadGateway + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrServiceUnavailable + +```go +var ( + ErrBadRequest = &httpError{http.StatusBadRequest} // 400 + ErrUnauthorized = &httpError{http.StatusUnauthorized} // 401 + ErrForbidden = &httpError{http.StatusForbidden} // 403 + ErrNotFound = &httpError{http.StatusNotFound} // 404 + ErrMethodNotAllowed = &httpError{http.StatusMethodNotAllowed} // 405 + ErrRequestTimeout = &httpError{http.StatusRequestTimeout} // 408 + ErrStatusRequestEntityTooLarge = &httpError{http.StatusRequestEntityTooLarge} // 413 + ErrUnsupportedMediaType = &httpError{http.StatusUnsupportedMediaType} // 415 + ErrTooManyRequests = &httpError{http.StatusTooManyRequests} // 429 + ErrInternalServerError = &httpError{http.StatusInternalServerError} // 500 + ErrBadGateway = &httpError{http.StatusBadGateway} // 502 + ErrServiceUnavailable = &httpError{http.StatusServiceUnavailable} // 503 +) +``` + +The following errors can produce HTTP status code by implementing HTTPStatusCoder interface + +## ErrValidatorNotRegistered + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrRendererNotRegistered + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidRedirectCode + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrCookieNotFound + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidCertOrKeyType + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidListenerNetwork + +```go +var ( + ErrValidatorNotRegistered = errors.New("validator not registered") + ErrRendererNotRegistered = errors.New("renderer not registered") + ErrInvalidRedirectCode = errors.New("invalid redirect status code") + + ErrCookieNotFound = errors.New("cookie not found") + ErrInvalidCertOrKeyType = errors.New("invalid cert or key type, must be string or []byte") + ErrInvalidListenerNetwork = errors.New("invalid listener network") +) +``` + +The following errors fall into 500 (InternalServerError) category + +## ErrInvalidJSONPCallback + +```go +var ErrInvalidJSONPCallback = errors.New("invalid JSONP callback") +``` + +ErrInvalidJSONPCallback is wrapped in the 400 Bad Request error that Context.JSONP and Context.JSONPBlob return when the callback is not a valid JSONP function name. See Context.JSONP. + +## ErrInvalidKeyType + +```go +var ErrInvalidKeyType = errors.New("invalid key type") +``` + +ErrInvalidKeyType is error that is returned when the value is not castable to expected type. + +## ErrNonExistentKey + +```go +var ErrNonExistentKey = errors.New("non existent key") +``` + +ErrNonExistentKey is error that is returned when key does not exist + +## BindBody + +```go +func BindBody(c *Context, target any) (err error) +``` + +BindBody binds request body contents to bindable object NB: then binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See non-MIMEMultipartForm: [https://golang.org/pkg/net/http/#Request.ParseForm](https://golang.org/pkg/net/http/#Request.ParseForm) See MIMEMultipartForm: [https://golang.org/pkg/net/http/#Request.ParseMultipartForm](https://golang.org/pkg/net/http/#Request.ParseMultipartForm) + +## BindHeaders + +```go +func BindHeaders(c *Context, target any) error +``` + +BindHeaders binds HTTP headers to a bindable object + +## BindPathValues + +```go +func BindPathValues(c *Context, target any) error +``` + +BindPathValues binds path parameter values to bindable object + +## BindQueryParams + +```go +func BindQueryParams(c *Context, target any) error +``` + +BindQueryParams binds query params to bindable object + +## ContextGet + +```go +func ContextGet[T any](c *Context, key string) (T, error) +``` + +ContextGet retrieves a value from the context store or ErrNonExistentKey error the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T. + +## ContextGetOr + +```go +func ContextGetOr[T any](c *Context, key string, defaultValue T) (T, error) +``` + +ContextGetOr retrieves a value from the context store or returns a default value when the key is missing. Returns ErrInvalidKeyType error if the value is not castable to type T. + +## DefaultHTTPErrorHandler + +```go +func DefaultHTTPErrorHandler(exposeError bool) HTTPErrorHandler +``` + +DefaultHTTPErrorHandler creates new default HTTP error handler implementation. It sends a JSON response with status code. `exposeError` parameter decides if returned message will contain also error message or not + +Note: DefaultHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately) Note: In case errors happens in middleware call-chain that is returning from handler (which did not return an error). When handler has already sent response (ala c.JSON()) and there is error in middleware that is returning from handler. Then the error that global error handler received will be ignored because we have already "committed" the response and status code header has been sent to the client. + +### Example: DefaultHTTPErrorHandler + +```go +// SPDX-License-Identifier: MIT +// SPDX-FileCopyrightText: © 2015 LabStack LLC and Echo contributors + +// run tests as external package to get real feel for API +package echo_test + +import ( + "encoding/json" + "fmt" + "github.com/labstack/echo/v5" + "net/http" + "net/http/httptest" +) + +func ExampleDefaultHTTPErrorHandler() { + e := echo.New() + e.GET("/api/endpoint", func(c *echo.Context) error { + return &apiError{ + Code: http.StatusBadRequest, + Body: map[string]any{"message": "custom error"}, + } + }) + + req := httptest.NewRequest(http.MethodGet, "/api/endpoint?err=1", nil) + resp := httptest.NewRecorder() + + e.ServeHTTP(resp, req) + + fmt.Printf("%d %s", resp.Code, resp.Body.String()) + + // Output: 400 {"error":{"message":"custom error"}} +} + +type apiError struct { + Code int + Body any +} + +func (e *apiError) StatusCode() int { + return e.Code +} + +func (e *apiError) MarshalJSON() ([]byte, error) { + type body struct { + Error any `json:"error"` + } + return json.Marshal(body{Error: e.Body}) +} + +func (e *apiError) Error() string { + return http.StatusText(e.Code) +} +``` + +Output: + +```text +400 {"error":{"message":"custom error"}} +``` + +## ExtractIPDirect + +```go +func ExtractIPDirect() IPExtractor +``` + +ExtractIPDirect extracts an IP address using an actual IP address. Use this if your server faces to internet directly (i.e.: uses no proxy). + +## ExtractIPFromRealIPHeader + +```go +func ExtractIPFromRealIPHeader(options ...TrustOption) IPExtractor +``` + +ExtractIPFromRealIPHeader extracts IP address using `x-real-ip` header. Use this if you put proxy which uses this header. + +## ExtractIPFromXFFHeader + +```go +func ExtractIPFromXFFHeader(options ...TrustOption) IPExtractor +``` + +ExtractIPFromXFFHeader extracts IP address using `x-forwarded-for` header. Use this if you put proxy which uses this header. This returns nearest untrustable IP. If all IPs are trustable, returns furthest one (i.e.: XFF\[0]). + +## ExtractSchemeDirect + +```go +func ExtractSchemeDirect() SchemeExtractor +``` + +ExtractSchemeDirect returns a SchemeExtractor that uses only the actual connection: `https` for TLS connections and `http` otherwise. Forwarding headers are ignored. Use this if your server faces the internet directly (i.e.: uses no proxy). + +## ExtractSchemeFromHeaders + +```go +func ExtractSchemeFromHeaders(options ...TrustOption) SchemeExtractor +``` + +ExtractSchemeFromHeaders returns a SchemeExtractor that uses the `X-Forwarded-Proto`, `X-Forwarded-Protocol`, `X-Forwarded-Ssl` and `X-Url-Scheme` headers only when the request comes directly from a trusted address (http.Request.RemoteAddr). For requests from other addresses the headers are ignored and the scheme of the actual connection is used. + +By default, loopback, link-local and private network addresses and unix socket peers are trusted. Use TrustOption to change this, for example TrustIPRange to trust a proxy that connects from a public address (such as a CDN or a cloud load balancer). TrustLoopback(false) also stops trusting unix socket peers. + +When `X-Forwarded-Proto` is present, the other headers are ignored, and the last value is used. The trusted proxy must therefore set (overwrite) `X-Forwarded-Proto` rather than pass through the value sent by the client. + +This is the default strategy when Echo#SchemeExtractor is not set. + +## FormFieldBinder + +```go +func FormFieldBinder(c *Context) *ValueBinder +``` + +FormFieldBinder creates form field value binder For all requests, FormFieldBinder parses the raw query from the URL and uses query params as form fields + +For POST, PUT, and PATCH requests, it also reads the request body, parses it as a form and uses query params as form fields. Request body parameters take precedence over URL query string values in r.Form. + +NB: when binding forms take note that this implementation uses standard library form parsing which parses form data from BOTH URL and BODY if content type is not MIMEMultipartForm See [https://golang.org/pkg/net/http/#Request.ParseForm](https://golang.org/pkg/net/http/#Request.ParseForm) + +## FormValue + +```go +func FormValue[T any](c *Context, key string, opts ...any) (T, error) +``` + +FormValue extracts and parses a single form value from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the form field exists but has an empty value, the zero value of type T is returned + with no error. For example, an empty form field returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +See ParseValue for supported types and options + +## FormValueOr + +```go +func FormValueOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error) +``` + +FormValueOr extracts and parses a single form value from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails or form parsing errors occur. + +Example: + + limit, err := echo.FormValueOr[int](c, "limit", 100) + // If "limit" is missing: returns (100, nil) + // If "limit" is "50": returns (50, nil) + // If "limit" is "abc": returns (100, BindingError) + +See ParseValue for supported types and options + +## FormValues + +```go +func FormValues[T any](c *Context, key string, opts ...any) ([]T, error) +``` + +FormValues extracts and parses all values for a form values key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found. + +See ParseValues for supported types and options + +## FormValuesOr + +```go +func FormValuesOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error) +``` + +FormValuesOr extracts and parses all values for a form values key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails or form parsing errors occur. + +Example: + + tags, err := echo.FormValuesOr[string](c, "tags", []string{}) + // If "tags" is missing: returns ([], nil) + // If form parsing fails: returns (nil, error) + +See ParseValues for supported types and options + +## HandlerName + +```go +func HandlerName(h HandlerFunc) string +``` + +HandlerName returns string name for given function. + +## LegacyIPExtractor + +```go +func LegacyIPExtractor() IPExtractor +``` + +LegacyIPExtractor returns an IPExtractor that derives the client IP address from common proxy headers, falling back to the request's remote address. + +Resolution order: + + 1. X-Forwarded-For: returns the first IP in the comma-separated list. If multiple values are present, only the left-most (original client) is used. Surrounding brackets (for IPv6) are stripped. + 2. X-Real-IP: used if X-Forwarded-For is absent. Surrounding brackets (for IPv6) are stripped. + 3. req.RemoteAddr: used as a fallback; the host portion is extracted via net.SplitHostPort. + +Notes: + + - No validation is performed on header values. + - This function trusts headers as-is and is therefore not safe against spoofing unless the application is behind a trusted proxy that is configured to strip/replace/modify headers correctly. + +Use ExtractIPFromXFFHeader or ExtractIPFromRealIPHeader instead of LegacyIPExtractor. + +## LegacySchemeExtractor + +```go +func LegacySchemeExtractor() SchemeExtractor +``` + +LegacySchemeExtractor returns a SchemeExtractor that uses the forwarding headers from any client. This was the behavior of Context.Scheme before the address of the client was checked. + +It is not safe against spoofing unless every request passes through a proxy that sets or removes the `X-Forwarded-Proto`, `X-Forwarded-Protocol`, `X-Forwarded-Ssl` and `X-Url-Scheme` headers. Use ExtractSchemeFromHeaders instead. + +## MustSubFS + +```go +func MustSubFS(currentFs fs.FS, fsRoot string) fs.FS +``` + +MustSubFS creates sub FS from current filesystem or panic on failure. Panic happens when `fsRoot` contains invalid path according to `fs.ValidPath` rules. + +MustSubFS is helpful when dealing with `embed.FS` because for example `//go:embed assets/images` embeds files with paths including `assets/images` as their prefix. In that case use \`fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. + +## New + +```go +func New() *Echo +``` + +New creates an instance of Echo. + +## NewBindingError + +```go +func NewBindingError(sourceParam string, values []string, message string, err error) error +``` + +NewBindingError creates new instance of binding error + +## NewConcurrentRouter + +```go +func NewConcurrentRouter(r Router) Router +``` + +NewConcurrentRouter creates concurrency safe Router which routes can be added/removed safely even after http.Server has been started. + +## NewContext + +```go +func NewContext(r *http.Request, w http.ResponseWriter, opts ...any) *Context +``` + +NewContext returns a new Context instance. + +Note: request,response and e can be left to nil as Echo.ServeHTTP will call c.Reset(req,resp) anyway these arguments are useful when creating context for tests and cases like that. + +## NewDefaultFS + +```go +func NewDefaultFS(dir string) fs.FS +``` + +NewDefaultFS returns a new defaultFS instance which allows `fs.FS.Open` to have absolute paths as input if it matches then given dir as prefix. + +## NewHTTPError + +```go +func NewHTTPError(code int, message string) *HTTPError +``` + +NewHTTPError creates a new instance of HTTPError + +## NewResponse + +```go +func NewResponse(w http.ResponseWriter, logger *slog.Logger) (r *Response) +``` + +NewResponse creates a new instance of Response. + +## NewRouter + +```go +func NewRouter(config RouterConfig) *DefaultRouter +``` + +NewRouter returns a new Router instance. + +## NewVirtualHostHandler + +```go +func NewVirtualHostHandler(vhosts map[string]*Echo) *Echo +``` + +NewVirtualHostHandler creates instance of Echo that routes requests to given virtual hosts when hosts in request does not exist in given map the request is served by returned Echo instance. + +## NewWithConfig + +```go +func NewWithConfig(config Config) *Echo +``` + +NewWithConfig creates an instance of Echo with given configuration. + +## ParseValue + +```go +func ParseValue[T any](value string, opts ...any) (T, error) +``` + +ParseValue parses value to generic type + +Types that are supported: + + - bool + - float32 + - float64 + - int + - int8 + - int16 + - int32 + - int64 + - uint + - uint8/byte + - uint16 + - uint32 + - uint64 + - string + - echo.BindUnmarshaler interface + - encoding.TextUnmarshaler interface + - json.Unmarshaler interface + - time.Duration + - time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration + +## ParseValueOr + +```go +func ParseValueOr[T any](value string, defaultValue T, opts ...any) (T, error) +``` + +ParseValueOr parses value to generic type, when value is empty defaultValue is returned. + +Types that are supported: + + - bool + - float32 + - float64 + - int + - int8 + - int16 + - int32 + - int64 + - uint + - uint8/byte + - uint16 + - uint32 + - uint64 + - string + - echo.BindUnmarshaler interface + - encoding.TextUnmarshaler interface + - json.Unmarshaler interface + - time.Duration + - time.Time use echo.TimeOpts or echo.TimeLayout to set time parsing configuration + +## ParseValues + +```go +func ParseValues[T any](values []string, opts ...any) ([]T, error) +``` + +ParseValues parses value to generic type slice. Same types are supported as ParseValue function but the result type is slice instead of scalar value. + +See ParseValue for supported types and options + +## ParseValuesOr + +```go +func ParseValuesOr[T any](values []string, defaultValue []T, opts ...any) ([]T, error) +``` + +ParseValuesOr parses value to generic type slice, when value is empty defaultValue is returned. Same types are supported as ParseValue function but the result type is slice instead of scalar value. + +See ParseValue for supported types and options + +## PathParam + +```go +func PathParam[T any](c *Context, paramName string, opts ...any) (T, error) +``` + +PathParam extracts and parses a path parameter from the context by name. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the parameter exists but has an empty value, the zero value of type T is returned + with no error. For example, a path parameter with value "" returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +See ParseValue for supported types and options + +## PathParamOr + +```go +func PathParamOr[T any](c *Context, paramName string, defaultValue T, opts ...any) (T, error) +``` + +PathParamOr extracts and parses a path parameter from the context by name. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type). + +Example: + + id, err := echo.PathParamOr[int](c, "id", 0) + // If "id" is missing: returns (0, nil) + // If "id" is "123": returns (123, nil) + // If "id" is "abc": returns (0, BindingError) + +See ParseValue for supported types and options + +## PathValuesBinder + +```go +func PathValuesBinder(c *Context) *ValueBinder +``` + +PathValuesBinder creates path parameter value binder + +## ProblemDetailsHTTPErrorHandler + +```go +func ProblemDetailsHTTPErrorHandler(exposeError bool) HTTPErrorHandler +``` + +ProblemDetailsHTTPErrorHandler creates a new HTTP error handler that converts every error into a RFC 9457 (Problem Details for HTTP APIs) response and sends it with `application/problem+json` content type. `exposeError` parameter decides if the returned problem detail will contain the underlying error message for errors that are not \*HTTPError or do not implement ProblemErrorer. + +Precedence used to build the response for a given error: + + 1. If err (or any error wrapped by it) is a \*ProblemError, it is used as-is. + 2. Else if err (or any error wrapped by it) implements ProblemErrorer, ProblemError() is used. + 3. Else a \*ProblemError is built from err's HTTPStatusCoder status code (defaulting to 500). For \*HTTPError, Detail is set to its Message, further extended with the wrapped error's message when exposeError is true. For any other error, Detail is only populated (with err.Error()) when exposeError is true. + +Any zero-value Type, Title or Status field is defaulted to "about:blank", the status text of Status, and 500 respectively. + +Note: ProblemDetailsHTTPErrorHandler does not log errors. Use middleware for it if errors need to be logged (separately). + +## QueryParam + +```go +func QueryParam[T any](c *Context, key string, opts ...any) (T, error) +``` + +QueryParam extracts and parses a single query parameter from the request by key. It returns the typed value and an error if binding fails. Returns ErrNonExistentKey if parameter not found. + +Empty String Handling: + + If the parameter exists but has an empty value (?key=), the zero value of type T is returned + with no error. For example, "?count=" returns (0, nil) for int types. + This differs from standard library behavior where parsing empty strings returns errors. + To treat empty values as errors, validate the result separately or check the raw value. + +Behavior Summary: + + - Missing key (?other=value): returns (zero, ErrNonExistentKey) + - Empty value (?key=): returns (zero, nil) + - Invalid value (?key=abc for int): returns (zero, BindingError) + +See ParseValue for supported types and options + +## QueryParamOr + +```go +func QueryParamOr[T any](c *Context, key string, defaultValue T, opts ...any) (T, error) +``` + +QueryParamOr extracts and parses a single query parameter from the request by key. Returns defaultValue if the parameter is not found or has an empty value. Returns an error only if parsing fails (e.g., "abc" for int type). + +Example: + + page, err := echo.QueryParamOr[int](c, "page", 1) + // If "page" is missing: returns (1, nil) + // If "page" is "5": returns (5, nil) + // If "page" is "abc": returns (1, BindingError) + +See ParseValue for supported types and options + +## QueryParams + +```go +func QueryParams[T any](c *Context, key string, opts ...any) ([]T, error) +``` + +QueryParams extracts and parses all values for a query parameter key as a slice. It returns the typed slice and an error if binding any value fails. Returns ErrNonExistentKey if parameter not found. + +See ParseValues for supported types and options + +## QueryParamsBinder + +```go +func QueryParamsBinder(c *Context) *ValueBinder +``` + +QueryParamsBinder creates query parameter value binder + +## QueryParamsOr + +```go +func QueryParamsOr[T any](c *Context, key string, defaultValue []T, opts ...any) ([]T, error) +``` + +QueryParamsOr extracts and parses all values for a query parameter key as a slice. Returns defaultValue if the parameter is not found. Returns an error only if parsing any value fails. + +Example: + + ids, err := echo.QueryParamsOr[int](c, "ids", []int{}) + // If "ids" is missing: returns ([], nil) + // If "ids" is "1&ids=2": returns ([1, 2], nil) + // If "ids" contains "abc": returns ([], BindingError) + +See ParseValues for supported types and options + +## ResolveResponseStatus + +```go +func ResolveResponseStatus(rw http.ResponseWriter, err error) (resp *Response, status int) +``` + +ResolveResponseStatus returns the Response and HTTP status code that should be (or has been) sent for rw, given an optional error. + +This function is useful for middleware and handlers that need to figure out the HTTP status code to return based on the error that occurred or what was set in the response. + +Precedence rules: + + 1. If the response has already been committed, the committed status wins (err is ignored). + 2. Otherwise, start with 200 OK (net/http default if WriteHeader is never called). + 3. If the response has a non-zero suggested status, use it. + 4. If err != nil, it overrides the suggested status: - StatusCode(err) if non-zero - otherwise 500 Internal Server Error. + +## StaticDirectoryHandler + +```go +func StaticDirectoryHandler(fileSystem fs.FS, disablePathUnescaping bool) HandlerFunc +``` + +StaticDirectoryHandler creates handler function to serve files from provided file system When disablePathUnescaping is set then file name from path is not unescaped and is served as is. + +Note: when disablePathUnescaping=false, the handler decodes the wildcard param before serving. If route guards (e.g. e.GET("/admin/\*", forbidden)) are used to restrict parts of the filesystem, an encoded separator (%2F) or encoded dot-dot (%2E%2E) in the URL can resolve to a path that the router never matched against the guard route. Enabling RouterConfig.UseEscapedPathForMatching does NOT fix this — it changes which path the router uses for matching but still lets path.Clean resolve ".." segments into a guarded directory. Do not rely on route guards alone to restrict a filesystem served by this handler. See [https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq](https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq) + +## StaticFileHandler + +```go +func StaticFileHandler(file string, filesystem fs.FS) HandlerFunc +``` + +StaticFileHandler creates handler function to serve file from provided file system. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## StatusCode + +```go +func StatusCode(err error) int +``` + +StatusCode returns status code from err if it implements HTTPStatusCoder interface. If err does not implement the interface, it returns 0. + +## TrustIPRange + +```go +func TrustIPRange(ipRange *net.IPNet) TrustOption +``` + +TrustIPRange add trustable IP ranges using CIDR notation. + +## TrustLinkLocal + +```go +func TrustLinkLocal(v bool) TrustOption +``` + +TrustLinkLocal configures if you trust link-local address (default: true). + +## TrustLoopback + +```go +func TrustLoopback(v bool) TrustOption +``` + +TrustLoopback configures if you trust loopback address (default: true). + +## TrustPrivateNet + +```go +func TrustPrivateNet(v bool) TrustOption +``` + +TrustPrivateNet configures if you trust private network address (default: true). + +## UnwrapResponse + +```go +func UnwrapResponse(rw http.ResponseWriter) (*Response, error) +``` + +UnwrapResponse unwraps given ResponseWriter to return contexts original Echo Response. rw has to implement following method `Unwrap() http.ResponseWriter` + +## WrapHandler + +```go +func WrapHandler(h http.Handler) HandlerFunc +``` + +WrapHandler wraps `http.Handler` into `echo.HandlerFunc`. + +## WrapMiddleware + +```go +func WrapMiddleware(m func(http.Handler) http.Handler) MiddlewareFunc +``` + +WrapMiddleware wraps `func(http.Handler) http.Handler` into `echo.MiddlewareFunc` + +## AddRouteError + +```go +type AddRouteError struct { + Err error + Method string + Path string +} +``` + +AddRouteError is error returned by Router.Add containing information what actual route adding failed. Useful for mass adding (i.e. Match() routes) + +- `Err: error`: +- `Method: string`: +- `Path: string`: + +## Error + +```go +func (e *AddRouteError) Error() string +``` + +## Unwrap + +```go +func (e *AddRouteError) Unwrap() error +``` + +## BindUnmarshaler + +```go +type BindUnmarshaler interface { + // UnmarshalParam decodes and assigns a value from an form or query param. + UnmarshalParam(param string) error +} +``` + +BindUnmarshaler is the interface used to wrap the UnmarshalParam method. Types that don't implement this, but do implement encoding.TextUnmarshaler will use that interface instead. + +- `UnmarshalParam: func(param string) error`: UnmarshalParam decodes and assigns a value from an form or query param. + +## Binder + +```go +type Binder interface { + Bind(c *Context, target any) error +} +``` + +Binder is the interface that wraps the Bind method. + +- `Bind: func(c *Context, target any) error`: + +## BindingError + +```go +type BindingError struct { + // Field is the field name where value binding failed + Field string `json:"field"` + *HTTPError + // Values of parameter that failed to bind. + Values []string `json:"-"` +} +``` + +BindingError represents an error that occurred while binding request data. + +Note: JSON serialization is handled by the MarshalJSON method below, not by the struct tags (which are kept for documentation). MarshalJSON emits {"field","message"}. + +- `Field: string` (json:"field"): Field is the field name where value binding failed +- `*HTTPError: *HTTPError`: +- `Values: []string` (json:"-"): Values of parameter that failed to bind. + +## Error + +```go +func (be *BindingError) Error() string +``` + +Error returns error message + +## MarshalJSON + +```go +func (be *BindingError) MarshalJSON() ([]byte, error) +``` + +MarshalJSON implements json.Marshaler so that binding errors are serialized into a structured response (e.g. {"field":"id","message":"..."}) rather than being flattened to a generic message. DefaultHTTPErrorHandler routes errors that implement json.Marshaler through their own encoding. + +## Config + +```go +type Config struct { + // Logger is the slog logger instance used for application-wide structured logging. + // If not set, a default TextHandler writing to stdout is created. + Logger *slog.Logger + + // HTTPErrorHandler is the centralized error handler that processes errors returned + // by handlers and middleware, converting them to appropriate HTTP responses. + // If not set, DefaultHTTPErrorHandler(false) is used. + HTTPErrorHandler HTTPErrorHandler + + // Router is the HTTP request router responsible for matching URLs to handlers + // using a radix tree-based algorithm. + // If not set, NewRouter(RouterConfig{}) is used. + Router Router + + // OnAddRoute is an optional callback hook executed when routes are registered. + // Useful for route validation, logging, or custom route processing. + // If not set, no callback is executed. + OnAddRoute func(route Route) error + + // Filesystem is the fs.FS implementation used for serving static files. + // Supports os.DirFS, embed.FS, and custom implementations. + // If not set, defaults to current working directory. + Filesystem fs.FS + + // Binder handles automatic data binding from HTTP requests to Go structs. + // Supports JSON, XML, form data, query parameters, and path parameters. + // If not set, DefaultBinder is used. + Binder Binder + + // Validator provides optional struct validation after data binding. + // Commonly used with third-party validation libraries. + // If not set, Context.Validate() returns ErrValidatorNotRegistered. + Validator Validator + + // Renderer provides template rendering for generating HTML responses. + // Requires integration with a template engine like html/template. + // If not set, Context.Render() returns ErrRendererNotRegistered. + Renderer Renderer + + // JSONSerializer handles JSON encoding and decoding for HTTP requests/responses. + // Can be replaced with faster alternatives like jsoniter or sonic. + // If not set, DefaultJSONSerializer using encoding/json is used. + JSONSerializer JSONSerializer + + // IPExtractor defines the strategy for extracting the real client IP address + // from requests, particularly important when behind proxies or load balancers. + // Used for rate limiting, access control, and logging. + // If not set, the address of the direct peer (http.Request.RemoteAddr) is used. + IPExtractor IPExtractor + + // SchemeExtractor defines the strategy for determining the request scheme (`http` or `https`), + // particularly important when behind proxies or load balancers that terminate TLS. + // Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares. + // If not set, forwarding headers such as `X-Forwarded-Proto` are trusted only from loopback, link-local and + // private network addresses and unix sockets. See ExtractSchemeFromHeaders. + SchemeExtractor SchemeExtractor + + // FormParseMaxMemory is default value for memory limit that is used + // when parsing multipart forms (See (*http.Request).ParseMultipartForm) + FormParseMaxMemory int64 + + // EnablePathUnescapingStaticFiles enables path parameter (param: *) unescaping for static file methods. + // Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded, + // preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/* route guard by + // not matching that route but having its wildcard param decoded to admin/private.txt. + // Set to true only when serving files whose names contain URL-encoded characters + // (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on + // route-based ACL guards to restrict access. + // If you are enabling this option, make sure you understand the security implications. + // See: https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq + // + // Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when + // using different Routes to exclude some of the files from being served. + // e.g. if you serve files from directory as such and use different route to exclude some of the files from being served. + // 0. given folder structure: + // public/ + // public/index.html + // public/admin/private.txt + // 1. share `public/` folder contents from the server root with `e.Static("/", "public")` + // 2. naively assume that everything under /admin folder is now forbidden + // e.GET("/admin/*", func(c *Context) error { return echo.ErrForbidden }) + // Then request to `/assets/../admin%2fprivate.txt` will be served as router does not match it to guarded route. + // + // Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS. + EnablePathUnescapingStaticFiles bool + + // NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically + // when there are middlewares registered with the group. + // Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed + // as expected. For example - CORS middleware. + NoGroupAutoRegister404Routes bool +} +``` + +Config is configuration for NewWithConfig function + +- `Logger: *slog.Logger`: Logger is the slog logger instance used for application-wide structured logging. If not set, a default TextHandler writing to stdout is created. +- `HTTPErrorHandler: HTTPErrorHandler`: HTTPErrorHandler is the centralized error handler that processes errors returned by handlers and middleware, converting them to appropriate HTTP responses. If not set, DefaultHTTPErrorHandler(false) is used. +- `Router: Router`: Router is the HTTP request router responsible for matching URLs to handlers using a radix tree-based algorithm. If not set, NewRouter(RouterConfig{}) is used. +- `OnAddRoute: func(route Route) error`: OnAddRoute is an optional callback hook executed when routes are registered. Useful for route validation, logging, or custom route processing. If not set, no callback is executed. +- `Filesystem: fs.FS`: Filesystem is the fs.FS implementation used for serving static files. Supports os.DirFS, embed.FS, and custom implementations. If not set, defaults to current working directory. +- `Binder: Binder`: Binder handles automatic data binding from HTTP requests to Go structs. Supports JSON, XML, form data, query parameters, and path parameters. If not set, DefaultBinder is used. +- `Validator: Validator`: Validator provides optional struct validation after data binding. Commonly used with third-party validation libraries. If not set, Context.Validate() returns ErrValidatorNotRegistered. +- `Renderer: Renderer`: Renderer provides template rendering for generating HTML responses. Requires integration with a template engine like html/template. If not set, Context.Render() returns ErrRendererNotRegistered. +- `JSONSerializer: JSONSerializer`: JSONSerializer handles JSON encoding and decoding for HTTP requests/responses. Can be replaced with faster alternatives like jsoniter or sonic. If not set, DefaultJSONSerializer using encoding/json is used. +- `IPExtractor: IPExtractor`: IPExtractor defines the strategy for extracting the real client IP address from requests, particularly important when behind proxies or load balancers. Used for rate limiting, access control, and logging. If not set, the address of the direct peer (http.Request.RemoteAddr) is used. +- `SchemeExtractor: SchemeExtractor`: SchemeExtractor defines the strategy for determining the request scheme (`http` or `https`), particularly important when behind proxies or load balancers that terminate TLS. Used by Context.Scheme and by the HTTPS redirect, Secure and Proxy middlewares. If not set, forwarding headers such as `X-Forwarded-Proto` are trusted only from loopback, link-local and private network addresses and unix sockets. See ExtractSchemeFromHeaders. +- `FormParseMaxMemory: int64`: FormParseMaxMemory is default value for memory limit that is used when parsing multipart forms (See (\*http.Request).ParseMultipartForm) +- `EnablePathUnescapingStaticFiles: bool`: EnablePathUnescapingStaticFiles enables path parameter (param: \*) unescaping for static file methods. Default false (safe): encoded slashes (%2f) in the wildcard param are NOT decoded, preventing ACL bypass where /admin%2fprivate.txt bypasses a /admin/\* route guard by not matching that route but having its wildcard param decoded to admin/private.txt. Set to true only when serving files whose names contain URL-encoded characters (e.g. "hello world.txt" via /hello%20world.txt) and you are not relying on route-based ACL guards to restrict access. If you are enabling this option, make sure you understand the security implications. See: [https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq](https://github.com/labstack/echo/security/advisories/GHSA-vfp3-v2gw-7wfq) + +Enabling RouterConfig.UseEscapedPathForMatching makes this field irrelevant and can lead to security issues when using different Routes to exclude some of the files from being served. e.g. if you serve files from directory as such and use different route to exclude some of the files from being served. + + 0. given folder structure: public/ public/index.html public/admin/private.txt + 1. share `public/` folder contents from the server root with `e.Static("/", "public")` + 2. naively assume that everything under /admin folder is now forbidden e.GET("/admin/\*", func(c \*Context) error { return echo.ErrForbidden }) + +Then request to `/assets/../admin%2fprivate.txt` will be served as router does not match it to guarded route. + +Applies to methods: Echo.Static, Echo.StaticFS, Group.Static, Group.StaticFS. +- `NoGroupAutoRegister404Routes: bool`: NoGroupAutoRegister404Routes bool is a flag that indicates whether echo.Group should NOT register 404 routes automatically when there are middlewares registered with the group. Note: if you decide not to register 404 routes automatically, make sure to check if all your middlewares are executed as expected. For example - CORS middleware. + +## Context + +```go +type Context struct { + // contains filtered or unexported fields +} +``` + +Context represents the context of the current HTTP request. It holds request and response objects, path, path parameters, data and registered handler. + +## Attachment + +```go +func (c *Context) Attachment(file, name string) error +``` + +Attachment sends a response as attachment, prompting client to save the file. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## Bind + +```go +func (c *Context) Bind(i any) error +``` + +Bind binds path params, query params and the request body into provided type `i`. The default binder binds body based on Content-Type header. + +## Blob + +```go +func (c *Context) Blob(code int, contentType string, b []byte) (err error) +``` + +Blob sends a blob response with status code and content type. + +## Cookie + +```go +func (c *Context) Cookie(name string) (*http.Cookie, error) +``` + +Cookie returns the named cookie provided in the request. + +## Cookies + +```go +func (c *Context) Cookies() []*http.Cookie +``` + +Cookies returns the HTTP cookies sent with the request. + +## Echo + +```go +func (c *Context) Echo() *Echo +``` + +Echo returns the `Echo` instance. + +## File + +```go +func (c *Context) File(file string) error +``` + +File sends a response with the content of the file. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## FileFS + +```go +func (c *Context) FileFS(file string, filesystem fs.FS) error +``` + +FileFS serves file from given file system. + +When dealing with `embed.FS` use `fs := echo.MustSubFS(fs, "rootDirectory") to create sub fs which uses necessary prefix for directory path. This is necessary as `//go:embed assets/images` embeds files with paths including `assets/images\` as their prefix. + +## FormFile + +```go +func (c *Context) FormFile(name string) (*multipart.FileHeader, error) +``` + +FormFile returns the multipart form file for the provided name. + +## FormValue + +```go +func (c *Context) FormValue(name string) string +``` + +FormValue returns the form field value for the provided name. + +## FormValueOr + +```go +func (c *Context) FormValueOr(name, defaultValue string) string +``` + +FormValueOr returns the form field value or default value for the provided name. Note: FormValueOr does not distinguish if form had no value by that name or value was empty string + +## FormValues + +```go +func (c *Context) FormValues() (url.Values, error) +``` + +FormValues returns the form field values as `url.Values`. + +## Get + +```go +func (c *Context) Get(key string) any +``` + +Get retrieves data from the context. Method returns any(nil) when key does not exist which is different from typed nil (eg. \[]byte(nil)). + +## HTML + +```go +func (c *Context) HTML(code int, html string) (err error) +``` + +HTML sends an HTTP response with status code. + +## HTMLBlob + +```go +func (c *Context) HTMLBlob(code int, b []byte) (err error) +``` + +HTMLBlob sends an HTTP blob response with status code. + +## InitializeRoute + +```go +func (c *Context) InitializeRoute(ri *RouteInfo, pathValues *PathValues) +``` + +InitializeRoute sets the route related variables of this request to the context. + +## Inline + +```go +func (c *Context) Inline(file, name string) error +``` + +Inline sends a response as inline, opening the file in the browser. + +Avoid using the leading `/` slash as most of the Go standard library fs.FS implementations require relative paths for file operations. + +## IsTLS + +```go +func (c *Context) IsTLS() bool +``` + +IsTLS returns true if HTTP connection is TLS otherwise false. + +## IsWebSocket + +```go +func (c *Context) IsWebSocket() bool +``` + +IsWebSocket returns true if HTTP connection is WebSocket otherwise false. + +## JSON + +```go +func (c *Context) JSON(code int, i any) (err error) +``` + +JSON sends a JSON response with status code. + +## JSONBlob + +```go +func (c *Context) JSONBlob(code int, b []byte) (err error) +``` + +JSONBlob sends a JSON blob response with status code. + +## JSONP + +```go +func (c *Context) JSONP(code int, callback string, i any) (err error) +``` + +JSONP sends a JSONP response with status code. It uses `callback` to construct the JSONP payload. + +The callback must be empty, a JavaScript identifier or a dot-separated path of identifiers using only ASCII letters, digits, `_` and `$`. Otherwise nothing is written and a 400 Bad Request error wrapping ErrInvalidJSONPCallback is returned. The response has the `X-Content-Type-Options: nosniff` header. + +Any website can load a JSONP response with a \
Get started

Quickstart

Install Echo v5, run your first Hello World server, and learn the core concepts — Echo instance, routes, handlers, Start.

Echo v5 requires Go 1.25 or higher. If you need to install or upgrade Go, visit the official Go download page.

+

Install

Create a new directory for your project, initialize Go modules, then install Echo:

+
+
+
go mod init myapp
+go get github.com/labstack/echo/v5
+

Hello, World!

+
+
package main
+
+import (
+	"log/slog"
+	"net/http"
+
+	"github.com/labstack/echo/v5"
+	"github.com/labstack/echo/v5/middleware"
+)
+
+func main() {
+	e := echo.New()
+
+	e.Use(middleware.RequestLogger()) // log requests with log/slog
+	e.Use(middleware.Recover())       // recover from panics and return an error
+
+	e.GET("/", hello)
+
+	if err := e.Start(":8080"); err != nil {
+		slog.Error("failed to start server", "error", err)
+	}
+}
+
+func hello(c *echo.Context) error {
+	return c.String(http.StatusOK, "Hello, World!")
+}
+

Run it and send a request:

+
+
+
$ go run .
+$ curl http://localhost:8080/
+Hello, World!
+

e.Start shuts the server down gracefully on Ctrl+C.

+

Core concepts

This simple server introduces the core concepts of Echo:

+
    +
  • Echo instance — echo.New() creates the application. echo.NewWithConfig takes a Config to tune it (see Config in the Go API).
  • +
  • Routes — e.GET, e.POST, e.PUT, e.DELETE, and friends register handlers for a method + path. Paths support parameters (:id) and wildcards (*) — see Routing and context.
  • +
  • Handlers — in v5 a handler takes *echo.Context (a pointer to the concrete Context struct) and returns an error. c.String, c.JSON, c.HTML, and c.File write the response — see Context and responses.
  • +
  • Middleware — e.Use registers handlers that run after routing; e.Pre registers handlers that run before routing — see Middleware.
  • +
  • Start — e.Start(":8080") starts the server. It returns only errors that are not http.ErrServerClosed, so a graceful shutdown on Ctrl+C is not an error.
  • +
+

Next steps

+
Echo is MIT licensed. Documented version: labstack/echo @ 59aacdd (20 Nov 2026, v5.4.7).Docs by Sourcey
\ No newline at end of file diff --git a/site/public/sourcey/quickstart.md b/site/public/sourcey/quickstart.md new file mode 100644 index 00000000..390f8229 --- /dev/null +++ b/site/public/sourcey/quickstart.md @@ -0,0 +1,78 @@ +# Quickstart {#quickstart} + + +Echo v5 requires **Go 1.25 or higher**. If you need to install or upgrade Go, visit the [official Go download page](https://go.dev/dl/). + + +## Install {#install} + + +Create a new directory for your project, initialize Go modules, then install Echo: + +```bash +go mod init myapp +go get github.com/labstack/echo/v5 +``` + + +## Hello, World! {#hello-world} + + +```go +package main + +import ( + "log/slog" + "net/http" + + "github.com/labstack/echo/v5" + "github.com/labstack/echo/v5/middleware" +) + +func main() { + e := echo.New() + + e.Use(middleware.RequestLogger()) // log requests with log/slog + e.Use(middleware.Recover()) // recover from panics and return an error + + e.GET("/", hello) + + if err := e.Start(":8080"); err != nil { + slog.Error("failed to start server", "error", err) + } +} + +func hello(c *echo.Context) error { + return c.String(http.StatusOK, "Hello, World!") +} +``` + +Run it and send a request: + +```console +$ go run . +$ curl http://localhost:8080/ +Hello, World! +``` + +`e.Start` shuts the server down gracefully on Ctrl+C. + + +## Core concepts {#core-concepts} + + +This simple server introduces the core concepts of Echo: + +- **Echo instance** — `echo.New()` creates the application. `echo.NewWithConfig` takes a `Config` to tune it (see `Config` in the [Go API](https://echo.labstack.com/sourcey/api.md)). +- **Routes** — `e.GET`, `e.POST`, `e.PUT`, `e.DELETE`, and friends register handlers for a method + path. Paths support parameters (`:id`) and wildcards (`*`) — see [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md). +- **Handlers** — in v5 a handler takes `*echo.Context` (a pointer to the concrete `Context` struct) and returns an `error`. `c.String`, `c.JSON`, `c.HTML`, and `c.File` write the response — see [Context and responses](https://echo.labstack.com/sourcey/guides/context-responses.md). +- **Middleware** — `e.Use` registers handlers that run after routing; `e.Pre` registers handlers that run before routing — see [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md). +- **Start** — `e.Start(":8080")` starts the server. It returns only errors that are not `http.ErrServerClosed`, so a graceful shutdown on Ctrl+C is not an error. + + +## Next steps {#next-steps} + + +- [Routing and context](https://echo.labstack.com/sourcey/guides/routing-context.md) — parameters, wildcards, groups, route info. +- [Middleware](https://echo.labstack.com/sourcey/guides/middleware.md) — the `Pre`/`Use` split, RequestLogger, Recover. +- [Binding and error handling](https://echo.labstack.com/sourcey/guides/binding-error-handling.md) — binding request data, custom error responses. diff --git a/site/public/sourcey/receipt.json b/site/public/sourcey/receipt.json new file mode 100644 index 00000000..924edc9d --- /dev/null +++ b/site/public/sourcey/receipt.json @@ -0,0 +1 @@ +{"schema":"runx.receipt.v1","id":"sha256:d97f2fca166b28608e7427a668e46fbe53799e4f0c0088a225dc1161cc7da678","created_at":"2026-11-27T04:33:59.471Z","canonicalization":"runx.receipt.c14n.v1","issuer":{"type":"local","kid":"local-d812be6a69acb62126569f2868ada2e07f02f78873462e2ebe11b13eba66a1df","public_key_digest":"sha256:d812be6a69acb62126569f2868ada2e07f02f78873462e2ebe11b13eba66a1df","runx_version":"0.11.1"},"signature":{"alg":"Ed25519","value":"base64:WAK5GLPfHlqAqn4U2iwGIJZgUCSeOtuoOHNpISs9ip_vv2G_ClLJabVCZHCz1cexsqs9egxIkXKY9rGv03KiDQ"},"digest":"sha256:d03970525aa7045772ffb0fa7c50d4a15ce07e45d46a55e55693d7d5eb611a35","subject":{"kind":"graph","ref":{"type":"run","uri":"runx:run:run_sourcey-echo-build_01a21b47f7f7c5e0f41a3e2c","label":"sourcey-echo-build"},"outcome_digest":"sha256:ac57b69c991c090ba8d05e17186fce4a484281419de11c4c365656edfa042f5f"},"authority":{"grant_refs":[],"scope_refs":[],"terms":[],"derivations":[],"enforcement":{}},"decisions":[],"acts":[],"seal":{"outcome":"completed","criteria":[]},"lineage":{"children":[{"type":"receipt","uri":"runx:receipt:sha256:92bb7efd18d6054929caba4ee46b8ee7fa7e3338636368f9a5c5ee75dbbbf25a","locator":"sha256:b460c1a2c4b0b86105a4ba2df7669613f03fa07d5f4639715e25bddd5cac7d25"}]}} \ No newline at end of file diff --git a/site/public/sourcey/report.md b/site/public/sourcey/report.md new file mode 100644 index 00000000..c92fa5c3 --- /dev/null +++ b/site/public/sourcey/report.md @@ -0,0 +1,65 @@ +# Echo API reference — maintainer report + +Sourcey documentation site for the `github.com/labstack/echo/v5` Go package, +generated from the pinned source commit +`59aacddc4a13904b8a80a76f1ec838c495b5feca` (20 Nov 2026, release v5.4.7, MIT). +Built with Sourcey 3.9.5 using the godoc adapter in snapshot mode: +a `godoc.json` snapshot of the root package (**424 public API symbols**) +plus an overview, a quickstart, and five guides condensed from the +project's own README at the pinned commit. The static site has 10 pages. + +Intended public URL (pending merge of the docs PR into `labstack/echox`): +`https://echo.labstack.com/sourcey/` + +## What this documents + +- The full root-package API: 38 types, 55 package-level functions, + 232 methods, 78 constants, 21 variables — including `Echo`, `Context`, + `Config`, `Router`, `DefaultRouter`, `Group`, `RouteInfo`, `DefaultBinder`, + `HTTPError`, `ProblemDetailsHTTPErrorHandler`, and the generic + `ContextGet` / `ContextGetOr` helpers. +- Guides: routing and context, middleware (`Pre`/`Use`, RequestLogger, + Recover), binding and error handling, context and responses, and the + v4 → v5 migration (including the `Context` interface → struct change). + +## Gaps this reference exposes (maintainer-facing) + +1. **No generated API reference on echo.labstack.com.** The official docs are + hand-written guides; the complete 424-symbol root-package reference with + per-symbol source links at a pinned commit exists only on pkg.go.dev, + outside the docs site's navigation. This Sourcey site closes that gap. +2. **The live docs site lags the current release.** The site header reads + "Release docs · Echo v5.4.4", but v5.4.7 shipped on 20 Nov 2026 — three + patch versions behind, and v5.4.7 is a security release (three GHSA fixes: + proxy dot-segment resolution, static-prefix guard bypass, and the + `middleware.Static` group-guard limitation). Readers of the docs see + pre-fix behavior with no signal that a newer release exists. The docs + deploy (weekly rebuild + push-to-master in `echox`) should track releases, + or the header should link the changelog. +3. **No changelog page on the docs site.** `https://echo.labstack.com/guide/changelog/` + returns 404. `CHANGELOG.md` exists in the repo and documents every release, + but it is not published as a docs page — users cannot see what changed per + release from the docs themselves. +4. **Per-API allocation and reuse behavior is undocumented.** `Echo` pools + `Context` values (`AcquireContext` / `ReleaseContext`), and several + response helpers commit or flush at different points, but no symbol + documents which calls allocate, copy, or return reused buffers. Callers + discover this only by reading source or by getting bitten. +5. **Middleware ordering and guard rules have no central page.** The `Pre` + vs `Use` split is described, but the interaction of group-scoped `Use` + with route matching — and the fact that `middleware.Static` attached with + `Group.Use` is not protected by guards on routes inside the group + (GHSA-5hp7-4fcm-57f9) — is documented only in a security advisory, never + as a guide rule. +6. **Binder error taxonomy has no central page.** `BindError`, + `BindingError`, and validator errors each surface differently, and the + v5.4.7 map-binding behavior change (non-string map values now error + instead of being skipped) has no guide explaining which failures each + error type covers. +7. **Subpackages are not covered.** This reference covers the root package + only. `middleware/*` and the new `echotest` test helpers have no API + reference pages here — the same coverage boundary as the guides. +8. **No per-release API diff.** The docs site versions its guides, but there + is no generated changelog mapping which symbols were added, changed, or + removed per release — the v5 migration guide lists the big breaks, but + minor-version additions are invisible. diff --git a/site/public/sourcey/response-headers.json b/site/public/sourcey/response-headers.json new file mode 100644 index 00000000..9c4e830f --- /dev/null +++ b/site/public/sourcey/response-headers.json @@ -0,0 +1,77 @@ +{ + "/sourcey/index.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/quickstart.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/guides/routing-context.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/guides/middleware.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/guides/binding-error-handling.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/guides/context-responses.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/guides/migration-v4-v5.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/api/package-root.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/api.md": { + "Content-Type": "text/markdown; charset=utf-8", + "Link": "; rel=\"canonical\", ; rel=\"describedby\"" + }, + "/sourcey/documents.json": { + "Content-Type": "application/json; charset=utf-8" + }, + "/sourcey/llms.txt": { + "Content-Type": "text/plain; charset=utf-8" + }, + "/sourcey/llms-full.txt": { + "Content-Type": "text/plain; charset=utf-8" + }, + "/sourcey/": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/quickstart.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/guides/routing-context.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/guides/middleware.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/guides/binding-error-handling.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/guides/context-responses.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/guides/migration-v4-v5.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/api/package-root.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/api.html": { + "Link": "; rel=\"alternate\"; type=\"text/markdown\", ; rel=\"describedby\"; type=\"text/plain\"" + }, + "/sourcey/404.html": { + "Link": "; rel=\"describedby\"; type=\"text/plain\"" + } +} diff --git a/site/public/sourcey/sitemap.xml b/site/public/sourcey/sitemap.xml new file mode 100644 index 00000000..5740186b --- /dev/null +++ b/site/public/sourcey/sitemap.xml @@ -0,0 +1,12 @@ + + + https://echo.labstack.com/sourcey/ + https://echo.labstack.com/sourcey/quickstart.html + https://echo.labstack.com/sourcey/guides/routing-context.html + https://echo.labstack.com/sourcey/guides/middleware.html + https://echo.labstack.com/sourcey/guides/binding-error-handling.html + https://echo.labstack.com/sourcey/guides/context-responses.html + https://echo.labstack.com/sourcey/guides/migration-v4-v5.html + https://echo.labstack.com/sourcey/api/package-root.html + https://echo.labstack.com/sourcey/api.html + \ No newline at end of file