🚧 Under Development 🚧
This software is currently in development and is not yet production-ready.
Please be aware that features may change, and the application may contain bugs or incomplete functionality. Use at your own risk, and feel free to contribute or provide feedback!
FNS (FastNetServer)
Welcome to FNS, a high-performance HTTP server designed to meet the demands of modern web applications. Built on the robust foundations of fasthttp, FNS offers enhanced compatibility with HTTP/2.0 and provides unbuffered responses for superior performance.
🚀 Features
- Blazing Fast Performance: Experience lightning-fast request processing.
- HTTP/2.0 Compatibility: Full support for the latest HTTP protocol.
- Unbuffered Responses: Real-time data delivery without buffering.
- Ease of Use: Simple API designed for developers.
- Scalability: Efficient resource management for handling large volumes of traffic.
📦 Installation
Get started with FNS in just a few steps.
Prerequisites
Ensure you have Go installed on your machine. Download Go
Installing FNS
go get -u github.com/pablolagos/fns
🛠 Usage
Setting up a basic FNS server is straightforward. Here's a quick example:
package main
import (
"github.com/pablolagos/fns"
"log"
)
func main() {
fns.Get("/hello", func(ctx *fns.RequestCtx) {
ctx.WriteString("Hello, World!")
})
log.Println("Starting server on :8080")
if err := fns.ListenAndServe(":8080", nil); err != nil {
log.Fatalf("Error starting server: %s", err)
}
}
📖 Documentation
Detailed documentation is available on our wiki. Here are some quick links to get you started:
- Getting Started
- HTTP/2.0 Setup
- Examples
🤝 Contributing
We welcome contributions from the community! Please read our Contributing Guidelines to get started.
📝 License
FNS is licensed under the MIT License. See the LICENSE file for more details.
🌟 Acknowledgements
FNS is based on the incredible work done by FastHTTP created by Aliaksandr Valialkin, VertaMedia, Kirill Danshin, Erik Dubbelboer and all FastHTTP Authors.
Made with ❤️ for a faster web.