SkillAgentSearch skills...

Gzip

Package gzip is a middleware that provides gzip compression to responses for Flamego

Install / Use

/learn @flamego/Gzip
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

gzip

GitHub Workflow Status GoDoc

Package gzip is a middleware that provides gzip compression to responses for Flamego.

Installation

go get github.com/flamego/gzip

Getting started

package main

import (
	"github.com/flamego/flamego"
	"github.com/flamego/gzip"
)

func main() {
	f := flamego.Classic()
	f.Use(gzip.Gzip())
	f.Get("/", func() string {
		return "ok"
	})
	f.Run()
}

Getting help

License

This project is under the MIT License. See the LICENSE file for the full license text.

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated7mo ago
Forks1

Languages

Go

Security Score

82/100

Audited on Aug 3, 2025

No findings