mirror of
https://github.com/gofiber/fiber.git
synced 2025-05-31 11:52:41 +00:00
docs: added code link to fiber config fields (#2385)
* docs: added code link to fiber config fields * docs: added code link to fiber config fields [reference line link updated] * docs: added code link to fiber config fields [reference line link updated] * removed reference line link from docs * docs/api: fix indentation --------- Co-authored-by: leonklingele <git@leonklingele.de>
This commit is contained in:
parent
5a8bc44a1f
commit
74a9fa96f5
@ -44,7 +44,7 @@ app := fiber.New(fiber.Config{
|
||||
| AppName | `string` | This allows to setup app name for the app | `""` |
|
||||
| BodyLimit | `int` | Sets the maximum allowed size for a request body, if the size exceeds the configured limit, it sends `413 - Request Entity Too Large` response. | `4 * 1024 * 1024` |
|
||||
| CaseSensitive | `bool` | When enabled, `/Foo` and `/foo` are different routes. When disabled, `/Foo`and `/foo` are treated the same. | `false` |
|
||||
| ColorScheme | `Colors` | You can define custom color scheme. They'll be used for startup message, route list and some middlewares. | `DefaultColors` |
|
||||
| ColorScheme | [`Colors`](https://github.com/gofiber/fiber/blob/master/color.go) | You can define custom color scheme. They'll be used for startup message, route list and some middlewares. | [`DefaultColors`](https://github.com/gofiber/fiber/blob/master/color.go) |
|
||||
| CompressedFileSuffix | `string` | Adds a suffix to the original file name and tries saving the resulting compressed file under the new file name. | `".fiber.gz"` |
|
||||
| Concurrency | `int` | Maximum number of concurrent connections. | `256 * 1024` |
|
||||
| DisableDefaultContentType | `bool` | When set to true, causes the default Content-Type header to be excluded from the Response. | `false` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user