File tree 12 files changed +18
-25
lines changed
12 files changed +18
-25
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# fastglue
2
- Fastglue is a "glue" wrapper over fasthttp and fasthttprouter.
3
2
4
- Currently, fastglue is successfully being used at [ Zerodha] ( https://REDACTED ) in production serving millions of requests per second.
3
+ Fastglue is a "glue" wrapper over [ fasthttp] ( https://github.com/valyala/fasthttp ) and [ fasthttprouter] ( https://github.com/fasthttp/router ) .
4
+
5
+ Currently, fastglue is successfully used at [ Zerodha] ( https://zerodha.com ) in production serving millions of requests per second.
5
6
6
7
## Install
8
+
7
9
``` bash
8
- go get -u REDACTED /fastglue
10
+ go get -u github.com/zerodha /fastglue
9
11
```
10
12
11
13
## Usage
14
+
12
15
``` go
13
- import " REDACTED /fastglue"
16
+ import " github.com/zerodha /fastglue"
14
17
```
15
18
16
-
17
19
## Examples
20
+
18
21
- [ HelloWorld Server] ( examples/helloworld )
19
22
- [ Middleware] ( examples/middleware )
20
23
- [ Before-after middleware] ( examples/before-after )
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/valyala/fasthttp"
11
- "REDACTED /fastglue"
11
+ "github.com/zerodha /fastglue"
12
12
)
13
13
14
14
var (
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
"github.com/valyala/fasthttp"
10
- "REDACTED /fastglue"
10
+ "github.com/zerodha /fastglue"
11
11
)
12
12
13
13
var (
Original file line number Diff line number Diff line change 6
6
7
7
"github.com/gorilla/schema"
8
8
"github.com/valyala/fasthttp"
9
- "REDACTED /fastglue"
9
+ "github.com/zerodha /fastglue"
10
10
)
11
11
12
12
// App is the global config "context" that'll be injected into every Request.
Original file line number Diff line number Diff line change 9
9
"time"
10
10
11
11
"github.com/valyala/fasthttp"
12
- "REDACTED /fastglue"
12
+ "github.com/zerodha /fastglue"
13
13
)
14
14
15
15
var (
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
"github.com/valyala/fasthttp"
10
- "REDACTED /fastglue"
10
+ "github.com/zerodha /fastglue"
11
11
)
12
12
13
13
var (
Original file line number Diff line number Diff line change 9
9
"time"
10
10
11
11
"github.com/valyala/fasthttp"
12
- "REDACTED /fastglue"
12
+ "github.com/zerodha /fastglue"
13
13
)
14
14
15
15
var (
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/valyala/fasthttp"
11
- "REDACTED /fastglue"
11
+ "github.com/zerodha /fastglue"
12
12
)
13
13
14
14
var (
Original file line number Diff line number Diff line change 8
8
"time"
9
9
10
10
"github.com/valyala/fasthttp"
11
- "REDACTED /fastglue"
11
+ "github.com/zerodha /fastglue"
12
12
)
13
13
14
14
var (
Original file line number Diff line number Diff line change 6
6
"time"
7
7
8
8
"github.com/valyala/fasthttp"
9
- "REDACTED /fastglue"
9
+ "github.com/zerodha /fastglue"
10
10
)
11
11
12
12
var (
Original file line number Diff line number Diff line change 1
- module REDACTED /fastglue
1
+ module github.com/zerodha /fastglue
2
2
3
3
go 1.14
4
4
You can’t perform that action at this time.
0 commit comments