// Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: // - protoc-gen-go-triple v1.0.5 // - protoc v4.23.3 // source: approvalFork.proto package approvalFork 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 // ApprovalForkClient is the client API for ApprovalFork 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 ApprovalForkClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) UsedNumByUser(ctx context.Context, in *UsedNumByUserRequest, opts ...grpc_go.CallOption) (*UsedNumByUserResponse, common.ErrorWithAttachment) UpdateExhibitionApplyID(ctx context.Context, in *UpdateEhApplyIDRequest, opts ...grpc_go.CallOption) (*UpdateEhApplyIDResponse, common.ErrorWithAttachment) Detail(ctx context.Context, in *DetailRequest, opts ...grpc_go.CallOption) (*CreateRequest, common.ErrorWithAttachment) Update(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*RemoveResponse, common.ErrorWithAttachment) MyWork(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) MySubmit(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) NowLevelByInfo(ctx context.Context, in *NowLevelByInfoRequest, opts ...grpc_go.CallOption) (*WorkFlowResponse, common.ErrorWithAttachment) Information(ctx context.Context, in *InformationRequest, opts ...grpc_go.CallOption) (*InformationResponse, common.ErrorWithAttachment) Viewed(ctx context.Context, in *ViewedRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) SetStatus(ctx context.Context, in *StatusRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) DetailSetting(ctx context.Context, in *DetailSettingRequest, opts ...grpc_go.CallOption) (*SettingRequest, common.ErrorWithAttachment) UpdateSetting(ctx context.Context, in *SettingRequest, opts ...grpc_go.CallOption) (*SettingResponse, common.ErrorWithAttachment) IsExistPayRight(ctx context.Context, in *IsExistPayRightRequest, opts ...grpc_go.CallOption) (*IsExistPayRightResponse, common.ErrorWithAttachment) ChangeBundlePay(ctx context.Context, in *ChangeBundlePayRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) CreateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) DetailType(ctx context.Context, in *TypeResponse, opts ...grpc_go.CallOption) (*CreateTypeRequest, common.ErrorWithAttachment) UpdateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) AllType(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllTypeResponse, common.ErrorWithAttachment) RemoveType(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) AllGroup(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllGroupResponse, common.ErrorWithAttachment) // 财务报表审批 GetName(ctx context.Context, in *GetNameRequest, opts ...grpc_go.CallOption) (*GetNameResponse, common.ErrorWithAttachment) // OA审批 更新 OA系统的 UUID UpdateApprovalOAUUID(ctx context.Context, in *UpdateApprovalOAUUIDReq, opts ...grpc_go.CallOption) (*UpdateApprovalOAUUIDResponse, common.ErrorWithAttachment) } type approvalForkClient struct { cc *triple.TripleConn } type ApprovalForkClientImpl struct { Create func(ctx context.Context, in *CreateRequest) (*ApprovalResponse, error) UsedNumByUser func(ctx context.Context, in *UsedNumByUserRequest) (*UsedNumByUserResponse, error) UpdateExhibitionApplyID func(ctx context.Context, in *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) Detail func(ctx context.Context, in *DetailRequest) (*CreateRequest, error) Update func(ctx context.Context, in *CreateRequest) (*ApprovalResponse, error) Remove func(ctx context.Context, in *RemoveRequest) (*RemoveResponse, error) MyWork func(ctx context.Context, in *ListRequest) (*ListResponse, error) MySubmit func(ctx context.Context, in *ListRequest) (*ListResponse, error) NowLevelByInfo func(ctx context.Context, in *NowLevelByInfoRequest) (*WorkFlowResponse, error) Information func(ctx context.Context, in *InformationRequest) (*InformationResponse, error) Viewed func(ctx context.Context, in *ViewedRequest) (*ApprovalResponse, error) SetStatus func(ctx context.Context, in *StatusRequest) (*StatusResponse, error) DetailSetting func(ctx context.Context, in *DetailSettingRequest) (*SettingRequest, error) UpdateSetting func(ctx context.Context, in *SettingRequest) (*SettingResponse, error) IsExistPayRight func(ctx context.Context, in *IsExistPayRightRequest) (*IsExistPayRightResponse, error) ChangeBundlePay func(ctx context.Context, in *ChangeBundlePayRequest) (*CommonResponse, error) CreateType func(ctx context.Context, in *CreateTypeRequest) (*TypeResponse, error) DetailType func(ctx context.Context, in *TypeResponse) (*CreateTypeRequest, error) UpdateType func(ctx context.Context, in *CreateTypeRequest) (*TypeResponse, error) AllType func(ctx context.Context, in *CommonRequest) (*AllTypeResponse, error) RemoveType func(ctx context.Context, in *RemoveRequest) (*StatusResponse, error) AllGroup func(ctx context.Context, in *CommonRequest) (*AllGroupResponse, error) GetName func(ctx context.Context, in *GetNameRequest) (*GetNameResponse, error) UpdateApprovalOAUUID func(ctx context.Context, in *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) } func (c *ApprovalForkClientImpl) GetDubboStub(cc *triple.TripleConn) ApprovalForkClient { return NewApprovalForkClient(cc) } func (c *ApprovalForkClientImpl) XXX_InterfaceName() string { return "approvalFork.ApprovalFork" } func NewApprovalForkClient(cc *triple.TripleConn) ApprovalForkClient { return &approvalForkClient{cc} } func (c *approvalForkClient) Create(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Create", in, out) } func (c *approvalForkClient) UsedNumByUser(ctx context.Context, in *UsedNumByUserRequest, opts ...grpc_go.CallOption) (*UsedNumByUserResponse, common.ErrorWithAttachment) { out := new(UsedNumByUserResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UsedNumByUser", in, out) } func (c *approvalForkClient) UpdateExhibitionApplyID(ctx context.Context, in *UpdateEhApplyIDRequest, opts ...grpc_go.CallOption) (*UpdateEhApplyIDResponse, common.ErrorWithAttachment) { out := new(UpdateEhApplyIDResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateExhibitionApplyID", in, out) } func (c *approvalForkClient) Detail(ctx context.Context, in *DetailRequest, opts ...grpc_go.CallOption) (*CreateRequest, common.ErrorWithAttachment) { out := new(CreateRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Detail", in, out) } func (c *approvalForkClient) Update(ctx context.Context, in *CreateRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Update", in, out) } func (c *approvalForkClient) Remove(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*RemoveResponse, common.ErrorWithAttachment) { out := new(RemoveResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Remove", in, out) } func (c *approvalForkClient) MyWork(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) { out := new(ListResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/MyWork", in, out) } func (c *approvalForkClient) MySubmit(ctx context.Context, in *ListRequest, opts ...grpc_go.CallOption) (*ListResponse, common.ErrorWithAttachment) { out := new(ListResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/MySubmit", in, out) } func (c *approvalForkClient) NowLevelByInfo(ctx context.Context, in *NowLevelByInfoRequest, opts ...grpc_go.CallOption) (*WorkFlowResponse, common.ErrorWithAttachment) { out := new(WorkFlowResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/NowLevelByInfo", in, out) } func (c *approvalForkClient) Information(ctx context.Context, in *InformationRequest, opts ...grpc_go.CallOption) (*InformationResponse, common.ErrorWithAttachment) { out := new(InformationResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Information", in, out) } func (c *approvalForkClient) Viewed(ctx context.Context, in *ViewedRequest, opts ...grpc_go.CallOption) (*ApprovalResponse, common.ErrorWithAttachment) { out := new(ApprovalResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/Viewed", in, out) } func (c *approvalForkClient) SetStatus(ctx context.Context, in *StatusRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) { out := new(StatusResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/SetStatus", in, out) } func (c *approvalForkClient) DetailSetting(ctx context.Context, in *DetailSettingRequest, opts ...grpc_go.CallOption) (*SettingRequest, common.ErrorWithAttachment) { out := new(SettingRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DetailSetting", in, out) } func (c *approvalForkClient) UpdateSetting(ctx context.Context, in *SettingRequest, opts ...grpc_go.CallOption) (*SettingResponse, common.ErrorWithAttachment) { out := new(SettingResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateSetting", in, out) } func (c *approvalForkClient) IsExistPayRight(ctx context.Context, in *IsExistPayRightRequest, opts ...grpc_go.CallOption) (*IsExistPayRightResponse, common.ErrorWithAttachment) { out := new(IsExistPayRightResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/IsExistPayRight", in, out) } func (c *approvalForkClient) ChangeBundlePay(ctx context.Context, in *ChangeBundlePayRequest, opts ...grpc_go.CallOption) (*CommonResponse, common.ErrorWithAttachment) { out := new(CommonResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ChangeBundlePay", in, out) } func (c *approvalForkClient) CreateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) { out := new(TypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CreateType", in, out) } func (c *approvalForkClient) DetailType(ctx context.Context, in *TypeResponse, opts ...grpc_go.CallOption) (*CreateTypeRequest, common.ErrorWithAttachment) { out := new(CreateTypeRequest) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/DetailType", in, out) } func (c *approvalForkClient) UpdateType(ctx context.Context, in *CreateTypeRequest, opts ...grpc_go.CallOption) (*TypeResponse, common.ErrorWithAttachment) { out := new(TypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateType", in, out) } func (c *approvalForkClient) AllType(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllTypeResponse, common.ErrorWithAttachment) { out := new(AllTypeResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AllType", in, out) } func (c *approvalForkClient) RemoveType(ctx context.Context, in *RemoveRequest, opts ...grpc_go.CallOption) (*StatusResponse, common.ErrorWithAttachment) { out := new(StatusResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/RemoveType", in, out) } func (c *approvalForkClient) AllGroup(ctx context.Context, in *CommonRequest, opts ...grpc_go.CallOption) (*AllGroupResponse, common.ErrorWithAttachment) { out := new(AllGroupResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/AllGroup", in, out) } func (c *approvalForkClient) GetName(ctx context.Context, in *GetNameRequest, opts ...grpc_go.CallOption) (*GetNameResponse, common.ErrorWithAttachment) { out := new(GetNameResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetName", in, out) } func (c *approvalForkClient) UpdateApprovalOAUUID(ctx context.Context, in *UpdateApprovalOAUUIDReq, opts ...grpc_go.CallOption) (*UpdateApprovalOAUUIDResponse, common.ErrorWithAttachment) { out := new(UpdateApprovalOAUUIDResponse) interfaceKey := ctx.Value(constant.InterfaceKey).(string) return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/UpdateApprovalOAUUID", in, out) } // ApprovalForkServer is the server API for ApprovalFork service. // All implementations must embed UnimplementedApprovalForkServer // for forward compatibility type ApprovalForkServer interface { Create(context.Context, *CreateRequest) (*ApprovalResponse, error) UsedNumByUser(context.Context, *UsedNumByUserRequest) (*UsedNumByUserResponse, error) UpdateExhibitionApplyID(context.Context, *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) Detail(context.Context, *DetailRequest) (*CreateRequest, error) Update(context.Context, *CreateRequest) (*ApprovalResponse, error) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) MyWork(context.Context, *ListRequest) (*ListResponse, error) MySubmit(context.Context, *ListRequest) (*ListResponse, error) NowLevelByInfo(context.Context, *NowLevelByInfoRequest) (*WorkFlowResponse, error) Information(context.Context, *InformationRequest) (*InformationResponse, error) Viewed(context.Context, *ViewedRequest) (*ApprovalResponse, error) SetStatus(context.Context, *StatusRequest) (*StatusResponse, error) DetailSetting(context.Context, *DetailSettingRequest) (*SettingRequest, error) UpdateSetting(context.Context, *SettingRequest) (*SettingResponse, error) IsExistPayRight(context.Context, *IsExistPayRightRequest) (*IsExistPayRightResponse, error) ChangeBundlePay(context.Context, *ChangeBundlePayRequest) (*CommonResponse, error) CreateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) DetailType(context.Context, *TypeResponse) (*CreateTypeRequest, error) UpdateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) AllType(context.Context, *CommonRequest) (*AllTypeResponse, error) RemoveType(context.Context, *RemoveRequest) (*StatusResponse, error) AllGroup(context.Context, *CommonRequest) (*AllGroupResponse, error) // 财务报表审批 GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) // OA审批 更新 OA系统的 UUID UpdateApprovalOAUUID(context.Context, *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) mustEmbedUnimplementedApprovalForkServer() } // UnimplementedApprovalForkServer must be embedded to have forward compatible implementations. type UnimplementedApprovalForkServer struct { proxyImpl protocol.Invoker } func (UnimplementedApprovalForkServer) Create(context.Context, *CreateRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Create not implemented") } func (UnimplementedApprovalForkServer) UsedNumByUser(context.Context, *UsedNumByUserRequest) (*UsedNumByUserResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UsedNumByUser not implemented") } func (UnimplementedApprovalForkServer) UpdateExhibitionApplyID(context.Context, *UpdateEhApplyIDRequest) (*UpdateEhApplyIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateExhibitionApplyID not implemented") } func (UnimplementedApprovalForkServer) Detail(context.Context, *DetailRequest) (*CreateRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method Detail not implemented") } func (UnimplementedApprovalForkServer) Update(context.Context, *CreateRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Update not implemented") } func (UnimplementedApprovalForkServer) Remove(context.Context, *RemoveRequest) (*RemoveResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Remove not implemented") } func (UnimplementedApprovalForkServer) MyWork(context.Context, *ListRequest) (*ListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MyWork not implemented") } func (UnimplementedApprovalForkServer) MySubmit(context.Context, *ListRequest) (*ListResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method MySubmit not implemented") } func (UnimplementedApprovalForkServer) NowLevelByInfo(context.Context, *NowLevelByInfoRequest) (*WorkFlowResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method NowLevelByInfo not implemented") } func (UnimplementedApprovalForkServer) Information(context.Context, *InformationRequest) (*InformationResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Information not implemented") } func (UnimplementedApprovalForkServer) Viewed(context.Context, *ViewedRequest) (*ApprovalResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Viewed not implemented") } func (UnimplementedApprovalForkServer) SetStatus(context.Context, *StatusRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetStatus not implemented") } func (UnimplementedApprovalForkServer) DetailSetting(context.Context, *DetailSettingRequest) (*SettingRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method DetailSetting not implemented") } func (UnimplementedApprovalForkServer) UpdateSetting(context.Context, *SettingRequest) (*SettingResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSetting not implemented") } func (UnimplementedApprovalForkServer) IsExistPayRight(context.Context, *IsExistPayRightRequest) (*IsExistPayRightResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method IsExistPayRight not implemented") } func (UnimplementedApprovalForkServer) ChangeBundlePay(context.Context, *ChangeBundlePayRequest) (*CommonResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangeBundlePay not implemented") } func (UnimplementedApprovalForkServer) CreateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateType not implemented") } func (UnimplementedApprovalForkServer) DetailType(context.Context, *TypeResponse) (*CreateTypeRequest, error) { return nil, status.Errorf(codes.Unimplemented, "method DetailType not implemented") } func (UnimplementedApprovalForkServer) UpdateType(context.Context, *CreateTypeRequest) (*TypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateType not implemented") } func (UnimplementedApprovalForkServer) AllType(context.Context, *CommonRequest) (*AllTypeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllType not implemented") } func (UnimplementedApprovalForkServer) RemoveType(context.Context, *RemoveRequest) (*StatusResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method RemoveType not implemented") } func (UnimplementedApprovalForkServer) AllGroup(context.Context, *CommonRequest) (*AllGroupResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method AllGroup not implemented") } func (UnimplementedApprovalForkServer) GetName(context.Context, *GetNameRequest) (*GetNameResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method GetName not implemented") } func (UnimplementedApprovalForkServer) UpdateApprovalOAUUID(context.Context, *UpdateApprovalOAUUIDReq) (*UpdateApprovalOAUUIDResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateApprovalOAUUID not implemented") } func (s *UnimplementedApprovalForkServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } func (s *UnimplementedApprovalForkServer) XXX_GetProxyImpl() protocol.Invoker { return s.proxyImpl } func (s *UnimplementedApprovalForkServer) XXX_ServiceDesc() *grpc_go.ServiceDesc { return &ApprovalFork_ServiceDesc } func (s *UnimplementedApprovalForkServer) XXX_InterfaceName() string { return "approvalFork.ApprovalFork" } func (UnimplementedApprovalForkServer) mustEmbedUnimplementedApprovalForkServer() {} // UnsafeApprovalForkServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ApprovalForkServer will // result in compilation errors. type UnsafeApprovalForkServer interface { mustEmbedUnimplementedApprovalForkServer() } func RegisterApprovalForkServer(s grpc_go.ServiceRegistrar, srv ApprovalForkServer) { s.RegisterService(&ApprovalFork_ServiceDesc, srv) } func _ApprovalFork_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRequest) 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("Create", 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 _ApprovalFork_UsedNumByUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UsedNumByUserRequest) 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("UsedNumByUser", 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 _ApprovalFork_UpdateExhibitionApplyID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateEhApplyIDRequest) 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("UpdateExhibitionApplyID", 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 _ApprovalFork_Detail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(DetailRequest) 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("Detail", 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 _ApprovalFork_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateRequest) 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("Update", 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 _ApprovalFork_Remove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(RemoveRequest) 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("Remove", 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 _ApprovalFork_MyWork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ListRequest) 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("MyWork", 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 _ApprovalFork_MySubmit_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ListRequest) 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("MySubmit", 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 _ApprovalFork_NowLevelByInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(NowLevelByInfoRequest) 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("NowLevelByInfo", 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 _ApprovalFork_Information_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(InformationRequest) 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("Information", 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 _ApprovalFork_Viewed_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ViewedRequest) 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("Viewed", 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 _ApprovalFork_SetStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(StatusRequest) 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("SetStatus", 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 _ApprovalFork_DetailSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(DetailSettingRequest) 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("DetailSetting", 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 _ApprovalFork_UpdateSetting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(SettingRequest) 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("UpdateSetting", 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 _ApprovalFork_IsExistPayRight_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(IsExistPayRightRequest) 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("IsExistPayRight", 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 _ApprovalFork_ChangeBundlePay_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(ChangeBundlePayRequest) 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("ChangeBundlePay", 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 _ApprovalFork_CreateType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateTypeRequest) 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("CreateType", 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 _ApprovalFork_DetailType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(TypeResponse) 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("DetailType", 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 _ApprovalFork_UpdateType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CreateTypeRequest) 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("UpdateType", 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 _ApprovalFork_AllType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CommonRequest) 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("AllType", 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 _ApprovalFork_RemoveType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(RemoveRequest) 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("RemoveType", 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 _ApprovalFork_AllGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(CommonRequest) 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("AllGroup", 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 _ApprovalFork_GetName_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetNameRequest) 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("GetName", 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 _ApprovalFork_UpdateApprovalOAUUID_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateApprovalOAUUIDReq) 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("UpdateApprovalOAUUID", 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) } // ApprovalFork_ServiceDesc is the grpc_go.ServiceDesc for ApprovalFork service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) var ApprovalFork_ServiceDesc = grpc_go.ServiceDesc{ ServiceName: "approvalFork.ApprovalFork", HandlerType: (*ApprovalForkServer)(nil), Methods: []grpc_go.MethodDesc{ { MethodName: "Create", Handler: _ApprovalFork_Create_Handler, }, { MethodName: "UsedNumByUser", Handler: _ApprovalFork_UsedNumByUser_Handler, }, { MethodName: "UpdateExhibitionApplyID", Handler: _ApprovalFork_UpdateExhibitionApplyID_Handler, }, { MethodName: "Detail", Handler: _ApprovalFork_Detail_Handler, }, { MethodName: "Update", Handler: _ApprovalFork_Update_Handler, }, { MethodName: "Remove", Handler: _ApprovalFork_Remove_Handler, }, { MethodName: "MyWork", Handler: _ApprovalFork_MyWork_Handler, }, { MethodName: "MySubmit", Handler: _ApprovalFork_MySubmit_Handler, }, { MethodName: "NowLevelByInfo", Handler: _ApprovalFork_NowLevelByInfo_Handler, }, { MethodName: "Information", Handler: _ApprovalFork_Information_Handler, }, { MethodName: "Viewed", Handler: _ApprovalFork_Viewed_Handler, }, { MethodName: "SetStatus", Handler: _ApprovalFork_SetStatus_Handler, }, { MethodName: "DetailSetting", Handler: _ApprovalFork_DetailSetting_Handler, }, { MethodName: "UpdateSetting", Handler: _ApprovalFork_UpdateSetting_Handler, }, { MethodName: "IsExistPayRight", Handler: _ApprovalFork_IsExistPayRight_Handler, }, { MethodName: "ChangeBundlePay", Handler: _ApprovalFork_ChangeBundlePay_Handler, }, { MethodName: "CreateType", Handler: _ApprovalFork_CreateType_Handler, }, { MethodName: "DetailType", Handler: _ApprovalFork_DetailType_Handler, }, { MethodName: "UpdateType", Handler: _ApprovalFork_UpdateType_Handler, }, { MethodName: "AllType", Handler: _ApprovalFork_AllType_Handler, }, { MethodName: "RemoveType", Handler: _ApprovalFork_RemoveType_Handler, }, { MethodName: "AllGroup", Handler: _ApprovalFork_AllGroup_Handler, }, { MethodName: "GetName", Handler: _ApprovalFork_GetName_Handler, }, { MethodName: "UpdateApprovalOAUUID", Handler: _ApprovalFork_UpdateApprovalOAUUID_Handler, }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "approvalFork.proto", }