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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?