starpc 0.10.8 → 0.10.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -295,6 +295,10 @@ func (SRPCEchoerHandler) InvokeMethod_RpcStream(impl SRPCEchoerServer, strm srpc
295
295
  return impl.RpcStream(clientStrm)
296
296
  }
297
297
 
298
+ func NewSRPCEchoerHandler(impl SRPCEchoerServer) srpc.Handler {
299
+ return &SRPCEchoerHandler{impl: impl}
300
+ }
301
+
298
302
  func SRPCRegisterEchoer(mux srpc.Mux, impl SRPCEchoerServer) error {
299
303
  return mux.Register(&SRPCEchoerHandler{impl: impl})
300
304
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "starpc",
3
- "version": "0.10.8",
3
+ "version": "0.10.9",
4
4
  "description": "Streaming protobuf RPC service protocol over any two-way channel.",
5
5
  "license": "MIT",
6
6
  "author": {