Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/gofiber/fiber
Browse files Browse the repository at this point in the history
  • Loading branch information
ReneWerner87 committed Jan 5, 2021
2 parents 42293a8 + 926b2dc commit 383d037
Show file tree
Hide file tree
Showing 107 changed files with 4,616 additions and 1,357 deletions.
2 changes: 2 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,8 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [sujit-baniya/fiber-boilerplate](https://github.com/sujit-baniya/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)
- [sacsand/gofiber-firebaseauth](https://github.com/sacsand/gofiber-firebaseauth)

## 👍 Contribute

Expand Down
1 change: 1 addition & 0 deletions .github/README_de.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Mitwirken

Expand Down
2 changes: 2 additions & 0 deletions .github/README_es.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,8 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)


## 👍 Contribuir

Expand Down
2 changes: 1 addition & 1 deletion .github/README_fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)

- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)
## 👍 Contribuer

Si vous voulez nous remercier et/ou soutenir le développement actif de `Fiber`:
Expand Down
1 change: 1 addition & 0 deletions .github/README_he.md
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

</div>

Expand Down
1 change: 1 addition & 0 deletions .github/README_id.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ Berikut adalah kumpulan _middlewares_ yang dibuat oleh komunitas Fiber, silahkan
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Berkontribusi

Expand Down
17 changes: 9 additions & 8 deletions .github/README_ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,10 @@ func main() {

## ⚙️ インストール

Make sure you have Go installed ([download](https://golang.org/dl/)). Version `1.14` or higher is required.
Goがインストールされていることを確認してください ([ダウンロード](https://golang.org/dl/)). バージョン `1.14` またはそれ以上であることが必要です。

Initialize your project by creating a folder and then running `go mod init github.com/your/repo` ([learn more](https://blog.golang.org/using-go-modules)) inside the folder. Then install Fiber with the [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) command:
フォルダを作成し、フォルダ内で `go mod init github.com/your/repo` ([learn more](https://blog.golang.org/using-go-modules)) を実行してプロジェクトを初期化してください。その後、 Fiber を以下の [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) コマンドでインストールしてください。

```bash
go get -u github.com/gofiber/fiber/v2
Expand All @@ -126,7 +127,7 @@ go get -u github.com/gofiber/fiber/v2
- [Template engines](https://github.com/gofiber/template)
- [WebSocket support](https://github.com/gofiber/websocket)
- [Rate Limiter](https://docs.gofiber.io/middleware#limiter)
- Available in [15 languages](https://docs.gofiber.io/)
- [15ヶ国語](https://docs.gofiber.io/)で利用可能
- [Fiber](https://docs.gofiber.io/)をもっと知る

## 💡 哲学
Expand All @@ -142,8 +143,6 @@ Fiber は人気の高い Web フレームワークである Expressjs に**イ

以下に一般的な例をいくつか示します。他のコード例をご覧になりたい場合は、 [Recipes リポジトリ](https://github.com/gofiber/recipes)または[API ドキュメント](https://docs.gofiber.io)にアクセスしてください。

Listed below are some of the common examples. If you want to see more code examples , please visit our [Recipes repository](https://github.com/gofiber/recipes) or visit our hosted [API documentation](https://docs.gofiber.io).

#### 📖 [**Basic Routing**](https://docs.gofiber.io/#basic-routing)

```go
Expand Down Expand Up @@ -485,7 +484,7 @@ func main() {

## 🧬 Internal Middleware

Here is a list of middleware that are included within the Fiber framework.
以下はFiberフレームワークに含まれるミドルウェアの一覧です。

| Middleware | Description |
| :------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
Expand All @@ -506,7 +505,7 @@ Here is a list of middleware that are included within the Fiber framework.

## 🧬 External Middleware

List of externally hosted middleware modules and maintained by the [Fiber team](https://github.com/orgs/gofiber/people).
[Fiber team](https://github.com/orgs/gofiber/people) により管理・運用されているミドルウェアの一覧です。

| Middleware | Description |
| :------------------------------------------------ | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
Expand All @@ -522,6 +521,7 @@ List of externally hosted middleware modules and maintained by the [Fiber team](
## 🌱 Third Party Middlewares

This is a list of middlewares that are created by the Fiber community, please create a PR if you want to see yours!
これらはFiberのコミュニティーによって作成されたミドルウェアの一覧です。もしあなたのミドルウェアを掲載したい場合はPRを作成してください!

- [arsmn/fiber-casbin](https://github.com/arsmn/fiber-casbin)
- [arsmn/fiber-introspect](https://github.com/arsmn/fiber-introspect)
Expand All @@ -536,6 +536,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 貢献する

Expand All @@ -544,11 +545,11 @@ This is a list of middlewares that are created by the Fiber community, please cr
1. [GitHub Star](https://github.com/gofiber/fiber/stargazers)をつけてください 。
2. [あなたの Twitter で](https://twitter.com/intent/tweet?text=Fiber%20is%20an%20Express%20inspired%20%23web%20%23framework%20built%20on%20top%20of%20Fasthttp%2C%20the%20fastest%20HTTP%20engine%20for%20%23Go.%20Designed%20to%20ease%20things%20up%20for%20%23fast%20development%20with%20zero%20memory%20allocation%20and%20%23performance%20in%20mind%20%F0%9F%9A%80%20https%3A%2F%2Fgithub.com%2Fgofiber%2Ffiber)プロジェクトについてツイートしてください。
3. [Medium](https://medium.com/)[Dev.to、](https://dev.to/)または個人のブログでレビューまたはチュートリアルを書いてください。
4. Support the project by donating a [cup of coffee](https://buymeacoff.ee/fenny).
4. [cup of coffee](https://buymeacoff.ee/fenny)の寄付でプロジェクトを支援しましょう。

## ☕ Supporters

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).
Fiberはオープンソースプロジェクトで、寄付によってドメイン名やgitbook、 netlify、そしてサーバーレスホスティングなどの費用を賄っています。もしFiberを支援したければ [**こちらから**](https://buymeacoff.ee/fenny)

| | User | Donation |
| :--------------------------------------------------------- | :----------------------------------------------- | :------- |
Expand Down
1 change: 1 addition & 0 deletions .github/README_ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 기여

Expand Down
1 change: 1 addition & 0 deletions .github/README_nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Bijdragen

Expand Down
1 change: 1 addition & 0 deletions .github/README_pt.md
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ Esta é uma lista de middlewares criados pela comunidade do Fiber, se quiser ter
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Contribuindo

Expand Down
1 change: 1 addition & 0 deletions .github/README_ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,7 @@ func main() {
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Помощь проекту

Expand Down
1 change: 1 addition & 0 deletions .github/README_sa.md
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ List of externally hosted middleware modules and maintained by the [Fiber team](
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 مساهمة

Expand Down
1 change: 1 addition & 0 deletions .github/README_tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ This is a list of middlewares that are created by the Fiber community, please cr
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 Destek

Expand Down
1 change: 1 addition & 0 deletions .github/README_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ List of externally hosted middleware modules and maintained by the [Fiber team](
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 贡献

Expand Down
36 changes: 19 additions & 17 deletions .github/README_zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ func main() {

## ⚙️ 安裝

Make sure you have Go installed ([download](https://golang.org/dl/)). Version `1.14` or higher is required.
確保已安裝 Go 版本 `1.14` 或以上 ([下載](https://golang.org/dl/))

Initialize your project by creating a folder and then running `go mod init github.com/your/repo` ([learn more](https://blog.golang.org/using-go-modules)) inside the folder. Then install Fiber with the [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) command:
建立文件夾並在文件夾內執行 `go mod init github.com/your/repo` ([了解更多](https://blog.golang.org/using-go-modules)) 指令建立專案,然後使用 [`go get`](https://golang.org/cmd/go/#hdr-Add_dependencies_to_current_module_and_install_them) 指令下載 fiber :

```bash
go get -u github.com/gofiber/fiber/v2
Expand Down Expand Up @@ -484,21 +484,22 @@ func main() {

Here is a list of middleware that are included within the Fiber framework.

| Middleware | Description |
| [basicauth](https://github.com/gofiber/fiber/tree/master/middleware/basicauth) | Basic auth middleware provides an HTTP basic authentication. It calls the next handler for valid credentials and 401 Unauthorized for missing or invalid credentials. |
| [compress](https://github.com/gofiber/fiber/tree/master/middleware/compress) | Compression middleware for Fiber, it supports `deflate`, `gzip` and `brotli` by default. |
| [cache](https://github.com/gofiber/fiber/tree/master/middleware/cache) | Intercept and cache responses |
| [cors](https://github.com/gofiber/fiber/tree/master/middleware/cors) | Enable cross-origin resource sharing \(CORS\) with various options. |
| [csrf](https://github.com/gofiber/fiber/tree/master/middleware/csrf) | Protect from CSRF exploits. |
| [filesystem](https://github.com/gofiber/fiber/tree/master/middleware/filesystem) | FileSystem middleware for Fiber, special thanks and credits to Alireza Salary |
| [favicon](https://github.com/gofiber/fiber/tree/master/middleware/favicon) | Ignore favicon from logs or serve from memory if a file path is provided. |
| [limiter](https://github.com/gofiber/fiber/tree/master/middleware/limiter) | Rate-limiting middleware for Fiber. Use to limit repeated requests to public APIs and/or endpoints such as password reset. |
| [logger](https://github.com/gofiber/fiber/tree/master/middleware/logger) | HTTP request/response logger. |
| [pprof](https://github.com/gofiber/fiber/tree/master/middleware/pprof) | Special thanks to Matthew Lee \(@mthli\) |
| [proxy](https://github.com/gofiber/fiber/tree/master/middleware/proxy) | Allows you to proxy requests to a multiple servers |
| [recover](https://github.com/gofiber/fiber/tree/master/middleware/recover) | Recover middleware recovers from panics anywhere in the stack chain and handles the control to the centralized[ ErrorHandler](error-handling.md). |
| [requestid](https://github.com/gofiber/fiber/tree/master/middleware/requestid) | Adds a requestid to every request. |
| [timeout](https://github.com/gofiber/fiber/tree/master/middleware/timeout | Adds a max time for a request and forwards to ErrorHandler if it is exceeded. |
| Middleware | Description |
| :------------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [basicauth](https://github.com/gofiber/fiber/tree/master/middleware/basicauth) | Basic auth middleware provides an HTTP basic authentication. It calls the next handler for valid credentials and 401 Unauthorized for missing or invalid credentials. |
| [compress](https://github.com/gofiber/fiber/tree/master/middleware/compress) | Compression middleware for Fiber, it supports `deflate`, `gzip` and `brotli` by default. |
| [cache](https://github.com/gofiber/fiber/tree/master/middleware/cache) | Intercept and cache responses |
| [cors](https://github.com/gofiber/fiber/tree/master/middleware/cors) | Enable cross-origin resource sharing \(CORS\) with various options. |
| [csrf](https://github.com/gofiber/fiber/tree/master/middleware/csrf) | Protect from CSRF exploits. |
| [filesystem](https://github.com/gofiber/fiber/tree/master/middleware/filesystem) | FileSystem middleware for Fiber, special thanks and credits to Alireza Salary |
| [favicon](https://github.com/gofiber/fiber/tree/master/middleware/favicon) | Ignore favicon from logs or serve from memory if a file path is provided. |
| [limiter](https://github.com/gofiber/fiber/tree/master/middleware/limiter) | Rate-limiting middleware for Fiber. Use to limit repeated requests to public APIs and/or endpoints such as password reset. |
| [logger](https://github.com/gofiber/fiber/tree/master/middleware/logger) | HTTP request/response logger. |
| [pprof](https://github.com/gofiber/fiber/tree/master/middleware/pprof) | Special thanks to Matthew Lee \(@mthli\) |
| [proxy](https://github.com/gofiber/fiber/tree/master/middleware/proxy) | Allows you to proxy requests to a multiple servers |
| [requestid](https://github.com/gofiber/fiber/tree/master/middleware/requestid) | Adds a requestid to every request. |
| [recover](https://github.com/gofiber/fiber/tree/master/middleware/recover) | Recover middleware recovers from panics anywhere in the stack chain and handles the control to the centralized[ ErrorHandler](error-handling.md). |
| [timeout](https://github.com/gofiber/fiber/tree/master/middleware/timeout) | Adds a max time for a request and forwards to ErrorHandler if it is exceeded. |

## 🧬 External Middleware

Expand Down Expand Up @@ -532,6 +533,7 @@ List of externally hosted middleware modules and maintained by the [Fiber team](
- [thomasvvugt/fiber-boilerplate](https://github.com/thomasvvugt/fiber-boilerplate)
- [ansrivas/fiberprometheus](https://github.com/ansrivas/fiberprometheus)
- [LdDl/fiber-long-poll](https://github.com/LdDl/fiber-long-poll)
- [K0enM/fiber_vhost](https://github.com/K0enM/fiber_vhost)

## 👍 貢獻

Expand Down
Loading

0 comments on commit 383d037

Please sign in to comment.