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

11
11
12
12
Fox is a lightweight and high performance HTTP request router for [Go](https://go.dev/), designed for building reverse proxies,
13
13
API gateways, or other applications that require managing routes at runtime based on configuration changes or external events.
@@ -37,7 +37,7 @@ the canonical path, or enforcing strict matching based on your needs.
37
37
38
38
**Client IP Derivation:** Accurately determine the "real" client IP address using best practices tailored to your network topology.
39
39
40
-
**Rich middleware ecosystem:** Fox offers a robust ecosystem of prebuilt, high-quality middlewares, ready to integrate into your application.
40
+
**Growing middleware ecosystem:** Fox's middleware ecosystem is still limited, but standard `http.Handler` middleware are fully compatible. Contributions are welcome!
41
41
42
42
---
43
43
*[Getting started](#getting-started)
@@ -74,7 +74,7 @@ the canonical path, or enforcing strict matching based on your needs.
74
74
#### Install
75
75
With a [correctly configured](https://go.dev/doc/install#testing) Go toolchain:
76
76
```shell
77
-
go get -u github.com/tigerwill90/fox
77
+
go get -u github.com/fox-toolkit/fox
78
78
```
79
79
80
80
#### Basic example
@@ -87,7 +87,7 @@ import (
87
87
"log"
88
88
"net/http"
89
89
90
-
"github.com/tigerwill90/fox"
90
+
"github.com/fox-toolkit/fox"
91
91
)
92
92
93
93
funcHelloServer(c *fox.Context) {
@@ -107,8 +107,8 @@ func main() {
107
107
108
108
#### Named parameters
109
109
Routes can include named parameters using curly braces `{name}` to match exactly one non-empty route segment. The matching
110
-
segment are recorder as [Param](https://pkg.go.dev/github.com/tigerwill90/fox#Param) and accessible via the
111
-
[Context](https://pkg.go.dev/github.com/tigerwill90/fox#Context). Named parameters are supported anywhere in
110
+
segment are recorder as [Param](https://pkg.go.dev/github.com/fox-toolkit/fox#Param) and accessible via the
111
+
[Context](https://pkg.go.dev/github.com/fox-toolkit/fox#Context). Named parameters are supported anywhere in
112
112
the route, but only one parameter is allowed per segment (or hostname label) and must appear at the end of the segment.
@@ -906,8 +904,8 @@ allowing it to serve as a building block for implementing your own "batteries in
906
904
907
905
Fox is licensed under the **Apache License 2.0**. See [`LICENSE.txt`](./LICENSE.txt) for details.
908
906
909
-
The [**Fox logo**](https://github.com/tigerwill90/fox/blob/static/fox_logo.png) is licensed separately under [**CC BY-NC-ND 4.0**](https://creativecommons.org/licenses/by-nc-nd/4.0/?ref=chooser-v1).
910
-
See [`LICENSE-fox-logo.txt`](https://github.com/tigerwill90/fox/blob/static/LICENSE-fox-logo.txt) for details.
907
+
The [**Fox logo**](https://github.com/fox-toolkit/fox/blob/static/fox_logo.png) is licensed separately under [**CC BY-NC-ND 4.0**](https://creativecommons.org/licenses/by-nc-nd/4.0/?ref=chooser-v1).
908
+
See [`LICENSE-fox-logo.txt`](https://github.com/fox-toolkit/fox/blob/static/LICENSE-fox-logo.txt) for details.
911
909
912
910
## Acknowledgements
913
911
-[hashicorp/go-immutable-radix](https://github.com/hashicorp/go-immutable-radix): Fox Tree design is inspired by Hashicorp's Immutable Radix Tree.
0 commit comments