gz

package
v0.0.0-...-9137b47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2014 License: Unlicense Imports: 3 Imported by: 0

Documentation

Overview

Package gz provides an http.Handler, which will gzip-Encode the responses

This is the first time we write a library package. Therefore we should give the package a nice name. It lies in its own directory and can be imported with import github.com/gomicroprojects/yxorp/gz

We didn't necessarily need a library here, but hey, why not.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GzHandler

func GzHandler(h http.Handler) http.Handler

GzHandler takes a handler and will return a new handler, which will gzip-encode the responses

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL