Skip to content

Commit

Permalink
enable gzip compressor (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktr0731 authored Sep 11, 2019
1 parent e507b3a commit 76fa7ae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ So, you can format it by any commands like `jq`. Also, if you want to use the sa
- [Server streaming RPC](#server-streaming-rpc-1)
- [Bidirectional streaming RPC](#bidirectional-streaming-rpc-1)
- [Other features](#other-features)
- [gRPC Web](#grpc-web)
- [gRPC-Web](#grpc-web)
- [Supported IDL (interface definition language)](#supported-idl-interface-definition-language)
- [Supported Codec](#supported-codec)
- [Supported Compressor](#supported-compressor)
- [See Also](#see-also)


Expand Down Expand Up @@ -475,16 +477,22 @@ $ echo '{ "name": "foo" } { "name": "bar" }' | evans -r --service Example --call
```

## Other features
### gRPC Web
Evans also support gRPC Web protocol.
Tested gRPC Web implementations are:
### gRPC-Web
Evans also support gRPC-Web protocol.
Tested gRPC-Web implementations are:
- [improbable-eng/grpc-web](https://github.com/improbable-eng/grpc-web)

At the moment TLS is not supported for gRPC Web.
At the moment TLS is not supported for gRPC-Web.

## Supported IDL (interface definition language)
- [Protocol Buffers 3](https://developers.google.com/protocol-buffers/)

## Supported Codec
- [Protocol Buffers 3](https://developers.google.com/protocol-buffers/)

## Supported Compressor
- [GZIP](https://godoc.org/google.golang.org/grpc/encoding/gzip)

## See Also
Evans (DJ YOSHITAKA)
[![Evans](https://user-images.githubusercontent.com/12953836/47862601-da7d9c00-de38-11e8-80be-9fc981903f6c.png)](https://itunes.apple.com/jp/album/jubeat-original-soundtrack/id325295989)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

[meta]
autoupdate = false
configversion = "0.8.2"
configversion = "0.8.3"
updatelevel = "patch"

[repl]
Expand Down
3 changes: 3 additions & 0 deletions grpc/compressor.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
package grpc

import _ "google.golang.org/grpc/encoding/gzip" // GZIP
2 changes: 1 addition & 1 deletion meta/meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ import version "github.com/hashicorp/go-version"
const AppName = "evans"

var (
Version = version.Must(version.NewSemver("0.8.2"))
Version = version.Must(version.NewSemver("0.8.3"))
)

0 comments on commit 76fa7ae

Please sign in to comment.