diff options
author | Aliaksandr Valialkin <valyala@gmail.com> | 2016-05-11 20:40:03 +0300 |
---|---|---|
committer | Aliaksandr Valialkin <valyala@gmail.com> | 2016-05-11 20:40:03 +0300 |
commit | 4e35fde934e99a24e62aa50417d9097e8ee2e898 (patch) | |
tree | 2ab56004c097def5edab4a82b315d9ea6b6aa8c5 /README.md | |
parent | Fixed a typo (diff) | |
download | fasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.tar.gz fasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.tar.bz2 fasthttp-4e35fde934e99a24e62aa50417d9097e8ee2e898.zip |
Issue #95: added an installation section to README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -16,6 +16,8 @@ connections per physical server. [Client Benchmarks](#http-client-comparison-with-nethttp) +[Install](#install) + [Documentation](https://godoc.org/github.com/valyala/fasthttp) [Examples from docs](https://godoc.org/github.com/valyala/fasthttp#pkg-examples) @@ -152,6 +154,14 @@ BenchmarkClientGetEndToEnd100Inmemory-4 10000000 1329 ns/ BenchmarkClientGetEndToEnd1000Inmemory-4 10000000 1316 ns/op 5 B/op 0 allocs/op ``` + +# Install + +``` +go get -u github.com/valyala/fasthttp +``` + + # Switching from net/http to fasthttp Unfortunately, fasthttp doesn't provide API identical to net/http. |