This module wraps the FastHTTP server engine. Please note that it does not support WebSockets.
Set the following keys in your application’s app.conf:
- server.engine You must set this to
fasthttpin order to use this server engine
- module.fasthttp You must set this to
github.com/revel/modules/server-engine/fasthttpto register the fasthttp server engine
All features from supported by a regular HTTP engine is supported by this server engine. Memory usage is decreased because this engine makes reuse of allocated structures to handle requests. This should also increase overall runtime performance and throughput. Results are not buffered as well.