// Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: // - protoc-gen-go-triple v1.0.5 // - protoc v3.9.0 // source: api/supplyinfo/supplyinfo.proto package supplyinfo import ( context "context" protocol "dubbo.apache.org/dubbo-go/v3/protocol" dubbo3 "dubbo.apache.org/dubbo-go/v3/protocol/dubbo3" invocation "dubbo.apache.org/dubbo-go/v3/protocol/invocation" grpc_go "github.com/dubbogo/grpc-go" codes "github.com/dubbogo/grpc-go/codes" metadata "github.com/dubbogo/grpc-go/metadata" status "github.com/dubbogo/grpc-go/status" common "github.com/dubbogo/triple/pkg/common" constant "github.com/dubbogo/triple/pkg/common/constant" triple "github.com/dubbogo/triple/pkg/triple" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc_go.SupportPackageIsVersion7 // SupplyInfoClient is the client API for SupplyInfo service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type SupplyInfoClient interface { GetSupplyInfoList(ctx context.Context, in *GetSupplyInfoListRequest, opts ...grpc_go.CallOption) (*GetSupplyInfoListRespond, common.ErrorWithAttachment) GetSupplyInfo(ctx context.Context, in *GetSupplyInfoRequest, opts ...grpc_go.CallOption) (*GetSupplyInfoData, common.ErrorWithAttachment) UpdateSupplyInfo(ctx context.Context, in *UpdateSupplyInfoRequest, opts ...grpc_go.CallOption) (*UpdateSupplyInfoRespond, common.ErrorWithAttachment) GetVideoList(ctx context.Context, in *GetVideoListRequest, opts ...grpc_go.CallOption) (*GetVideoListRespond, common.ErrorWithAttachment) GetVideo(ctx context.Context, in *GetVideoRequest, opts ...grpc_go.CallOption) (*GetVideoListData, common.ErrorWithAttachment) UpdateVideo(ctx context.Context, in *UpdateVideoRequest, opts ...grpc_go.CallOption) (*UpdateVideoRespond, common.ErrorWithAttachment) GetExamList(ctx context.Context, in *GetExamListRequest, opts ...grpc_go.CallOption) (*GetExamListRespond, common.ErrorWithAttachment) GetExam(ctx context.Context, in *GetExamRequest, opts ...grpc_go.CallOption) (*GetExamListData, common.ErrorWithAttachment) UpdateExam(ctx context.Context, in *UpdateExamRequest, opts ...grpc_go.CallOption) (*UpdateExamRespond, common.ErrorWithAttachment) GetArtistInfoList(ctx context.Context, in *GetArtistInfoListRequest, opts ...grpc_go.CallOption) (*GetArtistInfoListRespond, common.ErrorWithAttachment) GetArtistInfo(ctx context.Context, in *GetArtistInfoRequest, opts ...grpc_go.CallOption) (*GetArtistInfoListData, common.ErrorWithAttachment) UpdateArtistInfo(ctx context.Context, in *UpdateArtistInfoRequest, opts ...grpc_go.CallOption) (*UpdateArtistInfoRespond, common.ErrorWithAttachment) } type supplyInfoClient struct { cc *triple.TripleConn } type SupplyInfoClientImpl struct { GetSupplyInfoList func(ctx context.Context, in *GetSupplyInfoListRequest) (*GetSupplyInfoListRespond, error) GetSupplyInfo func(ctx context.Context, in *GetSupplyInfoRequest) (*GetSupplyInfoData, error) UpdateSupplyInfo func(ctx context.Context, in *UpdateSupplyInfoRequest) (*UpdateSupplyInfoRespond, error) GetVideoList func(ctx context.Context, in *GetVideoListRequest) (*GetVideoListRespond, error) GetVideo func(ctx context.Context, in *GetVideoRequest) (*GetVideoListData, error) UpdateVideo func(ctx context.Context, in *UpdateVideoRequest) (*UpdateVideoRespond, error) GetExamList func(ctx context.Context, in *GetExamListRequest) (*GetExamListRespond, error) GetExam func(ctx context.Context, in *GetExamRequest) (*GetExamListData, error) UpdateExam func(ctx context.Context, in *UpdateExamRequest) (*UpdateExamRespond, error) GetArtistInfoList func(ctx context.Context, in *GetArtistInfoListRequest) (*GetArtistInfoListRespond, error) GetArtistInfo func(ctx context.Context, in *GetArtistInfoRequest) (*GetArtistInfoListData, error) UpdateArtistInfo func(ctx context.Context, in *UpdateArtistInfoRequest) (*UpdateArtistInfoRespond, error) } func (c *SupplyInfoClientImpl) GetDubboStub(cc *triple.TripleConn) SupplyInfoClient { return NewSupplyInfoClient(cc) } func (c *SupplyInfoClientImpl) XXX_InterfaceName() string { return "Supplyinfo.SupplyInfo" } func NewSupplyInfoClient(cc *triple.TripleConn) SupplyInfoClient { return &supplyInfoClient{cc} } func (c *supplyInfoClient) GetSupplyInfoList(ctx context.Context, in *GetSupplyInfoListRequest, opts ...grpc_go.CallOption) (*GetSupplyInfoListRespond, common.ErrorWithAttachment) { out := new(GetSupplyInfoListRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetSupplyInfoList", in, out) } func (c *supplyInfoClient) GetSupplyInfo(ctx context.Context, in *GetSupplyInfoRequest, opts ...grpc_go.CallOption) (*GetSupplyInfoData, common.ErrorWithAttachment) { out := new(GetSupplyInfoData) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetSupplyInfo", in, out) } func (c *supplyInfoClient) UpdateSupplyInfo(ctx context.Context, in *UpdateSupplyInfoRequest, opts ...grpc_go.CallOption) (*UpdateSupplyInfoRespond, common.ErrorWithAttachment) { out := new(UpdateSupplyInfoRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateSupplyInfo", in, out) } func (c *supplyInfoClient) GetVideoList(ctx context.Context, in *GetVideoListRequest, opts ...grpc_go.CallOption) (*GetVideoListRespond, common.ErrorWithAttachment) { out := new(GetVideoListRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetVideoList", in, out) } func (c *supplyInfoClient) GetVideo(ctx context.Context, in *GetVideoRequest, opts ...grpc_go.CallOption) (*GetVideoListData, common.ErrorWithAttachment) { out := new(GetVideoListData) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetVideo", in, out) } func (c *supplyInfoClient) UpdateVideo(ctx context.Context, in *UpdateVideoRequest, opts ...grpc_go.CallOption) (*UpdateVideoRespond, common.ErrorWithAttachment) { out := new(UpdateVideoRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateVideo", in, out) } func (c *supplyInfoClient) GetExamList(ctx context.Context, in *GetExamListRequest, opts ...grpc_go.CallOption) (*GetExamListRespond, common.ErrorWithAttachment) { out := new(GetExamListRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetExamList", in, out) } func (c *supplyInfoClient) GetExam(ctx context.Context, in *GetExamRequest, opts ...grpc_go.CallOption) (*GetExamListData, common.ErrorWithAttachment) { out := new(GetExamListData) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetExam", in, out) } func (c *supplyInfoClient) UpdateExam(ctx context.Context, in *UpdateExamRequest, opts ...grpc_go.CallOption) (*UpdateExamRespond, common.ErrorWithAttachment) { out := new(UpdateExamRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateExam", in, out) } func (c *supplyInfoClient) GetArtistInfoList(ctx context.Context, in *GetArtistInfoListRequest, opts ...grpc_go.CallOption) (*GetArtistInfoListRespond, common.ErrorWithAttachment) { out := new(GetArtistInfoListRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistInfoList", in, out) } func (c *supplyInfoClient) GetArtistInfo(ctx context.Context, in *GetArtistInfoRequest, opts ...grpc_go.CallOption) (*GetArtistInfoListData, common.ErrorWithAttachment) { out := new(GetArtistInfoListData) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtistInfo", in, out) } func (c *supplyInfoClient) UpdateArtistInfo(ctx context.Context, in *UpdateArtistInfoRequest, opts ...grpc_go.CallOption) (*UpdateArtistInfoRespond, common.ErrorWithAttachment) { out := new(UpdateArtistInfoRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateArtistInfo", in, out) } // SupplyInfoServer is the server API for SupplyInfo service. // All implementations must embed UnimplementedSupplyInfoServer // for forward compatibility type SupplyInfoServer interface { GetSupplyInfoList(context.Context, *GetSupplyInfoListRequest) (*GetSupplyInfoListRespond, error) GetSupplyInfo(context.Context, *GetSupplyInfoRequest) (*GetSupplyInfoData, error) UpdateSupplyInfo(context.Context, *UpdateSupplyInfoRequest) (*UpdateSupplyInfoRespond, error) GetVideoList(context.Context, *GetVideoListRequest) (*GetVideoListRespond, error) GetVideo(context.Context, *GetVideoRequest) (*GetVideoListData, error) UpdateVideo(context.Context, *UpdateVideoRequest) (*UpdateVideoRespond, error) GetExamList(context.Context, *GetExamListRequest) (*GetExamListRespond, error) GetExam(context.Context, *GetExamRequest) (*GetExamListData, error) UpdateExam(context.Context, *UpdateExamRequest) (*UpdateExamRespond, error) GetArtistInfoList(context.Context, *GetArtistInfoListRequest) (*GetArtistInfoListRespond, error) GetArtistInfo(context.Context, *GetArtistInfoRequest) (*GetArtistInfoListData, error) UpdateArtistInfo(context.Context, *UpdateArtistInfoRequest) (*UpdateArtistInfoRespond, error) mustEmbedUnimplementedSupplyInfoServer() } // UnimplementedSupplyInfoServer must be embedded to have forward compatible implementations. type UnimplementedSupplyInfoServer struct { proxyImpl protocol.Invoker } func (UnimplementedSupplyInfoServer) GetSupplyInfoList(context.Context, *GetSupplyInfoListRequest) (*GetSupplyInfoListRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSupplyInfoList not implemented") } func (UnimplementedSupplyInfoServer) GetSupplyInfo(context.Context, *GetSupplyInfoRequest) (*GetSupplyInfoData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSupplyInfo not implemented") } func (UnimplementedSupplyInfoServer) UpdateSupplyInfo(context.Context, *UpdateSupplyInfoRequest) (*UpdateSupplyInfoRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSupplyInfo not implemented") } func (UnimplementedSupplyInfoServer) GetVideoList(context.Context, *GetVideoListRequest) (*GetVideoListRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVideoList not implemented") } func (UnimplementedSupplyInfoServer) GetVideo(context.Context, *GetVideoRequest) (*GetVideoListData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVideo not implemented") } func (UnimplementedSupplyInfoServer) UpdateVideo(context.Context, *UpdateVideoRequest) (*UpdateVideoRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateVideo not implemented") } func (UnimplementedSupplyInfoServer) GetExamList(context.Context, *GetExamListRequest) (*GetExamListRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetExamList not implemented") } func (UnimplementedSupplyInfoServer) GetExam(context.Context, *GetExamRequest) (*GetExamListData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetExam not implemented") } func (UnimplementedSupplyInfoServer) UpdateExam(context.Context, *UpdateExamRequest) (*UpdateExamRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateExam not implemented") } func (UnimplementedSupplyInfoServer) GetArtistInfoList(context.Context, *GetArtistInfoListRequest) (*GetArtistInfoListRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtistInfoList not implemented") } func (UnimplementedSupplyInfoServer) GetArtistInfo(context.Context, *GetArtistInfoRequest) (*GetArtistInfoListData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtistInfo not implemented") } func (UnimplementedSupplyInfoServer) UpdateArtistInfo(context.Context, *UpdateArtistInfoRequest) (*UpdateArtistInfoRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateArtistInfo not implemented") } func (s *UnimplementedSupplyInfoServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } func (s *UnimplementedSupplyInfoServer) XXX_GetProxyImpl() protocol.Invoker { return s.proxyImpl } func (s *UnimplementedSupplyInfoServer) XXX_ServiceDesc() *grpc_go.ServiceDesc { return &SupplyInfo_ServiceDesc } func (s *UnimplementedSupplyInfoServer) XXX_InterfaceName() string { return "Supplyinfo.SupplyInfo" } func (UnimplementedSupplyInfoServer) mustEmbedUnimplementedSupplyInfoServer() {} // UnsafeSupplyInfoServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to SupplyInfoServer will // result in compilation errors. type UnsafeSupplyInfoServer interface { mustEmbedUnimplementedSupplyInfoServer() } func RegisterSupplyInfoServer(s grpc_go.ServiceRegistrar, srv SupplyInfoServer) { s.RegisterService(&SupplyInfo_ServiceDesc, srv) } func _SupplyInfo_GetSupplyInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetSupplyInfoListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetSupplyInfoList", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetSupplyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetSupplyInfoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetSupplyInfo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_UpdateSupplyInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSupplyInfoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateSupplyInfo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetVideoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetVideoListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetVideoList", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetVideoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetVideo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_UpdateVideo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateVideoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateVideo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetExamList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetExamListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetExamList", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetExam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetExamRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetExam", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_UpdateExam_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateExamRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateExam", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetArtistInfoList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetArtistInfoListRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetArtistInfoList", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_GetArtistInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetArtistInfoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("GetArtistInfo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } func _SupplyInfo_UpdateArtistInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateArtistInfoRequest) if err := dec(in); err != nil { return nil, err } base := srv.(dubbo3.Dubbo3GrpcService) args := []interface{}{} args = append(args, in) md, _ := metadata.FromIncomingContext(ctx) invAttachment := make(map[string]interface{}, len(md)) for k, v := range md { invAttachment[k] = v } invo := invocation.NewRPCInvocation("UpdateArtistInfo", args, invAttachment) if interceptor == nil { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } info := &grpc_go.UnaryServerInfo{ Server: srv, FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), } handler := func(ctx context.Context, req interface{}) (interface{}, error) { result := base.XXX_GetProxyImpl().Invoke(ctx, invo) return result, result.Error() } return interceptor(ctx, in, info, handler) } // SupplyInfo_ServiceDesc is the grpc_go.ServiceDesc for SupplyInfo service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) var SupplyInfo_ServiceDesc = grpc_go.ServiceDesc{ ServiceName: "Supplyinfo.SupplyInfo", HandlerType: (*SupplyInfoServer)(nil), Methods: []grpc_go.MethodDesc{ { MethodName: "GetSupplyInfoList", Handler: _SupplyInfo_GetSupplyInfoList_Handler, }, { MethodName: "GetSupplyInfo", Handler: _SupplyInfo_GetSupplyInfo_Handler, }, { MethodName: "UpdateSupplyInfo", Handler: _SupplyInfo_UpdateSupplyInfo_Handler, }, { MethodName: "GetVideoList", Handler: _SupplyInfo_GetVideoList_Handler, }, { MethodName: "GetVideo", Handler: _SupplyInfo_GetVideo_Handler, }, { MethodName: "UpdateVideo", Handler: _SupplyInfo_UpdateVideo_Handler, }, { MethodName: "GetExamList", Handler: _SupplyInfo_GetExamList_Handler, }, { MethodName: "GetExam", Handler: _SupplyInfo_GetExam_Handler, }, { MethodName: "UpdateExam", Handler: _SupplyInfo_UpdateExam_Handler, }, { MethodName: "GetArtistInfoList", Handler: _SupplyInfo_GetArtistInfoList_Handler, }, { MethodName: "GetArtistInfo", Handler: _SupplyInfo_GetArtistInfo_Handler, }, { MethodName: "UpdateArtistInfo", Handler: _SupplyInfo_UpdateArtistInfo_Handler, }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "api/supplyinfo/supplyinfo.proto", }