goa: github.com/goadesign/goa/middleware/gzip Index | Files

package gzip

import "github.com/goadesign/goa/middleware/gzip"

Index

Package Files

doc.go middleware.go

func Middleware Uses

func Middleware(level int) goa.Middleware

Middleware encodes the response using Gzip encoding and sets all the appropriate headers. If the Content-Type is not set, it will be set by calling http.DetectContentType on the data being written.

Package gzip imports 7 packages (graph) and is imported by 2 packages. Updated 2016-07-22. Refresh now. Tools for package owners.