mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
Merge branch 'master' of https://github.com/Fenny/fiber
This commit is contained in:
commit
ffb51e1b58
6
.github/README.md
vendored
6
.github/README.md
vendored
@ -307,7 +307,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -451,7 +451,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
@ -561,4 +561,4 @@ If you want to say **thank you** and/or support the active development of `Fiber
|
||||
|
||||
## ⚠️ License
|
||||
|
||||
`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). 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).
|
||||
`Fiber` is free and open-source software licensed under the [MIT License](https://github.com/gofiber/fiber/blob/master/LICENSE) Copyright (c) 2019-present [Fenny](https://github.com/fenny) and [Fiber Contributors](https://github.com/gofiber/fiber/graphs/contributors). 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).
|
||||
|
4
.github/README_de.md
vendored
4
.github/README_de.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_es.md
vendored
4
.github/README_es.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_fr.md
vendored
4
.github/README_fr.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_id.md
vendored
4
.github/README_id.md
vendored
@ -308,7 +308,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -452,7 +452,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_ja.md
vendored
4
.github/README_ja.md
vendored
@ -310,7 +310,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -454,7 +454,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_ko.md
vendored
4
.github/README_ko.md
vendored
@ -310,7 +310,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -454,7 +454,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_pt.md
vendored
4
.github/README_pt.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_ru.md
vendored
4
.github/README_ru.md
vendored
@ -308,7 +308,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -452,7 +452,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_tr.md
vendored
4
.github/README_tr.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
4
.github/README_zh-CN.md
vendored
4
.github/README_zh-CN.md
vendored
@ -306,7 +306,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional logger config
|
||||
config := logger.LoggerConfig{
|
||||
config := logger.Config{
|
||||
Format: "${time} - ${method} ${path}\n",
|
||||
TimeFormat: "Mon, 2 Jan 2006 15:04:05 MST",
|
||||
}
|
||||
@ -450,7 +450,7 @@ func main() {
|
||||
app := fiber.New()
|
||||
|
||||
// Optional recover config
|
||||
config := recover.LoggerConfig{
|
||||
config := recover.Config{
|
||||
Handler: func(c *fiber.Ctx, err error) {
|
||||
c.SendString(err.Error())
|
||||
c.SendStatus(500)
|
||||
|
Loading…
x
Reference in New Issue
Block a user