GopherJS Bindings for ProtobufJS and gRPC-Web
GopherJS Protobuf Generator
This is a GopherJS client code generator for the Google Protobuf format.
It generates code for interfacing with any gRPC services exposing a
gRPC-Web spec compatible interface. It uses jspb
and grpcweb
.
It is the main entrypoint for using the protobuf/gRPC GopherJS bindings.
GopherJS ProtobufJS Bindings
This is a simple GopherJS binding around the npm google-protobuf
package.
Importing it into any GopherJS source allows usage of ProtobufJS functionality.
GopherJS gRPC-Web Client Bindings
This is a GopherJS binding around the Improbable gRPC-Web client. It also exposes functions for making websocket calls. It is not intended for public use.
Websocket proxy library
This is a library for intercepting websocket connections and translating them to gRPC streams.
Contributions
Contributions are very welcome, please submit issues and PRs for review.
Demo
See the example repo and the demo website for an example use of the Protobuf and gRPC-Web bindings.