From 6b0853e13bd098edfa404e20da1e4f97b583e9ba Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Thu, 11 Feb 2016 12:17:44 +0200 Subject: [PATCH] Mention fasthttpadaptor and expvarhandler in README --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 676ebc3..8844ac4 100644 --- a/README.md +++ b/README.md @@ -308,7 +308,7 @@ fastttp.ListenAndServe(":80", m) * http.Error() -> [ctx.Error()](https://godoc.org/github.com/valyala/fasthttp#RequestCtx.Error) * http.FileServer() -> [fasthttp.FSHandler()](https://godoc.org/github.com/valyala/fasthttp#FSHandler), [fasthttp.FS](https://godoc.org/github.com/valyala/fasthttp#FS) - * http.ServeFile() -> [ctx.ServeFile()](https://godoc.org/github.com/valyala/fasthttp#ServeFile) + * http.ServeFile() -> [fasthttp.ServeFile()](https://godoc.org/github.com/valyala/fasthttp#ServeFile) * http.Redirect() -> [ctx.Redirect()](https://godoc.org/github.com/valyala/fasthttp#RequestCtx.Redirect) * http.NotFound() -> [ctx.NotFound()](https://godoc.org/github.com/valyala/fasthttp#RequestCtx.NotFound) * http.StripPrefix() -> [fasthttp.PathRewriteFunc](https://godoc.org/github.com/valyala/fasthttp#PathRewriteFunc) @@ -339,7 +339,9 @@ by slow [RequestHandler](https://godoc.org/github.com/valyala/fasthttp#RequestHa So [profile](http://blog.golang.org/profiling-go-programs) and optimize your code after switching to fasthttp. -* See also [fasthttputil package](https://godoc.org/github.com/valyala/fasthttp/fasthttputil). +* See also [fasthttputil](https://godoc.org/github.com/valyala/fasthttp/fasthttputil), +[fasthttpadaptor](https://godoc.org/github.com/valyala/fasthttp/fasthttpadaptor) and +[expvarhandler](https://godoc.org/github.com/valyala/fasthttp/expvarhandler). # Performance optimization tips for multi-core systems