app like that
Xun
Xun

Xun is a web framework built on Go's built-in html/template and net/http package’s router, designed to be lightweight, fast, and easy to use for building web applications with features such as middleware, routing, and template rendering.

Features

ServeMux Router Integration

Xun integrates with Go's built-in net/http.ServeMux router, introduced in version 1.22, enhancing routing capabilities with Go's latest updates.

Template Rendering

Utilizes Go's built-in html/template for server-side rendering, allowing developers to use all built-in actions, pipelines, and functions alongside custom ones registered in HtmlViewEngine.

Response Compression

Offers built-in support for gzip and deflate compression methods, improving data transfer efficiency and performance.

AutoTLS

Automates SSL certificate issuance and renewal using Let's Encrypt or other ACME-based CAs, simplifying secure server deployments.

Dynamic View Engines

Supports multiple view engines like StaticViewEngine, JsonViewEngine, and HtmlViewEngine, with options to add custom engines such as XmlViewEngine.

Middleware Support

Allows addition of middleware functions to run code before a request is completed, enhancing performance, security, and user experience through features like authentication, logging, and path rewriting.

Form and Validate

Incorporates form data binding and validation features with i18n support, streamlining the collection and validation of GET/POST request data in different locales.

Multiple VirtualHosts

Supports configuration of multiple virtual hosts via 'net/http' package's routing, managing several host names pointing to a single address.

Server-Sent Events (SSE)

Facilitates server push technology to deliver automatic updates from a server to the client via an HTTP connection, supporting real-time web applications.