mosuka / blast

Blast is a full text search and indexing server, written in Go, built on top of Bleve.
Apache License 2.0
1.08k stars 76 forks source link

grpc gen ( web and non web) #108

Open joeblew99 opened 4 years ago

joeblew99 commented 4 years ago

Just adding this for generating different languages. https://github.com/johanbrandhorst/grpc-web-generators

winwisely99 commented 4 years ago

The more extensible option is to use envoy .

It does full grpc-web

It can be run on arm and AMD.

Will make a PR if this is welcomed ??

winwisely99 commented 4 years ago

It would mean that these imports are not needed.

github.com/grpc-ecosystem/go-grpc-middleware v1.2.0 github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 github.com/grpc-ecosystem/grpc-gateway

Envoy does this at runtime and is very fast

mosuka commented 4 years ago

@winwisely99 PR for the grpc-web layer is welcome. :) But I'd like to keep the code that uses grpc-midlleware, etc., in case I don't use Envoy.