You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: .github/CODE_OF_CONDUCT.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -71,11 +71,11 @@ Community leaders will follow these Community Impact Guidelines in determining t
71
71
## Attribution
72
72
73
73
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
74
-
available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
74
+
available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
75
75
76
76
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
77
77
78
78
[homepage]: https://www.contributor-covenant.org
79
79
80
80
For answers to common questions about this code of conduct, see the FAQ at
81
-
<https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.
81
+
[https://www.contributor-covenant.org/faq](https://www.contributor-covenant.org/faq). Translations are available at [https://www.contributor-covenant.org/translations](https://www.contributor-covenant.org/translations).
Copy file name to clipboardexpand all lines: docs/middleware/earlydata.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ Make sure to enable fiber's `EnableTrustedProxyCheck` config option before using
11
11
12
12
Also be aware that enabling support for early data in your reverse proxy (e.g. nginx, as done with a simple `ssl_early_data on;`) makes requests replayable. Refer to the following documents before continuing:
By default, this middleware allows early data requests on safe HTTP request methods only and rejects the request otherwise, i.e. aborts the request before executing your handler. This behavior can be controlled by the `AllowEarlyData` config option.
18
18
Safe HTTP methods — `GET`, `HEAD`, `OPTIONS` and `TRACE` — should not modify a state on the server.
Copy file name to clipboardexpand all lines: docs/middleware/idempotency.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ id: idempotency
6
6
7
7
Idempotency middleware for [Fiber](https://github.com/gofiber/fiber) allows for fault-tolerant APIs where duplicate requests — for example due to networking issues on the client-side — do not erroneously cause the same action performed multiple times on the server-side.
8
8
9
-
Refer to <https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-idempotency-key-header-02> for a better understanding.
9
+
Refer to [datatracker](https://datatracker.ietf.org/doc/html/draft-ietf-httpapi-idempotency-key-header-02) for a better understanding.
| Title |`string`| Metrics page title | "Fiber Monitor" |
68
+
| Refresh |`time.Duration`| Refresh period | 3 seconds |
69
+
| APIOnly |`bool`| Whether the service should expose only the monitoring API | false |
70
+
| Next |`func(fiber.Ctx) bool`| Next defines a function to skip this middleware when returned true. |`nil`|
71
+
| CustomHead |`string`| Custom HTML Code to Head Section(Before End) | empty |
72
+
| FontURL |`string`| FontURL for specify font resource path or URL | "[fonts.googleapis.com](https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap)" |
73
+
| ChartJsURL |`string`| ChartJsURL for specify ChartJS library path or URL | "[cdn.jsdelivr.net](https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.bundle.min.js)" |
| Next |`func(fiber.Ctx) bool`| Next defines a function to skip this middleware when returned true. |`nil`|
161
-
| Servers |`[]string`| Servers defines a list of `<scheme>://<host>` HTTP servers, which are used in a round-robin manner. i.e.: "<https://foobar.com>, <http://www.foobar.com>" | (Required) |
162
-
| ModifyRequest |`fiber.Handler`| ModifyRequest allows you to alter the request. |`nil`|
163
-
| ModifyResponse |`fiber.Handler`| ModifyResponse allows you to alter the response. |`nil`|
164
-
| Timeout |`time.Duration`| Timeout is the request timeout used when calling the proxy client. | 1 second |
165
-
| ReadBufferSize |`int`| Per-connection buffer size for requests' reading. This also limits the maximum header size. Increase this buffer if your clients send multi-KB RequestURIs and/or multi-KB headers (for example, BIG cookies). | (Not specified) |
| Next |`func(fiber.Ctx) bool`| Next defines a function to skip this middleware when returned true. |`nil`|
161
+
| Servers |`[]string`| Servers defines a list of `<scheme>://<host>` HTTP servers, which are used in a round-robin manner. i.e.: "[https://foobar.com](https://foobar.com), [http://www.foobar.com](http://www.foobar.com)"| (Required) |
162
+
| ModifyRequest |`fiber.Handler`| ModifyRequest allows you to alter the request. |`nil`|
163
+
| ModifyResponse |`fiber.Handler`| ModifyResponse allows you to alter the response. |`nil`|
164
+
| Timeout |`time.Duration`| Timeout is the request timeout used when calling the proxy client. | 1 second |
165
+
| ReadBufferSize |`int`| Per-connection buffer size for requests' reading. This also limits the maximum header size. Increase this buffer if your clients send multi-KB RequestURIs and/or multi-KB headers (for example, BIG cookies). | (Not specified) |
0 commit comments