grpcweb-example

An example implementation of a GopherJS client and a Go server using the Improbable gRPC-Web implementation

Github星跟踪图

Go gRPC-Web Example

Circle CI
Go Report Card
GoDoc

gRPC-Web Gopher by Egon Elbre (@egonelbre)

An example implementation of a
GopherJS React
client talking to a Go gRPC server using the Improbable gRPC-Web client implementation and proxy through the
protoc-gen-gopherjs
bindings generator.

A live demo of this application can be found on
https://grpcweb.jbrandhorst.com.

Developing

To run the server on https://localhost:10000:

$ go run main.go

Then you'll need to also install some vendored generators:

$ make install

After that, any changes you make to the proto file in ./proto/ or the JS client code
in ./client/ should be followed by

$ make regenerate

You may need to generate the client code twice as the first time will run reactGen and
immutableGen which might be necessary for the subsequent gopherjs build to work.

主要指标

概览
名称与所有者johanbrandhorst/grpcweb-example
主编程语言Go
编程语言Go (语言数: 4)
平台
许可证MIT License
所有者活动
创建于2017-05-16 20:09:55
推送于2021-06-07 02:51:21
最后一次提交2021-06-06 22:48:25
发布数0
用户参与
星数95
关注者数9
派生数12
提交数184
已启用问题?
问题数17
打开的问题数1
拉请求数10
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?