Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
CAFxX committed Jul 17, 2021
1 parent 3d9efe0 commit 59e8d19
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,14 +91,14 @@ http.Handle("/", compress(handler))

The `contrib/` directory contains a number of bundled implementations that are ready for use:

| `Content-Encoding` | Provider package | Implementation package | Notes |
|--------------------|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|----------------------------------------------|
| `gzip` | [contrib/klauspost/gzip](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/gzip) | [github.com/klauspost/compress/gzip](https://github.com/klauspost/compress) | Go implementation, faster than compress/gzip |
| `gzip` | [contrib/klauspost/pgzip](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/pgzip) | [github.com/klauspost/pgzip](https://github.com/klauspost/pgzip) | Go implementation, parallel compression |
| `zstd` | [contrib/klauspost/zstd](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/zstd) | [github.com/klauspost/compress/zstd](https://github.com/klauspost/compress) | Go implementation |
| `zstd` | [contrib/valyala/gozstd](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/valyala/gozstd) | [github.com/valyala/gozstd](https://github.com/valyala/gozstd) | cgo wrapper |
| `brotli` | [contrib/andybalholm/brotli](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/andybalholm/brotli) | [github.com/andybalholm/brotli](https://github.com/andybalholm/brotli) | Go implementation |
| `brotli` | [contrib/google/cbrotli](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/google/cbrotli) | [github.com/google/brotli](https://github.com/google/brotli) | cgo wrapper |
| `Content-Encoding` | Provider package | Implementation package | Notes |
|--------------------|--------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------|--------------------------------------------------------|
| `gzip` | [contrib/klauspost/gzip](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/gzip) | [github.com/klauspost/compress/gzip](https://github.com/klauspost/compress) | Go implementation, faster than compress/gzip |
| `gzip` | [contrib/klauspost/pgzip](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/pgzip) | [github.com/klauspost/pgzip](https://github.com/klauspost/pgzip) | Go implementation, parallel compression |
| `zstd` | [contrib/klauspost/zstd](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/klauspost/zstd) | [github.com/klauspost/compress/zstd](https://github.com/klauspost/compress) | Go implementation |
| `zstd` | [contrib/valyala/gozstd](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/valyala/gozstd) | [github.com/valyala/gozstd](https://github.com/valyala/gozstd) | cgo wrapper |
| `brotli` | [contrib/andybalholm/brotli](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/andybalholm/brotli) | [github.com/andybalholm/brotli](https://github.com/andybalholm/brotli) | Go implementation |
| `brotli` | [contrib/google/cbrotli](https://pkg.go.dev/github.com/CAFxX/httpcompression/contrib/google/cbrotli) | [github.com/google/brotli](https://github.com/google/brotli) | cgo wrapper, requires brotli libraries to be installed |

## Benchmark

Expand Down

0 comments on commit 59e8d19

Please sign in to comment.