johanbrandhorst / grpcweb-example

An example implementation of a GopherJS client and a Go server using the Improbable gRPC-Web implementation
MIT License
95 stars 12 forks source link

Use https://github.com/dave/jsgo for hosting the JS #16

Closed johanbrandhorst closed 6 years ago

johanbrandhorst commented 6 years ago

Since this example runs in the real world, it could benefit from the CDN caching provided by https://github.com/dave/jsgo.

johanbrandhorst commented 6 years ago

See https://github.com/dave/ebiten/blob/master/examples/2048/index.jsgo.html for an example of a loading bar.

johanbrandhorst commented 6 years ago

Could potentially automate publishes:

go get -u github.com/alexanderGugel/wsd
wsd -origin=https://compile.jsgo.io/ -url=wss://compile.jsgo.io/_ws/johanbrandhorst/grpcweb-example/client
johanbrandhorst commented 6 years ago

Fixed by 17eca2c