package
0.7.1
Repository: https://github.com/johanbrandhorst/protobuf.git
Documentation: pkg.go.dev

# README

GopherJS bindings for Improbable's gRPC-Web implementation

GoDoc

This package provides GopherJS bindings for Improbable's gRPC-web implementation.

The API is still experimental, and is not currently intended for general use outside of via the GopherJS protoc compiler plugin. See the protoc-gen-gopherjs README for more information on generating the interface.

# Packages

No description provided by the author
Package status provides a gRPC Status struct compatible with the Improbable gRPC-web trailers and errors.
No description provided by the author

# Functions

ForceWebsocketTransport forces this call to use the Websocket transport.
Header returns a CallOptions that retrieves the header metadata for a unary RPC.
NewClient creates a new Client.
Trailer returns a CallOptions that retrieves the trailer metadata for a unary RPC.
WithDefaultCallOptions sets the options to be used as default CallOptions for all the calls on this client.

# Constants

GrpcWebPackageIsVersion3 is referenced from generated protocol buffer files to assert that that code is compatible with this version of the proto package.

# Structs

Client encapsulates all gRPC calls to a host-service combination.

# Interfaces

CallOption is an interface for any Call Options.
ClientStream is implemented by clientStreamClient.

# Type aliases

DialOption is a stub for any dial options that may be implemented.