|
@@ -74,7 +74,7 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
|
|
(3): Heap Memory (B/op)
|
|
(3): Heap Memory (B/op)
|
|
|
(4): Average Allocations per Repetition (allocs/op)
|
|
(4): Average Allocations per Repetition (allocs/op)
|
|
|
|
|
|
|
|
-##Gin v1. stable
|
|
|
|
|
|
|
+## Gin v1. stable
|
|
|
|
|
|
|
|
- [x] Zero allocation router.
|
|
- [x] Zero allocation router.
|
|
|
- [x] Still the fastest http router and framework. From routing to writing.
|
|
- [x] Still the fastest http router and framework. From routing to writing.
|
|
@@ -84,6 +84,7 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
|
|
|
|
|
|
|
|
|
|
|
|
## Start using it
|
|
## Start using it
|
|
|
|
|
+
|
|
|
1. Download and install it:
|
|
1. Download and install it:
|
|
|
|
|
|
|
|
```sh
|
|
```sh
|
|
@@ -102,7 +103,7 @@ BenchmarkZeus_GithubAll | 2000 | 944234 | 300688 | 2648
|
|
|
import "net/http"
|
|
import "net/http"
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
-##API Examples
|
|
|
|
|
|
|
+## API Examples
|
|
|
|
|
|
|
|
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
|
#### Using GET, POST, PUT, PATCH, DELETE and OPTIONS
|
|
|
|
|
|
|
@@ -712,3 +713,10 @@ endless.ListenAndServe(":4242", router)
|
|
|
An alternative to endless:
|
|
An alternative to endless:
|
|
|
|
|
|
|
|
* [manners](https://github.com/braintree/manners): A polite Go HTTP server that shuts down gracefully.
|
|
* [manners](https://github.com/braintree/manners): A polite Go HTTP server that shuts down gracefully.
|
|
|
|
|
+
|
|
|
|
|
+## Example
|
|
|
|
|
+
|
|
|
|
|
+Awesome project lists using [Gin](https://github.com/gin-gonic/gin) web framework.
|
|
|
|
|
+
|
|
|
|
|
+* [drone](https://github.com/drone/drone): Drone is a Continuous Delivery platform built on Docker, written in Go
|
|
|
|
|
+* [gorush](https://github.com/appleboy/gorush): A push notification server written in Go.
|