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.
- package/echo/echo_srpc.pb.go +4 -0
- package/package.json +1 -1
package/echo/echo_srpc.pb.go
CHANGED
|
@@ -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
|
}
|