mirror of
https://github.com/gofiber/fiber.git
synced 2025-02-23 07:24:04 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
6374c711e7
10
.github/README.md
vendored
10
.github/README.md
vendored
@ -531,12 +531,12 @@ If you want to say **thank you** and/or support the active development of `Fiber
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -554,6 +554,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_ar_SA.md
vendored
10
.github/README_ar_SA.md
vendored
@ -596,12 +596,12 @@ func main() {
|
||||
Fiber هو مشروع مفتوح المصدر يعمل على التبرعات لدفع الفواتير ، على سبيل المثال اسم النطاق الخاص بنا , gitbook, netlify and serverless الاستضافة. إذا كنت تريد دعم Fiber, تستطيع ☕ [**شراء كوب قهوة هنا**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | المستخدم | التبرع |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :----- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -619,6 +619,10 @@ Fiber هو مشروع مفتوح المصدر يعمل على التبرعات
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ رخصة
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` هو برنامج مجاني ومفتوح المصدر مرخص بموجب [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). تم إنشاء الشعار الرسمي من قبل [Vic Shóstak](https://github.com/koddr) ووزعت تحت [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) رخصة (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_de.md
vendored
10
.github/README_de.md
vendored
@ -527,12 +527,12 @@ Falls du **danke** sagen möchtest und/oder aktiv die Entwicklung von `fiber` f
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -550,6 +550,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_es.md
vendored
10
.github/README_es.md
vendored
@ -527,12 +527,12 @@ Si quiere **agradecer** y/o apoyar el desarrollo activo de `Fiber`:
|
||||
Fiber es un proyecto open source que se mantiene a través de donaciones para pagar las cuentas e.g. nuestro nombre de dominio, gitbook, netlify y hosting serverless. Si quieres apoyar a Fiber, puedes ☕ [**comprar un café**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -550,6 +550,10 @@ Fiber es un proyecto open source que se mantiene a través de donaciones para pa
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ Licencia
|
||||
|
||||
Copyright (c) 2019-presente [Fenny](https://github.com/fenny) y [contribuyentes](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` es software libre y de código abierto bajo la licencia [MIT](https://github.com/gofiber/fiber/blob/master/LICENSE). El logo oficial fué creado por [Vic Shóstak](https://github.com/koddr) y distribuido bajo la licencia [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_fr.md
vendored
10
.github/README_fr.md
vendored
@ -527,12 +527,12 @@ Si vous voulez nous remercier et/ou soutenir le développement actif de `Fiber`:
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -550,6 +550,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
13
.github/README_he.md
vendored
13
.github/README_he.md
vendored
@ -672,12 +672,12 @@ Fiber היא פרויקט קוד פתוח שתשלום חשובונתיו מסת
|
||||
</div>
|
||||
|
||||
| | משתמש | תרומה |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :---- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :---- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -701,6 +701,13 @@ Fiber היא פרויקט קוד פתוח שתשלום חשובונתיו מסת
|
||||
|
||||
<div dir="rtl">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
</div>
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
<div dir="rtl">
|
||||
|
||||
## ⚠️ רישיון
|
||||
</div>
|
||||
|
||||
|
10
.github/README_id.md
vendored
10
.github/README_id.md
vendored
@ -529,12 +529,12 @@ Apabila anda ingin mengucapkan **terima kasih** dan/atau mendukung pengembangan
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -552,6 +552,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_ja.md
vendored
10
.github/README_ja.md
vendored
@ -530,12 +530,12 @@ This is a list of middlewares that are created by the Fiber community, please cr
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -553,6 +553,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_ko.md
vendored
10
.github/README_ko.md
vendored
@ -532,12 +532,12 @@ This is a list of middlewares that are created by the Fiber community, please cr
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -555,6 +555,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_nl.md
vendored
10
.github/README_nl.md
vendored
@ -531,12 +531,12 @@ Om de actieve ontwikkelingen van `Fiber` te ondersteunen of om een **bedankje**
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -554,6 +554,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_pt.md
vendored
10
.github/README_pt.md
vendored
@ -527,12 +527,12 @@ Se você quer **agradecer** e/ou apoiar o desenvolvimento ativo do `Fiber`:
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -550,6 +550,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_ru.md
vendored
10
.github/README_ru.md
vendored
@ -532,12 +532,12 @@ Fiber — это проект с открытым исходным кодом,
|
||||
Если вы хотите поддержать, то ☕ [**купите чашку кофе**](https://buymeacoff.ee/fenny).
|
||||
|
||||
| | Пользователи | Пожертвования |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------------ |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -555,6 +555,10 @@ Fiber — это проект с открытым исходным кодом,
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_tr.md
vendored
10
.github/README_tr.md
vendored
@ -527,12 +527,12 @@ Eğer **teşekkür etmek** ve/veya `Fiber`'in aktif geliştirilmesini desteklem
|
||||
Fiber, alan adı, gitbook, netlify, serverless yer sağlayıcısı giderleri ve benzeri şeyleri ödemek için bağışlarla yaşayan bir açık kaynaklı projedir. Eğer Fiber'e destek olmak isterseniz, ☕ [**buradan kahve ısmarlayabilirsiniz.**](https://buymeacoff.ee/fenny)
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -550,6 +550,10 @@ Fiber, alan adı, gitbook, netlify, serverless yer sağlayıcısı giderleri ve
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ Lisans
|
||||
|
||||
Telif (c) 2019-günümüz [Fenny](https://github.com/fenny) ve [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber`, [MIT Lisansı](https://github.com/gofiber/fiber/blob/master/LICENSE) altında özgür ve açık kaynaklı bir yazılımdır. Resmi logosu [Vic Shóstak](https://github.com/koddr) tarafında tasarlanmıştır ve [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) lisansı altında dağıtımı yapılır. (CC BY-SA 4.0 International).
|
||||
|
10
.github/README_zh-CN.md
vendored
10
.github/README_zh-CN.md
vendored
@ -530,12 +530,12 @@ This is a list of middlewares that are created by the Fiber community, please cr
|
||||
Fiber is an open source project that runs on donations to pay the bills e.g. our domain name, gitbook, netlify and serverless hosting. If you want to support Fiber, you can ☕ [**buy a coffee here**](https://buymeacoff.ee/fenny)
|
||||
|
||||
| | User | Donation |
|
||||
| :---------------------------------------------------------- | :---------------------------------------------- | :------- |
|
||||
| :---------------------------------------------------------- | :----------------------------------------------- | :------- |
|
||||
|  | [@thomasvvugt](https://github.com/thomasvvugt) | ☕ x 5 |
|
||||
|  | [@hendratommy](https://github.com/hendratommy) | ☕ x 5 |
|
||||
|  | [@ekaputra07](https://github.com/ekaputra07) | ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes)| ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales)| ☕ x 5 |
|
||||
|  | [@jorgefuertes](https://github.com/jorgefuertes) | ☕ x 5 |
|
||||
|  | [@candidosales](https://github.com/candidosales) | ☕ x 5 |
|
||||
|  | [@l0nax](https://github.com/l0nax) | ☕ x 3 |
|
||||
|  | [@ankush](https://github.com/ankush) | ☕ x 3 |
|
||||
|  | [@bihe](https://github.com/bihe) | ☕ x 3 |
|
||||
@ -553,6 +553,10 @@ Fiber is an open source project that runs on donations to pay the bills e.g. our
|
||||
|
||||
<img src="https://opencollective.com/fiber/contributors.svg?width=890&button=false" alt="Code Contributors" style="max-width:100%;">
|
||||
|
||||
## ⭐️ Stargazers
|
||||
|
||||
<img src="https://starchart.cc/gofiber/fiber.svg" alt="Stargazers over time" style="max-width: 100%">
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Contributors](https://github.com/gofiber/fiber/graphs/contributors). `Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE). Official logo was created by [Vic Shóstak](https://github.com/koddr) and distributed under [Creative Commons](https://creativecommons.org/licenses/by-sa/4.0/) license (CC BY-SA 4.0 International).
|
||||
|
1918
.github/fixture/testRoutes.json
vendored
Normal file
1918
.github/fixture/testRoutes.json
vendored
Normal file
File diff suppressed because it is too large
Load Diff
29
app_test.go
29
app_test.go
@ -6,9 +6,11 @@ package fiber
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"net"
|
||||
"net/http/httptest"
|
||||
"regexp"
|
||||
"strings"
|
||||
"testing"
|
||||
"time"
|
||||
@ -34,6 +36,33 @@ func Test_App_Routes(t *testing.T) {
|
||||
utils.AssertEqual(t, 3, len(app.Routes()))
|
||||
}
|
||||
|
||||
func Test_App_ServerErrorHandler_SmallReadBuffer(t *testing.T) {
|
||||
expectedError := regexp.MustCompile(
|
||||
`error when reading request headers: small read buffer\. Increase ReadBufferSize\. Buffer size=4096, contents: "GET / HTTP/1.1\\r\\nHost: example\.com\\r\\nVery-Long-Header: -+`,
|
||||
)
|
||||
app := New()
|
||||
|
||||
app.Get("/", func(c *Ctx) {
|
||||
panic(errors.New("Should never called"))
|
||||
})
|
||||
|
||||
request := httptest.NewRequest("GET", "/", nil)
|
||||
logHeaderSlice := make([]string, 5000, 5000)
|
||||
request.Header.Set("Very-Long-Header", strings.Join(logHeaderSlice, "-"))
|
||||
_, err := app.Test(request)
|
||||
|
||||
if err == nil {
|
||||
t.Error("Expect an error at app.Test(request)")
|
||||
}
|
||||
|
||||
utils.AssertEqual(
|
||||
t,
|
||||
true,
|
||||
expectedError.MatchString(err.Error()),
|
||||
fmt.Sprintf("Has: %s, expected pattern: %s", err.Error(), expectedError.String()),
|
||||
)
|
||||
}
|
||||
|
||||
func Test_App_ErrorHandler(t *testing.T) {
|
||||
app := New()
|
||||
|
||||
|
@ -446,7 +446,7 @@ func Test_Ctx_FormFile(t *testing.T) {
|
||||
|
||||
req := httptest.NewRequest(MethodPost, "/test", body)
|
||||
req.Header.Set(HeaderContentType, writer.FormDataContentType())
|
||||
//req.Header.Set(HeaderContentLength, strconv.Itoa(len(body.Bytes())))
|
||||
req.Header.Set(HeaderContentLength, strconv.Itoa(len(body.Bytes())))
|
||||
|
||||
resp, err := app.Test(req)
|
||||
utils.AssertEqual(t, nil, err, "app.Test(req)")
|
||||
|
@ -15,7 +15,7 @@ func Test_Middleware_Compress(t *testing.T) {
|
||||
app.Use(Compress())
|
||||
|
||||
app.Get("/", func(c *fiber.Ctx) {
|
||||
c.SendFile("../ctx.go")
|
||||
c.SendFile("../ctx.go", true)
|
||||
})
|
||||
|
||||
req := httptest.NewRequest("GET", "/", nil)
|
||||
|
@ -2,7 +2,10 @@ package middleware
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"regexp"
|
||||
"testing"
|
||||
|
||||
"github.com/gofiber/fiber"
|
||||
@ -12,8 +15,8 @@ import (
|
||||
|
||||
// go test -run Test_Middleware_Logger
|
||||
func Test_Middleware_Logger(t *testing.T) {
|
||||
format := "${ip}-${ips}-${url}-${host}-${method}-${path}-${protocol}-${route}-${referer}-${ua}-${latency}-${status}-${body}-${error}-${bytesSent}-${bytesReceived}-${header:header}-${query:query}-${cookie:cookie}"
|
||||
expect := "0.0.0.0--/test?query=query-example.com-GET-/test-http-/test-ref-ua-0s-500--error-5-0-header-query-cookie"
|
||||
format := "${ip}-${ips}-${url}-${host}-${method}-${path}-${protocol}-${route}-${referer}-${ua}-${status}-${body}-${error}-${bytesSent}-${bytesReceived}-${header:header}-${query:query}-${cookie:cookie}"
|
||||
expect := "0.0.0.0--/test?query=query-example.com-GET-/test-http-/test-ref-ua-500--error-5-0-header-query-cookie"
|
||||
|
||||
buf := bytebufferpool.Get()
|
||||
defer bytebufferpool.Put(buf)
|
||||
@ -41,3 +44,29 @@ func Test_Middleware_Logger(t *testing.T) {
|
||||
utils.AssertEqual(t, expect, buf.String())
|
||||
|
||||
}
|
||||
|
||||
func Test_Middleware_Logger_WithDefaulFormat(t *testing.T) {
|
||||
expectedOutputPattern := regexp.MustCompile(`^\d{2}:\d{2}:\d{2} GET / - 0\.0\.0\.0 - 200 - \d+(\.\d+)?.{1,3}
|
||||
$`)
|
||||
// fake output
|
||||
buf := bytebufferpool.Get()
|
||||
defer bytebufferpool.Put(buf)
|
||||
|
||||
config := LoggerConfigDefault
|
||||
config.Output = buf
|
||||
app := fiber.New(&fiber.Settings{DisableStartupMessage: true})
|
||||
app.Use(LoggerWithConfig(config))
|
||||
|
||||
app.Get("/", func(ctx *fiber.Ctx) {
|
||||
ctx.SendStatus(200)
|
||||
})
|
||||
|
||||
_, err := app.Test(httptest.NewRequest(http.MethodGet, "/", nil))
|
||||
utils.AssertEqual(t, nil, err, "app.Test(req)")
|
||||
utils.AssertEqual(
|
||||
t,
|
||||
true,
|
||||
expectedOutputPattern.MatchString(buf.String()),
|
||||
fmt.Sprintf("Has: %s, expected pattern: %s", buf.String(), expectedOutputPattern.String()),
|
||||
)
|
||||
}
|
||||
|
555
router_test.go
555
router_test.go
@ -7,6 +7,7 @@ package fiber
|
||||
// go test -v ./... -run=^$ -bench=Benchmark_Router -benchmem -count=2
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"io/ioutil"
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
@ -15,6 +16,18 @@ import (
|
||||
fasthttp "github.com/valyala/fasthttp"
|
||||
)
|
||||
|
||||
var routesFixture = routeJson{}
|
||||
|
||||
func init() {
|
||||
dat, err := ioutil.ReadFile("./.github/fixture/testRoutes.json")
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
if err := json.Unmarshal(dat, &routesFixture); err != nil {
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
|
||||
func Test_Route_Match_SameLength(t *testing.T) {
|
||||
app := New()
|
||||
|
||||
@ -171,8 +184,8 @@ func Test_Route_Match_Middleware_Root(t *testing.T) {
|
||||
|
||||
func registerDummyRoutes(app *App) {
|
||||
h := func(c *Ctx) {}
|
||||
for _, r := range githubAPI {
|
||||
app.Add(r.method, r.path, h)
|
||||
for _, r := range routesFixture.GithubAPI {
|
||||
app.Add(r.Method, r.Path, h)
|
||||
}
|
||||
}
|
||||
|
||||
@ -386,10 +399,10 @@ func Benchmark_Router_Github_API(b *testing.B) {
|
||||
var params []string
|
||||
|
||||
for n := 0; n < b.N; n++ {
|
||||
for i := range testRoutes {
|
||||
for i := range routesFixture.TestRoutes {
|
||||
|
||||
mINT := methodINT[testRoutes[i].method]
|
||||
path := testRoutes[i].path
|
||||
mINT := methodINT[routesFixture.TestRoutes[i].Method]
|
||||
path := routesFixture.TestRoutes[i].Path
|
||||
|
||||
for i := range app.stack[mINT] {
|
||||
match, params = app.stack[mINT][i].match(path, path)
|
||||
@ -402,532 +415,10 @@ func Benchmark_Router_Github_API(b *testing.B) {
|
||||
}
|
||||
|
||||
type testRoute struct {
|
||||
method string
|
||||
path string
|
||||
Method string `json:"method"`
|
||||
Path string `json:"path"`
|
||||
}
|
||||
|
||||
var testRoutes = []testRoute{
|
||||
// OAuth Authorizations
|
||||
{"GET", "/authorizations"},
|
||||
{"GET", "/authorizations/1337"},
|
||||
{"POST", "/authorizations"},
|
||||
{"PUT", "/authorizations/clients/inf1nd873nf8912g9t"},
|
||||
{"PATCH", "/authorizations/1337"},
|
||||
{"DELETE", "/authorizations/1337"},
|
||||
{"GET", "/applications/2nds981mng6azl127y/tokens/sn108hbe1geheibf13f"},
|
||||
{"DELETE", "/applications/2nds981mng6azl127y/tokens"},
|
||||
{"DELETE", "/applications/2nds981mng6azl127y/tokens/sn108hbe1geheibf13f"},
|
||||
|
||||
// Activity
|
||||
{"GET", "/events"},
|
||||
{"GET", "/repos/fenny/fiber/events"},
|
||||
{"GET", "/networks/fenny/fiber/events"},
|
||||
{"GET", "/orgs/gofiber/events"},
|
||||
{"GET", "/users/fenny/received_events"},
|
||||
{"GET", "/users/fenny/received_events/public"},
|
||||
{"GET", "/users/fenny/events"},
|
||||
{"GET", "/users/fenny/events/public"},
|
||||
{"GET", "/users/fenny/events/orgs/gofiber"},
|
||||
{"GET", "/feeds"},
|
||||
{"GET", "/notifications"},
|
||||
{"GET", "/repos/fenny/fiber/notifications"},
|
||||
{"PUT", "/notifications"},
|
||||
{"PUT", "/repos/fenny/fiber/notifications"},
|
||||
{"GET", "/notifications/threads/1337"},
|
||||
{"PATCH", "/notifications/threads/1337"},
|
||||
{"GET", "/notifications/threads/1337/subscription"},
|
||||
{"PUT", "/notifications/threads/1337/subscription"},
|
||||
{"DELETE", "/notifications/threads/1337/subscription"},
|
||||
{"GET", "/repos/fenny/fiber/stargazers"},
|
||||
{"GET", "/users/fenny/starred"},
|
||||
{"GET", "/user/starred"},
|
||||
{"GET", "/user/starred/fenny/fiber"},
|
||||
{"PUT", "/user/starred/fenny/fiber"},
|
||||
{"DELETE", "/user/starred/fenny/fiber"},
|
||||
{"GET", "/repos/fenny/fiber/subscribers"},
|
||||
{"GET", "/users/fenny/subscriptions"},
|
||||
{"GET", "/user/subscriptions"},
|
||||
{"GET", "/repos/fenny/fiber/subscription"},
|
||||
{"PUT", "/repos/fenny/fiber/subscription"},
|
||||
{"DELETE", "/repos/fenny/fiber/subscription"},
|
||||
{"GET", "/user/subscriptions/fenny/fiber"},
|
||||
{"PUT", "/user/subscriptions/fenny/fiber"},
|
||||
{"DELETE", "/user/subscriptions/fenny/fiber"},
|
||||
|
||||
// Gists
|
||||
{"GET", "/users/fenny/gists"},
|
||||
{"GET", "/gists"},
|
||||
{"GET", "/gists/public"},
|
||||
{"GET", "/gists/starred"},
|
||||
{"GET", "/gists/1337"},
|
||||
{"POST", "/gists"},
|
||||
{"PATCH", "/gists/1337"},
|
||||
{"PUT", "/gists/1337/star"},
|
||||
{"DELETE", "/gists/1337/star"},
|
||||
{"GET", "/gists/1337/star"},
|
||||
{"POST", "/gists/1337/forks"},
|
||||
{"DELETE", "/gists/1337"},
|
||||
|
||||
// Git Data
|
||||
{"GET", "/repos/fenny/fiber/git/blobs/v948b24g98ubngw9082bn02giub"},
|
||||
{"POST", "/repos/fenny/fiber/git/blobs"},
|
||||
{"GET", "/repos/fenny/fiber/git/commits/v948b24g98ubngw9082bn02giub"},
|
||||
{"POST", "/repos/fenny/fiber/git/commits"},
|
||||
{"GET", "/repos/fenny/fiber/git/refs/im/a/wildcard"},
|
||||
{"GET", "/repos/fenny/fiber/git/refs"},
|
||||
{"POST", "/repos/fenny/fiber/git/refs"},
|
||||
{"PATCH", "/repos/fenny/fiber/git/refs/im/a/wildcard"},
|
||||
{"DELETE", "/repos/fenny/fiber/git/refs/im/a/wildcard"},
|
||||
{"GET", "/repos/fenny/fiber/git/tags/v948b24g98ubngw9082bn02giub"},
|
||||
{"POST", "/repos/fenny/fiber/git/tags"},
|
||||
{"GET", "/repos/fenny/fiber/git/trees/v948b24g98ubngw9082bn02giub"},
|
||||
{"POST", "/repos/fenny/fiber/git/trees"},
|
||||
|
||||
// Issues
|
||||
{"GET", "/issues"},
|
||||
{"GET", "/user/issues"},
|
||||
{"GET", "/orgs/gofiber/issues"},
|
||||
{"GET", "/repos/fenny/fiber/issues"},
|
||||
{"GET", "/repos/fenny/fiber/issues/1000"},
|
||||
{"POST", "/repos/fenny/fiber/issues"},
|
||||
{"PATCH", "/repos/fenny/fiber/issues/1000"},
|
||||
{"GET", "/repos/fenny/fiber/assignees"},
|
||||
{"GET", "/repos/fenny/fiber/assignees/nic"},
|
||||
{"GET", "/repos/fenny/fiber/issues/1000/comments"},
|
||||
{"GET", "/repos/fenny/fiber/issues/comments"},
|
||||
{"GET", "/repos/fenny/fiber/issues/comments/1337"},
|
||||
{"POST", "/repos/fenny/fiber/issues/1000/comments"},
|
||||
{"PATCH", "/repos/fenny/fiber/issues/comments/1337"},
|
||||
{"DELETE", "/repos/fenny/fiber/issues/comments/1337"},
|
||||
{"GET", "/repos/fenny/fiber/issues/1000/events"},
|
||||
{"GET", "/repos/fenny/fiber/issues/events"},
|
||||
{"GET", "/repos/fenny/fiber/issues/events/1337"},
|
||||
{"GET", "/repos/fenny/fiber/labels"},
|
||||
{"GET", "/repos/fenny/fiber/labels/john"},
|
||||
{"POST", "/repos/fenny/fiber/labels"},
|
||||
{"PATCH", "/repos/fenny/fiber/labels/john"},
|
||||
{"DELETE", "/repos/fenny/fiber/labels/john"},
|
||||
{"GET", "/repos/fenny/fiber/issues/1000/labels"},
|
||||
{"POST", "/repos/fenny/fiber/issues/1000/labels"},
|
||||
{"DELETE", "/repos/fenny/fiber/issues/1000/labels/john"},
|
||||
{"PUT", "/repos/fenny/fiber/issues/1000/labels"},
|
||||
{"DELETE", "/repos/fenny/fiber/issues/1000/labels"},
|
||||
{"GET", "/repos/fenny/fiber/milestones/1000/labels"},
|
||||
{"GET", "/repos/fenny/fiber/milestones"},
|
||||
{"GET", "/repos/fenny/fiber/milestones/1000"},
|
||||
{"POST", "/repos/fenny/fiber/milestones"},
|
||||
{"PATCH", "/repos/fenny/fiber/milestones/1000"},
|
||||
{"DELETE", "/repos/fenny/fiber/milestones/1000"},
|
||||
|
||||
// Miscellaneous
|
||||
{"GET", "/emojis"},
|
||||
{"GET", "/gitignore/templates"},
|
||||
{"GET", "/gitignore/templates/john"},
|
||||
{"POST", "/markdown"},
|
||||
{"POST", "/markdown/raw"},
|
||||
{"GET", "/meta"},
|
||||
{"GET", "/rate_limit"},
|
||||
|
||||
// Organizations
|
||||
{"GET", "/users/fenny/orgs"},
|
||||
{"GET", "/user/orgs"},
|
||||
{"GET", "/orgs/gofiber"},
|
||||
{"PATCH", "/orgs/gofiber"},
|
||||
{"GET", "/orgs/gofiber/members"},
|
||||
{"GET", "/orgs/gofiber/members/fenny"},
|
||||
{"DELETE", "/orgs/gofiber/members/fenny"},
|
||||
{"GET", "/orgs/gofiber/public_members"},
|
||||
{"GET", "/orgs/gofiber/public_members/fenny"},
|
||||
{"PUT", "/orgs/gofiber/public_members/fenny"},
|
||||
{"DELETE", "/orgs/gofiber/public_members/fenny"},
|
||||
{"GET", "/orgs/gofiber/teams"},
|
||||
{"GET", "/teams/1337"},
|
||||
{"POST", "/orgs/gofiber/teams"},
|
||||
{"PATCH", "/teams/1337"},
|
||||
{"DELETE", "/teams/1337"},
|
||||
{"GET", "/teams/1337/members"},
|
||||
{"GET", "/teams/1337/members/fenny"},
|
||||
{"PUT", "/teams/1337/members/fenny"},
|
||||
{"DELETE", "/teams/1337/members/fenny"},
|
||||
{"GET", "/teams/1337/repos"},
|
||||
{"GET", "/teams/1337/repos/fenny/fiber"},
|
||||
{"PUT", "/teams/1337/repos/fenny/fiber"},
|
||||
{"DELETE", "/teams/1337/repos/fenny/fiber"},
|
||||
{"GET", "/user/teams"},
|
||||
|
||||
// Pull Requests
|
||||
{"GET", "/repos/fenny/fiber/pulls"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/1000"},
|
||||
{"POST", "/repos/fenny/fiber/pulls"},
|
||||
{"PATCH", "/repos/fenny/fiber/pulls/1000"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/1000/commits"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/1000/files"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/1000/merge"},
|
||||
{"PUT", "/repos/fenny/fiber/pulls/1000/merge"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/1000/comments"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/comments"},
|
||||
{"GET", "/repos/fenny/fiber/pulls/comments/1000"},
|
||||
{"PUT", "/repos/fenny/fiber/pulls/1000/comments"},
|
||||
{"PATCH", "/repos/fenny/fiber/pulls/comments/1000"},
|
||||
{"DELETE", "/repos/fenny/fiber/pulls/comments/1000"},
|
||||
|
||||
// Repositories
|
||||
{"GET", "/user/repos"},
|
||||
{"GET", "/users/fenny/repos"},
|
||||
{"GET", "/orgs/gofiber/repos"},
|
||||
{"GET", "/repositories"},
|
||||
{"POST", "/user/repos"},
|
||||
{"POST", "/orgs/gofiber/repos"},
|
||||
{"GET", "/repos/fenny/fiber"},
|
||||
{"PATCH", "/repos/fenny/fiber"},
|
||||
{"GET", "/repos/fenny/fiber/contributors"},
|
||||
{"GET", "/repos/fenny/fiber/languages"},
|
||||
{"GET", "/repos/fenny/fiber/teams"},
|
||||
{"GET", "/repos/fenny/fiber/tags"},
|
||||
{"GET", "/repos/fenny/fiber/branches"},
|
||||
{"GET", "/repos/fenny/fiber/branches/master"},
|
||||
{"DELETE", "/repos/fenny/fiber"},
|
||||
{"GET", "/repos/fenny/fiber/collaborators"},
|
||||
{"GET", "/repos/fenny/fiber/collaborators/fenny"},
|
||||
{"PUT", "/repos/fenny/fiber/collaborators/fenny"},
|
||||
{"DELETE", "/repos/fenny/fiber/collaborators/fenny"},
|
||||
{"GET", "/repos/fenny/fiber/comments"},
|
||||
{"GET", "/repos/fenny/fiber/commits/v948b24g98ubngw9082bn02giub/comments"},
|
||||
{"POST", "/repos/fenny/fiber/commits/v948b24g98ubngw9082bn02giub/comments"},
|
||||
{"GET", "/repos/fenny/fiber/comments/1337"},
|
||||
{"PATCH", "/repos/fenny/fiber/comments/1337"},
|
||||
{"DELETE", "/repos/fenny/fiber/comments/1337"},
|
||||
{"GET", "/repos/fenny/fiber/commits"},
|
||||
{"GET", "/repos/fenny/fiber/commits/v948b24g98ubngw9082bn02giub"},
|
||||
{"GET", "/repos/fenny/fiber/readme"},
|
||||
{"GET", "/repos/fenny/fiber/contents/im/a/wildcard"},
|
||||
{"PUT", "/repos/fenny/fiber/contents/im/a/wildcard"},
|
||||
{"DELETE", "/repos/fenny/fiber/contents/im/a/wildcard"},
|
||||
{"GET", "/repos/fenny/fiber/gzip/google"},
|
||||
{"GET", "/repos/fenny/fiber/keys"},
|
||||
{"GET", "/repos/fenny/fiber/keys/1337"},
|
||||
{"POST", "/repos/fenny/fiber/keys"},
|
||||
{"PATCH", "/repos/fenny/fiber/keys/1337"},
|
||||
{"DELETE", "/repos/fenny/fiber/keys/1337"},
|
||||
{"GET", "/repos/fenny/fiber/downloads"},
|
||||
{"GET", "/repos/fenny/fiber/downloads/1337"},
|
||||
{"DELETE", "/repos/fenny/fiber/downloads/1337"},
|
||||
{"GET", "/repos/fenny/fiber/forks"},
|
||||
{"POST", "/repos/fenny/fiber/forks"},
|
||||
{"GET", "/repos/fenny/fiber/hooks"},
|
||||
{"GET", "/repos/fenny/fiber/hooks/1337"},
|
||||
{"POST", "/repos/fenny/fiber/hooks"},
|
||||
{"PATCH", "/repos/fenny/fiber/hooks/1337"},
|
||||
{"POST", "/repos/fenny/fiber/hooks/1337/tests"},
|
||||
{"DELETE", "/repos/fenny/fiber/hooks/1337"},
|
||||
{"POST", "/repos/fenny/fiber/merges"},
|
||||
{"GET", "/repos/fenny/fiber/releases"},
|
||||
{"GET", "/repos/fenny/fiber/releases/1337"},
|
||||
{"POST", "/repos/fenny/fiber/releases"},
|
||||
{"PATCH", "/repos/fenny/fiber/releases/1337"},
|
||||
{"DELETE", "/repos/fenny/fiber/releases/1337"},
|
||||
{"GET", "/repos/fenny/fiber/releases/1337/assets"},
|
||||
{"GET", "/repos/fenny/fiber/stats/contributors"},
|
||||
{"GET", "/repos/fenny/fiber/stats/commit_activity"},
|
||||
{"GET", "/repos/fenny/fiber/stats/code_frequency"},
|
||||
{"GET", "/repos/fenny/fiber/stats/participation"},
|
||||
{"GET", "/repos/fenny/fiber/stats/punch_card"},
|
||||
{"GET", "/repos/fenny/fiber/statuses/google"},
|
||||
{"POST", "/repos/fenny/fiber/statuses/google"},
|
||||
|
||||
// Search
|
||||
{"GET", "/search/repositories"},
|
||||
{"GET", "/search/code"},
|
||||
{"GET", "/search/issues"},
|
||||
{"GET", "/search/users"},
|
||||
{"GET", "/legacy/issues/search/fenny/fibersitory/locked/finish"},
|
||||
{"GET", "/legacy/repos/search/finish"},
|
||||
{"GET", "/legacy/user/search/finish"},
|
||||
{"GET", "/legacy/user/email/info@gofiber.io"},
|
||||
|
||||
// Users
|
||||
{"GET", "/users/fenny"},
|
||||
{"GET", "/user"},
|
||||
{"PATCH", "/user"},
|
||||
{"GET", "/users"},
|
||||
{"GET", "/user/emails"},
|
||||
{"POST", "/user/emails"},
|
||||
{"DELETE", "/user/emails"},
|
||||
{"GET", "/users/fenny/followers"},
|
||||
{"GET", "/user/followers"},
|
||||
{"GET", "/users/fenny/following"},
|
||||
{"GET", "/user/following"},
|
||||
{"GET", "/user/following/fenny"},
|
||||
{"GET", "/users/fenny/following/renan"},
|
||||
{"PUT", "/user/following/fenny"},
|
||||
{"DELETE", "/user/following/fenny"},
|
||||
{"GET", "/users/fenny/keys"},
|
||||
{"GET", "/user/keys"},
|
||||
{"GET", "/user/keys/1337"},
|
||||
{"POST", "/user/keys"},
|
||||
{"PATCH", "/user/keys/1337"},
|
||||
{"DELETE", "/user/keys/1337"},
|
||||
}
|
||||
|
||||
var githubAPI = []testRoute{
|
||||
// OAuth Authorizations
|
||||
{"GET", "/authorizations"},
|
||||
{"GET", "/authorizations/:id"},
|
||||
{"POST", "/authorizations"},
|
||||
{"PUT", "/authorizations/clients/:client_id"},
|
||||
{"PATCH", "/authorizations/:id"},
|
||||
{"DELETE", "/authorizations/:id"},
|
||||
{"GET", "/applications/:client_id/tokens/:access_token"},
|
||||
{"DELETE", "/applications/:client_id/tokens"},
|
||||
{"DELETE", "/applications/:client_id/tokens/:access_token"},
|
||||
|
||||
// Activity
|
||||
{"GET", "/events"},
|
||||
{"GET", "/repos/:owner/:repo/events"},
|
||||
{"GET", "/networks/:owner/:repo/events"},
|
||||
{"GET", "/orgs/:org/events"},
|
||||
{"GET", "/users/:user/received_events"},
|
||||
{"GET", "/users/:user/received_events/public"},
|
||||
{"GET", "/users/:user/events"},
|
||||
{"GET", "/users/:user/events/public"},
|
||||
{"GET", "/users/:user/events/orgs/:org"},
|
||||
{"GET", "/feeds"},
|
||||
{"GET", "/notifications"},
|
||||
{"GET", "/repos/:owner/:repo/notifications"},
|
||||
{"PUT", "/notifications"},
|
||||
{"PUT", "/repos/:owner/:repo/notifications"},
|
||||
{"GET", "/notifications/threads/:id"},
|
||||
{"PATCH", "/notifications/threads/:id"},
|
||||
{"GET", "/notifications/threads/:id/subscription"},
|
||||
{"PUT", "/notifications/threads/:id/subscription"},
|
||||
{"DELETE", "/notifications/threads/:id/subscription"},
|
||||
{"GET", "/repos/:owner/:repo/stargazers"},
|
||||
{"GET", "/users/:user/starred"},
|
||||
{"GET", "/user/starred"},
|
||||
{"GET", "/user/starred/:owner/:repo"},
|
||||
{"PUT", "/user/starred/:owner/:repo"},
|
||||
{"DELETE", "/user/starred/:owner/:repo"},
|
||||
{"GET", "/repos/:owner/:repo/subscribers"},
|
||||
{"GET", "/users/:user/subscriptions"},
|
||||
{"GET", "/user/subscriptions"},
|
||||
{"GET", "/repos/:owner/:repo/subscription"},
|
||||
{"PUT", "/repos/:owner/:repo/subscription"},
|
||||
{"DELETE", "/repos/:owner/:repo/subscription"},
|
||||
{"GET", "/user/subscriptions/:owner/:repo"},
|
||||
{"PUT", "/user/subscriptions/:owner/:repo"},
|
||||
{"DELETE", "/user/subscriptions/:owner/:repo"},
|
||||
|
||||
// Gists
|
||||
{"GET", "/users/:user/gists"},
|
||||
{"GET", "/gists"},
|
||||
{"GET", "/gists/public"},
|
||||
{"GET", "/gists/starred"},
|
||||
{"GET", "/gists/:id"},
|
||||
{"POST", "/gists"},
|
||||
{"PATCH", "/gists/:id"},
|
||||
{"PUT", "/gists/:id/star"},
|
||||
{"DELETE", "/gists/:id/star"},
|
||||
{"GET", "/gists/:id/star"},
|
||||
{"POST", "/gists/:id/forks"},
|
||||
{"DELETE", "/gists/:id"},
|
||||
|
||||
// Git Data
|
||||
{"GET", "/repos/:owner/:repo/git/blobs/:sha"},
|
||||
{"POST", "/repos/:owner/:repo/git/blobs"},
|
||||
{"GET", "/repos/:owner/:repo/git/commits/:sha"},
|
||||
{"POST", "/repos/:owner/:repo/git/commits"},
|
||||
{"GET", "/repos/:owner/:repo/git/refs/*"},
|
||||
{"GET", "/repos/:owner/:repo/git/refs"},
|
||||
{"POST", "/repos/:owner/:repo/git/refs"},
|
||||
{"PATCH", "/repos/:owner/:repo/git/refs/*"},
|
||||
{"DELETE", "/repos/:owner/:repo/git/refs/*"},
|
||||
{"GET", "/repos/:owner/:repo/git/tags/:sha"},
|
||||
{"POST", "/repos/:owner/:repo/git/tags"},
|
||||
{"GET", "/repos/:owner/:repo/git/trees/:sha"},
|
||||
{"POST", "/repos/:owner/:repo/git/trees"},
|
||||
|
||||
// Issues
|
||||
{"GET", "/issues"},
|
||||
{"GET", "/user/issues"},
|
||||
{"GET", "/orgs/:org/issues"},
|
||||
{"GET", "/repos/:owner/:repo/issues"},
|
||||
{"GET", "/repos/:owner/:repo/issues/:number"},
|
||||
{"POST", "/repos/:owner/:repo/issues"},
|
||||
{"PATCH", "/repos/:owner/:repo/issues/:number"},
|
||||
{"GET", "/repos/:owner/:repo/assignees"},
|
||||
{"GET", "/repos/:owner/:repo/assignees/:assignee"},
|
||||
{"GET", "/repos/:owner/:repo/issues/:number/comments"},
|
||||
{"GET", "/repos/:owner/:repo/issues/comments"},
|
||||
{"GET", "/repos/:owner/:repo/issues/comments/:id"},
|
||||
{"POST", "/repos/:owner/:repo/issues/:number/comments"},
|
||||
{"PATCH", "/repos/:owner/:repo/issues/comments/:id"},
|
||||
{"DELETE", "/repos/:owner/:repo/issues/comments/:id"},
|
||||
{"GET", "/repos/:owner/:repo/issues/:number/events"},
|
||||
{"GET", "/repos/:owner/:repo/issues/events"},
|
||||
{"GET", "/repos/:owner/:repo/issues/events/:id"},
|
||||
{"GET", "/repos/:owner/:repo/labels"},
|
||||
{"GET", "/repos/:owner/:repo/labels/:name"},
|
||||
{"POST", "/repos/:owner/:repo/labels"},
|
||||
{"PATCH", "/repos/:owner/:repo/labels/:name"},
|
||||
{"DELETE", "/repos/:owner/:repo/labels/:name"},
|
||||
{"GET", "/repos/:owner/:repo/issues/:number/labels"},
|
||||
{"POST", "/repos/:owner/:repo/issues/:number/labels"},
|
||||
{"DELETE", "/repos/:owner/:repo/issues/:number/labels/:name"},
|
||||
{"PUT", "/repos/:owner/:repo/issues/:number/labels"},
|
||||
{"DELETE", "/repos/:owner/:repo/issues/:number/labels"},
|
||||
{"GET", "/repos/:owner/:repo/milestones/:number/labels"},
|
||||
{"GET", "/repos/:owner/:repo/milestones"},
|
||||
{"GET", "/repos/:owner/:repo/milestones/:number"},
|
||||
{"POST", "/repos/:owner/:repo/milestones"},
|
||||
{"PATCH", "/repos/:owner/:repo/milestones/:number"},
|
||||
{"DELETE", "/repos/:owner/:repo/milestones/:number"},
|
||||
|
||||
// Miscellaneous
|
||||
{"GET", "/emojis"},
|
||||
{"GET", "/gitignore/templates"},
|
||||
{"GET", "/gitignore/templates/:name"},
|
||||
{"POST", "/markdown"},
|
||||
{"POST", "/markdown/raw"},
|
||||
{"GET", "/meta"},
|
||||
{"GET", "/rate_limit"},
|
||||
|
||||
// Organizations
|
||||
{"GET", "/users/:user/orgs"},
|
||||
{"GET", "/user/orgs"},
|
||||
{"GET", "/orgs/:org"},
|
||||
{"PATCH", "/orgs/:org"},
|
||||
{"GET", "/orgs/:org/members"},
|
||||
{"GET", "/orgs/:org/members/:user"},
|
||||
{"DELETE", "/orgs/:org/members/:user"},
|
||||
{"GET", "/orgs/:org/public_members"},
|
||||
{"GET", "/orgs/:org/public_members/:user"},
|
||||
{"PUT", "/orgs/:org/public_members/:user"},
|
||||
{"DELETE", "/orgs/:org/public_members/:user"},
|
||||
{"GET", "/orgs/:org/teams"},
|
||||
{"GET", "/teams/:id"},
|
||||
{"POST", "/orgs/:org/teams"},
|
||||
{"PATCH", "/teams/:id"},
|
||||
{"DELETE", "/teams/:id"},
|
||||
{"GET", "/teams/:id/members"},
|
||||
{"GET", "/teams/:id/members/:user"},
|
||||
{"PUT", "/teams/:id/members/:user"},
|
||||
{"DELETE", "/teams/:id/members/:user"},
|
||||
{"GET", "/teams/:id/repos"},
|
||||
{"GET", "/teams/:id/repos/:owner/:repo"},
|
||||
{"PUT", "/teams/:id/repos/:owner/:repo"},
|
||||
{"DELETE", "/teams/:id/repos/:owner/:repo"},
|
||||
{"GET", "/user/teams"},
|
||||
|
||||
// Pull Requests
|
||||
{"GET", "/repos/:owner/:repo/pulls"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/:number"},
|
||||
{"POST", "/repos/:owner/:repo/pulls"},
|
||||
{"PATCH", "/repos/:owner/:repo/pulls/:number"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/:number/commits"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/:number/files"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/:number/merge"},
|
||||
{"PUT", "/repos/:owner/:repo/pulls/:number/merge"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/:number/comments"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/comments"},
|
||||
{"GET", "/repos/:owner/:repo/pulls/comments/:number"},
|
||||
{"PUT", "/repos/:owner/:repo/pulls/:number/comments"},
|
||||
{"PATCH", "/repos/:owner/:repo/pulls/comments/:number"},
|
||||
{"DELETE", "/repos/:owner/:repo/pulls/comments/:number"},
|
||||
|
||||
// Repositories
|
||||
{"GET", "/user/repos"},
|
||||
{"GET", "/users/:user/repos"},
|
||||
{"GET", "/orgs/:org/repos"},
|
||||
{"GET", "/repositories"},
|
||||
{"POST", "/user/repos"},
|
||||
{"POST", "/orgs/:org/repos"},
|
||||
{"GET", "/repos/:owner/:repo"},
|
||||
{"PATCH", "/repos/:owner/:repo"},
|
||||
{"GET", "/repos/:owner/:repo/contributors"},
|
||||
{"GET", "/repos/:owner/:repo/languages"},
|
||||
{"GET", "/repos/:owner/:repo/teams"},
|
||||
{"GET", "/repos/:owner/:repo/tags"},
|
||||
{"GET", "/repos/:owner/:repo/branches"},
|
||||
{"GET", "/repos/:owner/:repo/branches/:branch"},
|
||||
{"DELETE", "/repos/:owner/:repo"},
|
||||
{"GET", "/repos/:owner/:repo/collaborators"},
|
||||
{"GET", "/repos/:owner/:repo/collaborators/:user"},
|
||||
{"PUT", "/repos/:owner/:repo/collaborators/:user"},
|
||||
{"DELETE", "/repos/:owner/:repo/collaborators/:user"},
|
||||
{"GET", "/repos/:owner/:repo/comments"},
|
||||
{"GET", "/repos/:owner/:repo/commits/:sha/comments"},
|
||||
{"POST", "/repos/:owner/:repo/commits/:sha/comments"},
|
||||
{"GET", "/repos/:owner/:repo/comments/:id"},
|
||||
{"PATCH", "/repos/:owner/:repo/comments/:id"},
|
||||
{"DELETE", "/repos/:owner/:repo/comments/:id"},
|
||||
{"GET", "/repos/:owner/:repo/commits"},
|
||||
{"GET", "/repos/:owner/:repo/commits/:sha"},
|
||||
{"GET", "/repos/:owner/:repo/readme"},
|
||||
{"GET", "/repos/:owner/:repo/contents/*"},
|
||||
{"PUT", "/repos/:owner/:repo/contents/*"},
|
||||
{"DELETE", "/repos/:owner/:repo/contents/*"},
|
||||
{"GET", "/repos/:owner/:repo/:archive_format/:ref"},
|
||||
{"GET", "/repos/:owner/:repo/keys"},
|
||||
{"GET", "/repos/:owner/:repo/keys/:id"},
|
||||
{"POST", "/repos/:owner/:repo/keys"},
|
||||
{"PATCH", "/repos/:owner/:repo/keys/:id"},
|
||||
{"DELETE", "/repos/:owner/:repo/keys/:id"},
|
||||
{"GET", "/repos/:owner/:repo/downloads"},
|
||||
{"GET", "/repos/:owner/:repo/downloads/:id"},
|
||||
{"DELETE", "/repos/:owner/:repo/downloads/:id"},
|
||||
{"GET", "/repos/:owner/:repo/forks"},
|
||||
{"POST", "/repos/:owner/:repo/forks"},
|
||||
{"GET", "/repos/:owner/:repo/hooks"},
|
||||
{"GET", "/repos/:owner/:repo/hooks/:id"},
|
||||
{"POST", "/repos/:owner/:repo/hooks"},
|
||||
{"PATCH", "/repos/:owner/:repo/hooks/:id"},
|
||||
{"POST", "/repos/:owner/:repo/hooks/:id/tests"},
|
||||
{"DELETE", "/repos/:owner/:repo/hooks/:id"},
|
||||
{"POST", "/repos/:owner/:repo/merges"},
|
||||
{"GET", "/repos/:owner/:repo/releases"},
|
||||
{"GET", "/repos/:owner/:repo/releases/:id"},
|
||||
{"POST", "/repos/:owner/:repo/releases"},
|
||||
{"PATCH", "/repos/:owner/:repo/releases/:id"},
|
||||
{"DELETE", "/repos/:owner/:repo/releases/:id"},
|
||||
{"GET", "/repos/:owner/:repo/releases/:id/assets"},
|
||||
{"GET", "/repos/:owner/:repo/stats/contributors"},
|
||||
{"GET", "/repos/:owner/:repo/stats/commit_activity"},
|
||||
{"GET", "/repos/:owner/:repo/stats/code_frequency"},
|
||||
{"GET", "/repos/:owner/:repo/stats/participation"},
|
||||
{"GET", "/repos/:owner/:repo/stats/punch_card"},
|
||||
{"GET", "/repos/:owner/:repo/statuses/:ref"},
|
||||
{"POST", "/repos/:owner/:repo/statuses/:ref"},
|
||||
|
||||
// Search
|
||||
{"GET", "/search/repositories"},
|
||||
{"GET", "/search/code"},
|
||||
{"GET", "/search/issues"},
|
||||
{"GET", "/search/users"},
|
||||
{"GET", "/legacy/issues/search/:owner/:repository/:state/:keyword"},
|
||||
{"GET", "/legacy/repos/search/:keyword"},
|
||||
{"GET", "/legacy/user/search/:keyword"},
|
||||
{"GET", "/legacy/user/email/:email"},
|
||||
|
||||
// Users
|
||||
{"GET", "/users/:user"},
|
||||
{"GET", "/user"},
|
||||
{"PATCH", "/user"},
|
||||
{"GET", "/users"},
|
||||
{"GET", "/user/emails"},
|
||||
{"POST", "/user/emails"},
|
||||
{"DELETE", "/user/emails"},
|
||||
{"GET", "/users/:user/followers"},
|
||||
{"GET", "/user/followers"},
|
||||
{"GET", "/users/:user/following"},
|
||||
{"GET", "/user/following"},
|
||||
{"GET", "/user/following/:user"},
|
||||
{"GET", "/users/:user/following/:target_user"},
|
||||
{"PUT", "/user/following/:user"},
|
||||
{"DELETE", "/user/following/:user"},
|
||||
{"GET", "/users/:user/keys"},
|
||||
{"GET", "/user/keys"},
|
||||
{"GET", "/user/keys/:id"},
|
||||
{"POST", "/user/keys"},
|
||||
{"PATCH", "/user/keys/:id"},
|
||||
{"DELETE", "/user/keys/:id"},
|
||||
type routeJson struct {
|
||||
TestRoutes []testRoute `json:"testRoutes"`
|
||||
GithubAPI []testRoute `json:"githubAPI"`
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user