Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/pablolagos/fns

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/pablolagos/fns

  • v0.0.0-20240824113935-3b553891c4a1
  • Source
  • Go
  • Socket score

Version published
Created
Source

🚧 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.

FNS Logo

🚀 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.

FAQs

Package last updated on 24 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc