starpc 0.33.0 → 0.33.1
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 +0 -26
- package/mock/mock_srpc.pb.go +0 -6
- package/package.json +1 -1
package/echo/echo_srpc.pb.go
CHANGED
|
@@ -224,32 +224,6 @@ type SRPCEchoerServer interface {
|
|
|
224
224
|
DoNothing(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
type SRPCEchoerUnimplementedServer struct{}
|
|
228
|
-
|
|
229
|
-
func (s *SRPCEchoerUnimplementedServer) Echo(context.Context, *EchoMsg) (*EchoMsg, error) {
|
|
230
|
-
return nil, srpc.ErrUnimplemented
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
func (s *SRPCEchoerUnimplementedServer) EchoServerStream(*EchoMsg, SRPCEchoer_EchoServerStreamStream) error {
|
|
234
|
-
return srpc.ErrUnimplemented
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
func (s *SRPCEchoerUnimplementedServer) EchoClientStream(SRPCEchoer_EchoClientStreamStream) (*EchoMsg, error) {
|
|
238
|
-
return nil, srpc.ErrUnimplemented
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
func (s *SRPCEchoerUnimplementedServer) EchoBidiStream(SRPCEchoer_EchoBidiStreamStream) error {
|
|
242
|
-
return srpc.ErrUnimplemented
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
func (s *SRPCEchoerUnimplementedServer) RpcStream(SRPCEchoer_RpcStreamStream) error {
|
|
246
|
-
return srpc.ErrUnimplemented
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
func (s *SRPCEchoerUnimplementedServer) DoNothing(context.Context, *emptypb.Empty) (*emptypb.Empty, error) {
|
|
250
|
-
return nil, srpc.ErrUnimplemented
|
|
251
|
-
}
|
|
252
|
-
|
|
253
227
|
const SRPCEchoerServiceID = "echo.Echoer"
|
|
254
228
|
|
|
255
229
|
type SRPCEchoerHandler struct {
|
package/mock/mock_srpc.pb.go
CHANGED
|
@@ -47,12 +47,6 @@ type SRPCMockServer interface {
|
|
|
47
47
|
MockRequest(context.Context, *MockMsg) (*MockMsg, error)
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
type SRPCMockUnimplementedServer struct{}
|
|
51
|
-
|
|
52
|
-
func (s *SRPCMockUnimplementedServer) MockRequest(context.Context, *MockMsg) (*MockMsg, error) {
|
|
53
|
-
return nil, srpc.ErrUnimplemented
|
|
54
|
-
}
|
|
55
|
-
|
|
56
50
|
const SRPCMockServiceID = "e2e.mock.Mock"
|
|
57
51
|
|
|
58
52
|
type SRPCMockHandler struct {
|