// Copyright © 2023 OpenIM open source community. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.5.1 // - protoc v6.33.0 // source: chat/chat.proto package chat import ( context "context" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" ) // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. // Requires gRPC-Go v1.64.0 or later. const _ = grpc.SupportPackageIsVersion9 const ( Chat_AddFriend_FullMethodName = "/openim.chat.chat/AddFriend" Chat_UpdateUserInfo_FullMethodName = "/openim.chat.chat/UpdateUserInfo" Chat_AddUserAccount_FullMethodName = "/openim.chat.chat/AddUserAccount" Chat_SearchUserPublicInfo_FullMethodName = "/openim.chat.chat/SearchUserPublicInfo" Chat_FindUserPublicInfo_FullMethodName = "/openim.chat.chat/FindUserPublicInfo" Chat_SearchUserFullInfo_FullMethodName = "/openim.chat.chat/SearchUserFullInfo" Chat_FindUserFullInfo_FullMethodName = "/openim.chat.chat/FindUserFullInfo" Chat_SendVerifyCode_FullMethodName = "/openim.chat.chat/SendVerifyCode" Chat_VerifyCode_FullMethodName = "/openim.chat.chat/VerifyCode" Chat_GetCaptchaImage_FullMethodName = "/openim.chat.chat/GetCaptchaImage" Chat_RegisterUser_FullMethodName = "/openim.chat.chat/RegisterUser" Chat_Login_FullMethodName = "/openim.chat.chat/Login" Chat_ResetPassword_FullMethodName = "/openim.chat.chat/ResetPassword" Chat_ChangePassword_FullMethodName = "/openim.chat.chat/ChangePassword" Chat_CheckUserExist_FullMethodName = "/openim.chat.chat/CheckUserExist" Chat_DelUserAccount_FullMethodName = "/openim.chat.chat/DelUserAccount" Chat_FindUserAccount_FullMethodName = "/openim.chat.chat/FindUserAccount" Chat_FindAccountUser_FullMethodName = "/openim.chat.chat/FindAccountUser" Chat_OpenIMCallback_FullMethodName = "/openim.chat.chat/OpenIMCallback" Chat_UserLoginCount_FullMethodName = "/openim.chat.chat/UserLoginCount" Chat_SearchUserInfo_FullMethodName = "/openim.chat.chat/SearchUserInfo" Chat_GetTokenForVideoMeeting_FullMethodName = "/openim.chat.chat/GetTokenForVideoMeeting" Chat_SetAllowRegister_FullMethodName = "/openim.chat.chat/SetAllowRegister" Chat_GetAllowRegister_FullMethodName = "/openim.chat.chat/GetAllowRegister" Chat_GetSensitiveWords_FullMethodName = "/openim.chat.chat/GetSensitiveWords" Chat_CheckSensitiveWords_FullMethodName = "/openim.chat.chat/CheckSensitiveWords" Chat_AddSensitiveWord_FullMethodName = "/openim.chat.chat/AddSensitiveWord" Chat_UpdateSensitiveWord_FullMethodName = "/openim.chat.chat/UpdateSensitiveWord" Chat_DeleteSensitiveWord_FullMethodName = "/openim.chat.chat/DeleteSensitiveWord" Chat_GetSensitiveWord_FullMethodName = "/openim.chat.chat/GetSensitiveWord" Chat_SearchSensitiveWords_FullMethodName = "/openim.chat.chat/SearchSensitiveWords" Chat_BatchAddSensitiveWords_FullMethodName = "/openim.chat.chat/BatchAddSensitiveWords" Chat_BatchUpdateSensitiveWords_FullMethodName = "/openim.chat.chat/BatchUpdateSensitiveWords" Chat_BatchDeleteSensitiveWords_FullMethodName = "/openim.chat.chat/BatchDeleteSensitiveWords" Chat_AddSensitiveWordGroup_FullMethodName = "/openim.chat.chat/AddSensitiveWordGroup" Chat_UpdateSensitiveWordGroup_FullMethodName = "/openim.chat.chat/UpdateSensitiveWordGroup" Chat_DeleteSensitiveWordGroup_FullMethodName = "/openim.chat.chat/DeleteSensitiveWordGroup" Chat_GetSensitiveWordGroup_FullMethodName = "/openim.chat.chat/GetSensitiveWordGroup" Chat_GetAllSensitiveWordGroups_FullMethodName = "/openim.chat.chat/GetAllSensitiveWordGroups" Chat_GetSensitiveWordConfig_FullMethodName = "/openim.chat.chat/GetSensitiveWordConfig" Chat_UpdateSensitiveWordConfig_FullMethodName = "/openim.chat.chat/UpdateSensitiveWordConfig" Chat_GetSensitiveWordLogs_FullMethodName = "/openim.chat.chat/GetSensitiveWordLogs" Chat_DeleteSensitiveWordLogs_FullMethodName = "/openim.chat.chat/DeleteSensitiveWordLogs" Chat_GetUserLoginRecords_FullMethodName = "/openim.chat.chat/GetUserLoginRecords" Chat_GetSensitiveWordStats_FullMethodName = "/openim.chat.chat/GetSensitiveWordStats" Chat_GetSensitiveWordLogStats_FullMethodName = "/openim.chat.chat/GetSensitiveWordLogStats" Chat_GetAppSystemConfigs_FullMethodName = "/openim.chat.chat/GetAppSystemConfigs" Chat_GetWalletBalance_FullMethodName = "/openim.chat.chat/GetWalletBalance" Chat_GetWalletInfo_FullMethodName = "/openim.chat.chat/GetWalletInfo" Chat_GetWalletBalanceRecords_FullMethodName = "/openim.chat.chat/GetWalletBalanceRecords" Chat_SetPaymentPassword_FullMethodName = "/openim.chat.chat/SetPaymentPassword" Chat_SetWithdrawAccount_FullMethodName = "/openim.chat.chat/SetWithdrawAccount" Chat_CreateWithdrawApplication_FullMethodName = "/openim.chat.chat/CreateWithdrawApplication" Chat_GetWithdrawApplications_FullMethodName = "/openim.chat.chat/GetWithdrawApplications" Chat_RealNameAuth_FullMethodName = "/openim.chat.chat/RealNameAuth" Chat_CreateFavorite_FullMethodName = "/openim.chat.chat/CreateFavorite" Chat_GetFavorite_FullMethodName = "/openim.chat.chat/GetFavorite" Chat_GetFavorites_FullMethodName = "/openim.chat.chat/GetFavorites" Chat_SearchFavorites_FullMethodName = "/openim.chat.chat/SearchFavorites" Chat_UpdateFavorite_FullMethodName = "/openim.chat.chat/UpdateFavorite" Chat_DeleteFavorite_FullMethodName = "/openim.chat.chat/DeleteFavorite" Chat_GetFavoritesByTags_FullMethodName = "/openim.chat.chat/GetFavoritesByTags" Chat_GetFavoriteCount_FullMethodName = "/openim.chat.chat/GetFavoriteCount" Chat_CreateScheduledTask_FullMethodName = "/openim.chat.chat/CreateScheduledTask" Chat_GetScheduledTask_FullMethodName = "/openim.chat.chat/GetScheduledTask" Chat_GetScheduledTasks_FullMethodName = "/openim.chat.chat/GetScheduledTasks" Chat_UpdateScheduledTask_FullMethodName = "/openim.chat.chat/UpdateScheduledTask" Chat_DeleteScheduledTask_FullMethodName = "/openim.chat.chat/DeleteScheduledTask" ) // ChatClient is the client API for Chat 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 ChatClient interface { AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) // Edit personal information - called by the user or an administrator UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) AddUserAccount(ctx context.Context, in *AddUserAccountReq, opts ...grpc.CallOption) (*AddUserAccountResp, error) // Get user's public information - called by strangers SearchUserPublicInfo(ctx context.Context, in *SearchUserPublicInfoReq, opts ...grpc.CallOption) (*SearchUserPublicInfoResp, error) FindUserPublicInfo(ctx context.Context, in *FindUserPublicInfoReq, opts ...grpc.CallOption) (*FindUserPublicInfoResp, error) // Search user information - called by administrators, other users get public fields SearchUserFullInfo(ctx context.Context, in *SearchUserFullInfoReq, opts ...grpc.CallOption) (*SearchUserFullInfoResp, error) FindUserFullInfo(ctx context.Context, in *FindUserFullInfoReq, opts ...grpc.CallOption) (*FindUserFullInfoResp, error) SendVerifyCode(ctx context.Context, in *SendVerifyCodeReq, opts ...grpc.CallOption) (*SendVerifyCodeResp, error) VerifyCode(ctx context.Context, in *VerifyCodeReq, opts ...grpc.CallOption) (*VerifyCodeResp, error) GetCaptchaImage(ctx context.Context, in *GetCaptchaImageReq, opts ...grpc.CallOption) (*GetCaptchaImageResp, error) RegisterUser(ctx context.Context, in *RegisterUserReq, opts ...grpc.CallOption) (*RegisterUserResp, error) Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) ResetPassword(ctx context.Context, in *ResetPasswordReq, opts ...grpc.CallOption) (*ResetPasswordResp, error) ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*ChangePasswordResp, error) CheckUserExist(ctx context.Context, in *CheckUserExistReq, opts ...grpc.CallOption) (*CheckUserExistResp, error) DelUserAccount(ctx context.Context, in *DelUserAccountReq, opts ...grpc.CallOption) (*DelUserAccountResp, error) FindUserAccount(ctx context.Context, in *FindUserAccountReq, opts ...grpc.CallOption) (*FindUserAccountResp, error) FindAccountUser(ctx context.Context, in *FindAccountUserReq, opts ...grpc.CallOption) (*FindAccountUserResp, error) OpenIMCallback(ctx context.Context, in *OpenIMCallbackReq, opts ...grpc.CallOption) (*OpenIMCallbackResp, error) // Statistics UserLoginCount(ctx context.Context, in *UserLoginCountReq, opts ...grpc.CallOption) (*UserLoginCountResp, error) SearchUserInfo(ctx context.Context, in *SearchUserInfoReq, opts ...grpc.CallOption) (*SearchUserInfoResp, error) // Audio/video call and video meeting GetTokenForVideoMeeting(ctx context.Context, in *GetTokenForVideoMeetingReq, opts ...grpc.CallOption) (*GetTokenForVideoMeetingResp, error) SetAllowRegister(ctx context.Context, in *SetAllowRegisterReq, opts ...grpc.CallOption) (*SetAllowRegisterResp, error) GetAllowRegister(ctx context.Context, in *GetAllowRegisterReq, opts ...grpc.CallOption) (*GetAllowRegisterResp, error) // 获取敏感词列表(客户端启动时调用) GetSensitiveWords(ctx context.Context, in *GetSensitiveWordsReq, opts ...grpc.CallOption) (*GetSensitiveWordsResp, error) // 检测敏感词(用户发送消息时调用) CheckSensitiveWords(ctx context.Context, in *CheckSensitiveWordsReq, opts ...grpc.CallOption) (*CheckSensitiveWordsResp, error) // 敏感词管理 AddSensitiveWord(ctx context.Context, in *AddSensitiveWordReq, opts ...grpc.CallOption) (*AddSensitiveWordResp, error) UpdateSensitiveWord(ctx context.Context, in *UpdateSensitiveWordReq, opts ...grpc.CallOption) (*UpdateSensitiveWordResp, error) DeleteSensitiveWord(ctx context.Context, in *DeleteSensitiveWordReq, opts ...grpc.CallOption) (*DeleteSensitiveWordResp, error) GetSensitiveWord(ctx context.Context, in *GetSensitiveWordReq, opts ...grpc.CallOption) (*GetSensitiveWordResp, error) SearchSensitiveWords(ctx context.Context, in *SearchSensitiveWordsReq, opts ...grpc.CallOption) (*SearchSensitiveWordsResp, error) BatchAddSensitiveWords(ctx context.Context, in *BatchAddSensitiveWordsReq, opts ...grpc.CallOption) (*BatchAddSensitiveWordsResp, error) BatchUpdateSensitiveWords(ctx context.Context, in *BatchUpdateSensitiveWordsReq, opts ...grpc.CallOption) (*BatchUpdateSensitiveWordsResp, error) BatchDeleteSensitiveWords(ctx context.Context, in *BatchDeleteSensitiveWordsReq, opts ...grpc.CallOption) (*BatchDeleteSensitiveWordsResp, error) // 敏感词分组管理 AddSensitiveWordGroup(ctx context.Context, in *AddSensitiveWordGroupReq, opts ...grpc.CallOption) (*AddSensitiveWordGroupResp, error) UpdateSensitiveWordGroup(ctx context.Context, in *UpdateSensitiveWordGroupReq, opts ...grpc.CallOption) (*UpdateSensitiveWordGroupResp, error) DeleteSensitiveWordGroup(ctx context.Context, in *DeleteSensitiveWordGroupReq, opts ...grpc.CallOption) (*DeleteSensitiveWordGroupResp, error) GetSensitiveWordGroup(ctx context.Context, in *GetSensitiveWordGroupReq, opts ...grpc.CallOption) (*GetSensitiveWordGroupResp, error) GetAllSensitiveWordGroups(ctx context.Context, in *GetAllSensitiveWordGroupsReq, opts ...grpc.CallOption) (*GetAllSensitiveWordGroupsResp, error) // 敏感词配置管理 GetSensitiveWordConfig(ctx context.Context, in *GetSensitiveWordConfigReq, opts ...grpc.CallOption) (*GetSensitiveWordConfigResp, error) UpdateSensitiveWordConfig(ctx context.Context, in *UpdateSensitiveWordConfigReq, opts ...grpc.CallOption) (*UpdateSensitiveWordConfigResp, error) // 敏感词日志管理 GetSensitiveWordLogs(ctx context.Context, in *GetSensitiveWordLogsReq, opts ...grpc.CallOption) (*GetSensitiveWordLogsResp, error) DeleteSensitiveWordLogs(ctx context.Context, in *DeleteSensitiveWordLogsReq, opts ...grpc.CallOption) (*DeleteSensitiveWordLogsResp, error) // 用户登录记录管理 GetUserLoginRecords(ctx context.Context, in *GetUserLoginRecordsReq, opts ...grpc.CallOption) (*GetUserLoginRecordsResp, error) // 敏感词统计 GetSensitiveWordStats(ctx context.Context, in *GetSensitiveWordStatsReq, opts ...grpc.CallOption) (*GetSensitiveWordStatsResp, error) GetSensitiveWordLogStats(ctx context.Context, in *GetSensitiveWordLogStatsReq, opts ...grpc.CallOption) (*GetSensitiveWordLogStatsResp, error) // 获取APP端配置(返回所有 show_in_app=true 且 enabled=true 的配置) GetAppSystemConfigs(ctx context.Context, in *GetAppSystemConfigsReq, opts ...grpc.CallOption) (*GetAppSystemConfigsResp, error) // 获取钱包余额 GetWalletBalance(ctx context.Context, in *GetWalletBalanceReq, opts ...grpc.CallOption) (*GetWalletBalanceResp, error) // 获取钱包详细信息(包括余额、提现账号、实名信息等) GetWalletInfo(ctx context.Context, in *GetWalletInfoReq, opts ...grpc.CallOption) (*GetWalletInfoResp, error) // 获取余额明细(余额变动记录) GetWalletBalanceRecords(ctx context.Context, in *GetWalletBalanceRecordsReq, opts ...grpc.CallOption) (*GetWalletBalanceRecordsResp, error) // 设置支付密码(首次设置或修改) SetPaymentPassword(ctx context.Context, in *SetPaymentPasswordReq, opts ...grpc.CallOption) (*SetPaymentPasswordResp, error) // 设置提现账号 SetWithdrawAccount(ctx context.Context, in *SetWithdrawAccountReq, opts ...grpc.CallOption) (*SetWithdrawAccountResp, error) // 申请提现 CreateWithdrawApplication(ctx context.Context, in *CreateWithdrawApplicationReq, opts ...grpc.CallOption) (*CreateWithdrawApplicationResp, error) // 获取用户的提现申请列表 GetWithdrawApplications(ctx context.Context, in *GetWithdrawApplicationsReq, opts ...grpc.CallOption) (*GetWithdrawApplicationsResp, error) // 实名认证 RealNameAuth(ctx context.Context, in *RealNameAuthReq, opts ...grpc.CallOption) (*RealNameAuthResp, error) // 创建收藏 CreateFavorite(ctx context.Context, in *CreateFavoriteReq, opts ...grpc.CallOption) (*CreateFavoriteResp, error) // 获取收藏详情 GetFavorite(ctx context.Context, in *GetFavoriteReq, opts ...grpc.CallOption) (*GetFavoriteResp, error) // 获取收藏列表 GetFavorites(ctx context.Context, in *GetFavoritesReq, opts ...grpc.CallOption) (*GetFavoritesResp, error) // 搜索收藏 SearchFavorites(ctx context.Context, in *SearchFavoritesReq, opts ...grpc.CallOption) (*SearchFavoritesResp, error) // 更新收藏 UpdateFavorite(ctx context.Context, in *UpdateFavoriteReq, opts ...grpc.CallOption) (*UpdateFavoriteResp, error) // 删除收藏 DeleteFavorite(ctx context.Context, in *DeleteFavoriteReq, opts ...grpc.CallOption) (*DeleteFavoriteResp, error) // 根据标签获取收藏 GetFavoritesByTags(ctx context.Context, in *GetFavoritesByTagsReq, opts ...grpc.CallOption) (*GetFavoritesByTagsResp, error) // 获取收藏数量 GetFavoriteCount(ctx context.Context, in *GetFavoriteCountReq, opts ...grpc.CallOption) (*GetFavoriteCountResp, error) // 创建定时任务 CreateScheduledTask(ctx context.Context, in *CreateScheduledTaskReq, opts ...grpc.CallOption) (*CreateScheduledTaskResp, error) // 获取定时任务详情 GetScheduledTask(ctx context.Context, in *GetScheduledTaskReq, opts ...grpc.CallOption) (*GetScheduledTaskResp, error) // 获取定时任务列表 GetScheduledTasks(ctx context.Context, in *GetScheduledTasksReq, opts ...grpc.CallOption) (*GetScheduledTasksResp, error) // 更新定时任务 UpdateScheduledTask(ctx context.Context, in *UpdateScheduledTaskReq, opts ...grpc.CallOption) (*UpdateScheduledTaskResp, error) // 删除定时任务 DeleteScheduledTask(ctx context.Context, in *DeleteScheduledTaskReq, opts ...grpc.CallOption) (*DeleteScheduledTaskResp, error) } type chatClient struct { cc grpc.ClientConnInterface } func NewChatClient(cc grpc.ClientConnInterface) ChatClient { return &chatClient{cc} } func (c *chatClient) AddFriend(ctx context.Context, in *AddFriendReq, opts ...grpc.CallOption) (*AddFriendResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddFriendResp) err := c.cc.Invoke(ctx, Chat_AddFriend_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateUserInfo(ctx context.Context, in *UpdateUserInfoReq, opts ...grpc.CallOption) (*UpdateUserInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateUserInfoResp) err := c.cc.Invoke(ctx, Chat_UpdateUserInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) AddUserAccount(ctx context.Context, in *AddUserAccountReq, opts ...grpc.CallOption) (*AddUserAccountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddUserAccountResp) err := c.cc.Invoke(ctx, Chat_AddUserAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SearchUserPublicInfo(ctx context.Context, in *SearchUserPublicInfoReq, opts ...grpc.CallOption) (*SearchUserPublicInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SearchUserPublicInfoResp) err := c.cc.Invoke(ctx, Chat_SearchUserPublicInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) FindUserPublicInfo(ctx context.Context, in *FindUserPublicInfoReq, opts ...grpc.CallOption) (*FindUserPublicInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(FindUserPublicInfoResp) err := c.cc.Invoke(ctx, Chat_FindUserPublicInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SearchUserFullInfo(ctx context.Context, in *SearchUserFullInfoReq, opts ...grpc.CallOption) (*SearchUserFullInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SearchUserFullInfoResp) err := c.cc.Invoke(ctx, Chat_SearchUserFullInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) FindUserFullInfo(ctx context.Context, in *FindUserFullInfoReq, opts ...grpc.CallOption) (*FindUserFullInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(FindUserFullInfoResp) err := c.cc.Invoke(ctx, Chat_FindUserFullInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SendVerifyCode(ctx context.Context, in *SendVerifyCodeReq, opts ...grpc.CallOption) (*SendVerifyCodeResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SendVerifyCodeResp) err := c.cc.Invoke(ctx, Chat_SendVerifyCode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) VerifyCode(ctx context.Context, in *VerifyCodeReq, opts ...grpc.CallOption) (*VerifyCodeResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(VerifyCodeResp) err := c.cc.Invoke(ctx, Chat_VerifyCode_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetCaptchaImage(ctx context.Context, in *GetCaptchaImageReq, opts ...grpc.CallOption) (*GetCaptchaImageResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetCaptchaImageResp) err := c.cc.Invoke(ctx, Chat_GetCaptchaImage_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) RegisterUser(ctx context.Context, in *RegisterUserReq, opts ...grpc.CallOption) (*RegisterUserResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RegisterUserResp) err := c.cc.Invoke(ctx, Chat_RegisterUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) Login(ctx context.Context, in *LoginReq, opts ...grpc.CallOption) (*LoginResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(LoginResp) err := c.cc.Invoke(ctx, Chat_Login_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) ResetPassword(ctx context.Context, in *ResetPasswordReq, opts ...grpc.CallOption) (*ResetPasswordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ResetPasswordResp) err := c.cc.Invoke(ctx, Chat_ResetPassword_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) ChangePassword(ctx context.Context, in *ChangePasswordReq, opts ...grpc.CallOption) (*ChangePasswordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(ChangePasswordResp) err := c.cc.Invoke(ctx, Chat_ChangePassword_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) CheckUserExist(ctx context.Context, in *CheckUserExistReq, opts ...grpc.CallOption) (*CheckUserExistResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CheckUserExistResp) err := c.cc.Invoke(ctx, Chat_CheckUserExist_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DelUserAccount(ctx context.Context, in *DelUserAccountReq, opts ...grpc.CallOption) (*DelUserAccountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DelUserAccountResp) err := c.cc.Invoke(ctx, Chat_DelUserAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) FindUserAccount(ctx context.Context, in *FindUserAccountReq, opts ...grpc.CallOption) (*FindUserAccountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(FindUserAccountResp) err := c.cc.Invoke(ctx, Chat_FindUserAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) FindAccountUser(ctx context.Context, in *FindAccountUserReq, opts ...grpc.CallOption) (*FindAccountUserResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(FindAccountUserResp) err := c.cc.Invoke(ctx, Chat_FindAccountUser_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) OpenIMCallback(ctx context.Context, in *OpenIMCallbackReq, opts ...grpc.CallOption) (*OpenIMCallbackResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(OpenIMCallbackResp) err := c.cc.Invoke(ctx, Chat_OpenIMCallback_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UserLoginCount(ctx context.Context, in *UserLoginCountReq, opts ...grpc.CallOption) (*UserLoginCountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UserLoginCountResp) err := c.cc.Invoke(ctx, Chat_UserLoginCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SearchUserInfo(ctx context.Context, in *SearchUserInfoReq, opts ...grpc.CallOption) (*SearchUserInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SearchUserInfoResp) err := c.cc.Invoke(ctx, Chat_SearchUserInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetTokenForVideoMeeting(ctx context.Context, in *GetTokenForVideoMeetingReq, opts ...grpc.CallOption) (*GetTokenForVideoMeetingResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetTokenForVideoMeetingResp) err := c.cc.Invoke(ctx, Chat_GetTokenForVideoMeeting_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SetAllowRegister(ctx context.Context, in *SetAllowRegisterReq, opts ...grpc.CallOption) (*SetAllowRegisterResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SetAllowRegisterResp) err := c.cc.Invoke(ctx, Chat_SetAllowRegister_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetAllowRegister(ctx context.Context, in *GetAllowRegisterReq, opts ...grpc.CallOption) (*GetAllowRegisterResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllowRegisterResp) err := c.cc.Invoke(ctx, Chat_GetAllowRegister_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWords(ctx context.Context, in *GetSensitiveWordsReq, opts ...grpc.CallOption) (*GetSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) CheckSensitiveWords(ctx context.Context, in *CheckSensitiveWordsReq, opts ...grpc.CallOption) (*CheckSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CheckSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_CheckSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) AddSensitiveWord(ctx context.Context, in *AddSensitiveWordReq, opts ...grpc.CallOption) (*AddSensitiveWordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddSensitiveWordResp) err := c.cc.Invoke(ctx, Chat_AddSensitiveWord_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateSensitiveWord(ctx context.Context, in *UpdateSensitiveWordReq, opts ...grpc.CallOption) (*UpdateSensitiveWordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSensitiveWordResp) err := c.cc.Invoke(ctx, Chat_UpdateSensitiveWord_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DeleteSensitiveWord(ctx context.Context, in *DeleteSensitiveWordReq, opts ...grpc.CallOption) (*DeleteSensitiveWordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteSensitiveWordResp) err := c.cc.Invoke(ctx, Chat_DeleteSensitiveWord_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWord(ctx context.Context, in *GetSensitiveWordReq, opts ...grpc.CallOption) (*GetSensitiveWordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWord_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SearchSensitiveWords(ctx context.Context, in *SearchSensitiveWordsReq, opts ...grpc.CallOption) (*SearchSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SearchSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_SearchSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) BatchAddSensitiveWords(ctx context.Context, in *BatchAddSensitiveWordsReq, opts ...grpc.CallOption) (*BatchAddSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BatchAddSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_BatchAddSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) BatchUpdateSensitiveWords(ctx context.Context, in *BatchUpdateSensitiveWordsReq, opts ...grpc.CallOption) (*BatchUpdateSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BatchUpdateSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_BatchUpdateSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) BatchDeleteSensitiveWords(ctx context.Context, in *BatchDeleteSensitiveWordsReq, opts ...grpc.CallOption) (*BatchDeleteSensitiveWordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(BatchDeleteSensitiveWordsResp) err := c.cc.Invoke(ctx, Chat_BatchDeleteSensitiveWords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) AddSensitiveWordGroup(ctx context.Context, in *AddSensitiveWordGroupReq, opts ...grpc.CallOption) (*AddSensitiveWordGroupResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(AddSensitiveWordGroupResp) err := c.cc.Invoke(ctx, Chat_AddSensitiveWordGroup_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateSensitiveWordGroup(ctx context.Context, in *UpdateSensitiveWordGroupReq, opts ...grpc.CallOption) (*UpdateSensitiveWordGroupResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSensitiveWordGroupResp) err := c.cc.Invoke(ctx, Chat_UpdateSensitiveWordGroup_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DeleteSensitiveWordGroup(ctx context.Context, in *DeleteSensitiveWordGroupReq, opts ...grpc.CallOption) (*DeleteSensitiveWordGroupResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteSensitiveWordGroupResp) err := c.cc.Invoke(ctx, Chat_DeleteSensitiveWordGroup_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWordGroup(ctx context.Context, in *GetSensitiveWordGroupReq, opts ...grpc.CallOption) (*GetSensitiveWordGroupResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordGroupResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWordGroup_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetAllSensitiveWordGroups(ctx context.Context, in *GetAllSensitiveWordGroupsReq, opts ...grpc.CallOption) (*GetAllSensitiveWordGroupsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAllSensitiveWordGroupsResp) err := c.cc.Invoke(ctx, Chat_GetAllSensitiveWordGroups_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWordConfig(ctx context.Context, in *GetSensitiveWordConfigReq, opts ...grpc.CallOption) (*GetSensitiveWordConfigResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordConfigResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWordConfig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateSensitiveWordConfig(ctx context.Context, in *UpdateSensitiveWordConfigReq, opts ...grpc.CallOption) (*UpdateSensitiveWordConfigResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateSensitiveWordConfigResp) err := c.cc.Invoke(ctx, Chat_UpdateSensitiveWordConfig_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWordLogs(ctx context.Context, in *GetSensitiveWordLogsReq, opts ...grpc.CallOption) (*GetSensitiveWordLogsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordLogsResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWordLogs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DeleteSensitiveWordLogs(ctx context.Context, in *DeleteSensitiveWordLogsReq, opts ...grpc.CallOption) (*DeleteSensitiveWordLogsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteSensitiveWordLogsResp) err := c.cc.Invoke(ctx, Chat_DeleteSensitiveWordLogs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetUserLoginRecords(ctx context.Context, in *GetUserLoginRecordsReq, opts ...grpc.CallOption) (*GetUserLoginRecordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetUserLoginRecordsResp) err := c.cc.Invoke(ctx, Chat_GetUserLoginRecords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWordStats(ctx context.Context, in *GetSensitiveWordStatsReq, opts ...grpc.CallOption) (*GetSensitiveWordStatsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordStatsResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWordStats_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetSensitiveWordLogStats(ctx context.Context, in *GetSensitiveWordLogStatsReq, opts ...grpc.CallOption) (*GetSensitiveWordLogStatsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetSensitiveWordLogStatsResp) err := c.cc.Invoke(ctx, Chat_GetSensitiveWordLogStats_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetAppSystemConfigs(ctx context.Context, in *GetAppSystemConfigsReq, opts ...grpc.CallOption) (*GetAppSystemConfigsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetAppSystemConfigsResp) err := c.cc.Invoke(ctx, Chat_GetAppSystemConfigs_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetWalletBalance(ctx context.Context, in *GetWalletBalanceReq, opts ...grpc.CallOption) (*GetWalletBalanceResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWalletBalanceResp) err := c.cc.Invoke(ctx, Chat_GetWalletBalance_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetWalletInfo(ctx context.Context, in *GetWalletInfoReq, opts ...grpc.CallOption) (*GetWalletInfoResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWalletInfoResp) err := c.cc.Invoke(ctx, Chat_GetWalletInfo_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetWalletBalanceRecords(ctx context.Context, in *GetWalletBalanceRecordsReq, opts ...grpc.CallOption) (*GetWalletBalanceRecordsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWalletBalanceRecordsResp) err := c.cc.Invoke(ctx, Chat_GetWalletBalanceRecords_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SetPaymentPassword(ctx context.Context, in *SetPaymentPasswordReq, opts ...grpc.CallOption) (*SetPaymentPasswordResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SetPaymentPasswordResp) err := c.cc.Invoke(ctx, Chat_SetPaymentPassword_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SetWithdrawAccount(ctx context.Context, in *SetWithdrawAccountReq, opts ...grpc.CallOption) (*SetWithdrawAccountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SetWithdrawAccountResp) err := c.cc.Invoke(ctx, Chat_SetWithdrawAccount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) CreateWithdrawApplication(ctx context.Context, in *CreateWithdrawApplicationReq, opts ...grpc.CallOption) (*CreateWithdrawApplicationResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateWithdrawApplicationResp) err := c.cc.Invoke(ctx, Chat_CreateWithdrawApplication_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetWithdrawApplications(ctx context.Context, in *GetWithdrawApplicationsReq, opts ...grpc.CallOption) (*GetWithdrawApplicationsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetWithdrawApplicationsResp) err := c.cc.Invoke(ctx, Chat_GetWithdrawApplications_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) RealNameAuth(ctx context.Context, in *RealNameAuthReq, opts ...grpc.CallOption) (*RealNameAuthResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(RealNameAuthResp) err := c.cc.Invoke(ctx, Chat_RealNameAuth_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) CreateFavorite(ctx context.Context, in *CreateFavoriteReq, opts ...grpc.CallOption) (*CreateFavoriteResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateFavoriteResp) err := c.cc.Invoke(ctx, Chat_CreateFavorite_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetFavorite(ctx context.Context, in *GetFavoriteReq, opts ...grpc.CallOption) (*GetFavoriteResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetFavoriteResp) err := c.cc.Invoke(ctx, Chat_GetFavorite_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetFavorites(ctx context.Context, in *GetFavoritesReq, opts ...grpc.CallOption) (*GetFavoritesResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetFavoritesResp) err := c.cc.Invoke(ctx, Chat_GetFavorites_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) SearchFavorites(ctx context.Context, in *SearchFavoritesReq, opts ...grpc.CallOption) (*SearchFavoritesResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(SearchFavoritesResp) err := c.cc.Invoke(ctx, Chat_SearchFavorites_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateFavorite(ctx context.Context, in *UpdateFavoriteReq, opts ...grpc.CallOption) (*UpdateFavoriteResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateFavoriteResp) err := c.cc.Invoke(ctx, Chat_UpdateFavorite_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DeleteFavorite(ctx context.Context, in *DeleteFavoriteReq, opts ...grpc.CallOption) (*DeleteFavoriteResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteFavoriteResp) err := c.cc.Invoke(ctx, Chat_DeleteFavorite_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetFavoritesByTags(ctx context.Context, in *GetFavoritesByTagsReq, opts ...grpc.CallOption) (*GetFavoritesByTagsResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetFavoritesByTagsResp) err := c.cc.Invoke(ctx, Chat_GetFavoritesByTags_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetFavoriteCount(ctx context.Context, in *GetFavoriteCountReq, opts ...grpc.CallOption) (*GetFavoriteCountResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetFavoriteCountResp) err := c.cc.Invoke(ctx, Chat_GetFavoriteCount_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) CreateScheduledTask(ctx context.Context, in *CreateScheduledTaskReq, opts ...grpc.CallOption) (*CreateScheduledTaskResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(CreateScheduledTaskResp) err := c.cc.Invoke(ctx, Chat_CreateScheduledTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetScheduledTask(ctx context.Context, in *GetScheduledTaskReq, opts ...grpc.CallOption) (*GetScheduledTaskResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetScheduledTaskResp) err := c.cc.Invoke(ctx, Chat_GetScheduledTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) GetScheduledTasks(ctx context.Context, in *GetScheduledTasksReq, opts ...grpc.CallOption) (*GetScheduledTasksResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(GetScheduledTasksResp) err := c.cc.Invoke(ctx, Chat_GetScheduledTasks_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) UpdateScheduledTask(ctx context.Context, in *UpdateScheduledTaskReq, opts ...grpc.CallOption) (*UpdateScheduledTaskResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(UpdateScheduledTaskResp) err := c.cc.Invoke(ctx, Chat_UpdateScheduledTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } func (c *chatClient) DeleteScheduledTask(ctx context.Context, in *DeleteScheduledTaskReq, opts ...grpc.CallOption) (*DeleteScheduledTaskResp, error) { cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...) out := new(DeleteScheduledTaskResp) err := c.cc.Invoke(ctx, Chat_DeleteScheduledTask_FullMethodName, in, out, cOpts...) if err != nil { return nil, err } return out, nil } // ChatServer is the server API for Chat service. // All implementations must embed UnimplementedChatServer // for forward compatibility. type ChatServer interface { AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error) // Edit personal information - called by the user or an administrator UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error) AddUserAccount(context.Context, *AddUserAccountReq) (*AddUserAccountResp, error) // Get user's public information - called by strangers SearchUserPublicInfo(context.Context, *SearchUserPublicInfoReq) (*SearchUserPublicInfoResp, error) FindUserPublicInfo(context.Context, *FindUserPublicInfoReq) (*FindUserPublicInfoResp, error) // Search user information - called by administrators, other users get public fields SearchUserFullInfo(context.Context, *SearchUserFullInfoReq) (*SearchUserFullInfoResp, error) FindUserFullInfo(context.Context, *FindUserFullInfoReq) (*FindUserFullInfoResp, error) SendVerifyCode(context.Context, *SendVerifyCodeReq) (*SendVerifyCodeResp, error) VerifyCode(context.Context, *VerifyCodeReq) (*VerifyCodeResp, error) GetCaptchaImage(context.Context, *GetCaptchaImageReq) (*GetCaptchaImageResp, error) RegisterUser(context.Context, *RegisterUserReq) (*RegisterUserResp, error) Login(context.Context, *LoginReq) (*LoginResp, error) ResetPassword(context.Context, *ResetPasswordReq) (*ResetPasswordResp, error) ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordResp, error) CheckUserExist(context.Context, *CheckUserExistReq) (*CheckUserExistResp, error) DelUserAccount(context.Context, *DelUserAccountReq) (*DelUserAccountResp, error) FindUserAccount(context.Context, *FindUserAccountReq) (*FindUserAccountResp, error) FindAccountUser(context.Context, *FindAccountUserReq) (*FindAccountUserResp, error) OpenIMCallback(context.Context, *OpenIMCallbackReq) (*OpenIMCallbackResp, error) // Statistics UserLoginCount(context.Context, *UserLoginCountReq) (*UserLoginCountResp, error) SearchUserInfo(context.Context, *SearchUserInfoReq) (*SearchUserInfoResp, error) // Audio/video call and video meeting GetTokenForVideoMeeting(context.Context, *GetTokenForVideoMeetingReq) (*GetTokenForVideoMeetingResp, error) SetAllowRegister(context.Context, *SetAllowRegisterReq) (*SetAllowRegisterResp, error) GetAllowRegister(context.Context, *GetAllowRegisterReq) (*GetAllowRegisterResp, error) // 获取敏感词列表(客户端启动时调用) GetSensitiveWords(context.Context, *GetSensitiveWordsReq) (*GetSensitiveWordsResp, error) // 检测敏感词(用户发送消息时调用) CheckSensitiveWords(context.Context, *CheckSensitiveWordsReq) (*CheckSensitiveWordsResp, error) // 敏感词管理 AddSensitiveWord(context.Context, *AddSensitiveWordReq) (*AddSensitiveWordResp, error) UpdateSensitiveWord(context.Context, *UpdateSensitiveWordReq) (*UpdateSensitiveWordResp, error) DeleteSensitiveWord(context.Context, *DeleteSensitiveWordReq) (*DeleteSensitiveWordResp, error) GetSensitiveWord(context.Context, *GetSensitiveWordReq) (*GetSensitiveWordResp, error) SearchSensitiveWords(context.Context, *SearchSensitiveWordsReq) (*SearchSensitiveWordsResp, error) BatchAddSensitiveWords(context.Context, *BatchAddSensitiveWordsReq) (*BatchAddSensitiveWordsResp, error) BatchUpdateSensitiveWords(context.Context, *BatchUpdateSensitiveWordsReq) (*BatchUpdateSensitiveWordsResp, error) BatchDeleteSensitiveWords(context.Context, *BatchDeleteSensitiveWordsReq) (*BatchDeleteSensitiveWordsResp, error) // 敏感词分组管理 AddSensitiveWordGroup(context.Context, *AddSensitiveWordGroupReq) (*AddSensitiveWordGroupResp, error) UpdateSensitiveWordGroup(context.Context, *UpdateSensitiveWordGroupReq) (*UpdateSensitiveWordGroupResp, error) DeleteSensitiveWordGroup(context.Context, *DeleteSensitiveWordGroupReq) (*DeleteSensitiveWordGroupResp, error) GetSensitiveWordGroup(context.Context, *GetSensitiveWordGroupReq) (*GetSensitiveWordGroupResp, error) GetAllSensitiveWordGroups(context.Context, *GetAllSensitiveWordGroupsReq) (*GetAllSensitiveWordGroupsResp, error) // 敏感词配置管理 GetSensitiveWordConfig(context.Context, *GetSensitiveWordConfigReq) (*GetSensitiveWordConfigResp, error) UpdateSensitiveWordConfig(context.Context, *UpdateSensitiveWordConfigReq) (*UpdateSensitiveWordConfigResp, error) // 敏感词日志管理 GetSensitiveWordLogs(context.Context, *GetSensitiveWordLogsReq) (*GetSensitiveWordLogsResp, error) DeleteSensitiveWordLogs(context.Context, *DeleteSensitiveWordLogsReq) (*DeleteSensitiveWordLogsResp, error) // 用户登录记录管理 GetUserLoginRecords(context.Context, *GetUserLoginRecordsReq) (*GetUserLoginRecordsResp, error) // 敏感词统计 GetSensitiveWordStats(context.Context, *GetSensitiveWordStatsReq) (*GetSensitiveWordStatsResp, error) GetSensitiveWordLogStats(context.Context, *GetSensitiveWordLogStatsReq) (*GetSensitiveWordLogStatsResp, error) // 获取APP端配置(返回所有 show_in_app=true 且 enabled=true 的配置) GetAppSystemConfigs(context.Context, *GetAppSystemConfigsReq) (*GetAppSystemConfigsResp, error) // 获取钱包余额 GetWalletBalance(context.Context, *GetWalletBalanceReq) (*GetWalletBalanceResp, error) // 获取钱包详细信息(包括余额、提现账号、实名信息等) GetWalletInfo(context.Context, *GetWalletInfoReq) (*GetWalletInfoResp, error) // 获取余额明细(余额变动记录) GetWalletBalanceRecords(context.Context, *GetWalletBalanceRecordsReq) (*GetWalletBalanceRecordsResp, error) // 设置支付密码(首次设置或修改) SetPaymentPassword(context.Context, *SetPaymentPasswordReq) (*SetPaymentPasswordResp, error) // 设置提现账号 SetWithdrawAccount(context.Context, *SetWithdrawAccountReq) (*SetWithdrawAccountResp, error) // 申请提现 CreateWithdrawApplication(context.Context, *CreateWithdrawApplicationReq) (*CreateWithdrawApplicationResp, error) // 获取用户的提现申请列表 GetWithdrawApplications(context.Context, *GetWithdrawApplicationsReq) (*GetWithdrawApplicationsResp, error) // 实名认证 RealNameAuth(context.Context, *RealNameAuthReq) (*RealNameAuthResp, error) // 创建收藏 CreateFavorite(context.Context, *CreateFavoriteReq) (*CreateFavoriteResp, error) // 获取收藏详情 GetFavorite(context.Context, *GetFavoriteReq) (*GetFavoriteResp, error) // 获取收藏列表 GetFavorites(context.Context, *GetFavoritesReq) (*GetFavoritesResp, error) // 搜索收藏 SearchFavorites(context.Context, *SearchFavoritesReq) (*SearchFavoritesResp, error) // 更新收藏 UpdateFavorite(context.Context, *UpdateFavoriteReq) (*UpdateFavoriteResp, error) // 删除收藏 DeleteFavorite(context.Context, *DeleteFavoriteReq) (*DeleteFavoriteResp, error) // 根据标签获取收藏 GetFavoritesByTags(context.Context, *GetFavoritesByTagsReq) (*GetFavoritesByTagsResp, error) // 获取收藏数量 GetFavoriteCount(context.Context, *GetFavoriteCountReq) (*GetFavoriteCountResp, error) // 创建定时任务 CreateScheduledTask(context.Context, *CreateScheduledTaskReq) (*CreateScheduledTaskResp, error) // 获取定时任务详情 GetScheduledTask(context.Context, *GetScheduledTaskReq) (*GetScheduledTaskResp, error) // 获取定时任务列表 GetScheduledTasks(context.Context, *GetScheduledTasksReq) (*GetScheduledTasksResp, error) // 更新定时任务 UpdateScheduledTask(context.Context, *UpdateScheduledTaskReq) (*UpdateScheduledTaskResp, error) // 删除定时任务 DeleteScheduledTask(context.Context, *DeleteScheduledTaskReq) (*DeleteScheduledTaskResp, error) mustEmbedUnimplementedChatServer() } // UnimplementedChatServer must be embedded to have // forward compatible implementations. // // NOTE: this should be embedded by value instead of pointer to avoid a nil // pointer dereference when methods are called. type UnimplementedChatServer struct{} func (UnimplementedChatServer) AddFriend(context.Context, *AddFriendReq) (*AddFriendResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddFriend not implemented") } func (UnimplementedChatServer) UpdateUserInfo(context.Context, *UpdateUserInfoReq) (*UpdateUserInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateUserInfo not implemented") } func (UnimplementedChatServer) AddUserAccount(context.Context, *AddUserAccountReq) (*AddUserAccountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddUserAccount not implemented") } func (UnimplementedChatServer) SearchUserPublicInfo(context.Context, *SearchUserPublicInfoReq) (*SearchUserPublicInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchUserPublicInfo not implemented") } func (UnimplementedChatServer) FindUserPublicInfo(context.Context, *FindUserPublicInfoReq) (*FindUserPublicInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method FindUserPublicInfo not implemented") } func (UnimplementedChatServer) SearchUserFullInfo(context.Context, *SearchUserFullInfoReq) (*SearchUserFullInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchUserFullInfo not implemented") } func (UnimplementedChatServer) FindUserFullInfo(context.Context, *FindUserFullInfoReq) (*FindUserFullInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method FindUserFullInfo not implemented") } func (UnimplementedChatServer) SendVerifyCode(context.Context, *SendVerifyCodeReq) (*SendVerifyCodeResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SendVerifyCode not implemented") } func (UnimplementedChatServer) VerifyCode(context.Context, *VerifyCodeReq) (*VerifyCodeResp, error) { return nil, status.Errorf(codes.Unimplemented, "method VerifyCode not implemented") } func (UnimplementedChatServer) GetCaptchaImage(context.Context, *GetCaptchaImageReq) (*GetCaptchaImageResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetCaptchaImage not implemented") } func (UnimplementedChatServer) RegisterUser(context.Context, *RegisterUserReq) (*RegisterUserResp, error) { return nil, status.Errorf(codes.Unimplemented, "method RegisterUser not implemented") } func (UnimplementedChatServer) Login(context.Context, *LoginReq) (*LoginResp, error) { return nil, status.Errorf(codes.Unimplemented, "method Login not implemented") } func (UnimplementedChatServer) ResetPassword(context.Context, *ResetPasswordReq) (*ResetPasswordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method ResetPassword not implemented") } func (UnimplementedChatServer) ChangePassword(context.Context, *ChangePasswordReq) (*ChangePasswordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method ChangePassword not implemented") } func (UnimplementedChatServer) CheckUserExist(context.Context, *CheckUserExistReq) (*CheckUserExistResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckUserExist not implemented") } func (UnimplementedChatServer) DelUserAccount(context.Context, *DelUserAccountReq) (*DelUserAccountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DelUserAccount not implemented") } func (UnimplementedChatServer) FindUserAccount(context.Context, *FindUserAccountReq) (*FindUserAccountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method FindUserAccount not implemented") } func (UnimplementedChatServer) FindAccountUser(context.Context, *FindAccountUserReq) (*FindAccountUserResp, error) { return nil, status.Errorf(codes.Unimplemented, "method FindAccountUser not implemented") } func (UnimplementedChatServer) OpenIMCallback(context.Context, *OpenIMCallbackReq) (*OpenIMCallbackResp, error) { return nil, status.Errorf(codes.Unimplemented, "method OpenIMCallback not implemented") } func (UnimplementedChatServer) UserLoginCount(context.Context, *UserLoginCountReq) (*UserLoginCountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UserLoginCount not implemented") } func (UnimplementedChatServer) SearchUserInfo(context.Context, *SearchUserInfoReq) (*SearchUserInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchUserInfo not implemented") } func (UnimplementedChatServer) GetTokenForVideoMeeting(context.Context, *GetTokenForVideoMeetingReq) (*GetTokenForVideoMeetingResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetTokenForVideoMeeting not implemented") } func (UnimplementedChatServer) SetAllowRegister(context.Context, *SetAllowRegisterReq) (*SetAllowRegisterResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SetAllowRegister not implemented") } func (UnimplementedChatServer) GetAllowRegister(context.Context, *GetAllowRegisterReq) (*GetAllowRegisterResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAllowRegister not implemented") } func (UnimplementedChatServer) GetSensitiveWords(context.Context, *GetSensitiveWordsReq) (*GetSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWords not implemented") } func (UnimplementedChatServer) CheckSensitiveWords(context.Context, *CheckSensitiveWordsReq) (*CheckSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckSensitiveWords not implemented") } func (UnimplementedChatServer) AddSensitiveWord(context.Context, *AddSensitiveWordReq) (*AddSensitiveWordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddSensitiveWord not implemented") } func (UnimplementedChatServer) UpdateSensitiveWord(context.Context, *UpdateSensitiveWordReq) (*UpdateSensitiveWordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSensitiveWord not implemented") } func (UnimplementedChatServer) DeleteSensitiveWord(context.Context, *DeleteSensitiveWordReq) (*DeleteSensitiveWordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSensitiveWord not implemented") } func (UnimplementedChatServer) GetSensitiveWord(context.Context, *GetSensitiveWordReq) (*GetSensitiveWordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWord not implemented") } func (UnimplementedChatServer) SearchSensitiveWords(context.Context, *SearchSensitiveWordsReq) (*SearchSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchSensitiveWords not implemented") } func (UnimplementedChatServer) BatchAddSensitiveWords(context.Context, *BatchAddSensitiveWordsReq) (*BatchAddSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchAddSensitiveWords not implemented") } func (UnimplementedChatServer) BatchUpdateSensitiveWords(context.Context, *BatchUpdateSensitiveWordsReq) (*BatchUpdateSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchUpdateSensitiveWords not implemented") } func (UnimplementedChatServer) BatchDeleteSensitiveWords(context.Context, *BatchDeleteSensitiveWordsReq) (*BatchDeleteSensitiveWordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BatchDeleteSensitiveWords not implemented") } func (UnimplementedChatServer) AddSensitiveWordGroup(context.Context, *AddSensitiveWordGroupReq) (*AddSensitiveWordGroupResp, error) { return nil, status.Errorf(codes.Unimplemented, "method AddSensitiveWordGroup not implemented") } func (UnimplementedChatServer) UpdateSensitiveWordGroup(context.Context, *UpdateSensitiveWordGroupReq) (*UpdateSensitiveWordGroupResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSensitiveWordGroup not implemented") } func (UnimplementedChatServer) DeleteSensitiveWordGroup(context.Context, *DeleteSensitiveWordGroupReq) (*DeleteSensitiveWordGroupResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSensitiveWordGroup not implemented") } func (UnimplementedChatServer) GetSensitiveWordGroup(context.Context, *GetSensitiveWordGroupReq) (*GetSensitiveWordGroupResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWordGroup not implemented") } func (UnimplementedChatServer) GetAllSensitiveWordGroups(context.Context, *GetAllSensitiveWordGroupsReq) (*GetAllSensitiveWordGroupsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAllSensitiveWordGroups not implemented") } func (UnimplementedChatServer) GetSensitiveWordConfig(context.Context, *GetSensitiveWordConfigReq) (*GetSensitiveWordConfigResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWordConfig not implemented") } func (UnimplementedChatServer) UpdateSensitiveWordConfig(context.Context, *UpdateSensitiveWordConfigReq) (*UpdateSensitiveWordConfigResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateSensitiveWordConfig not implemented") } func (UnimplementedChatServer) GetSensitiveWordLogs(context.Context, *GetSensitiveWordLogsReq) (*GetSensitiveWordLogsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWordLogs not implemented") } func (UnimplementedChatServer) DeleteSensitiveWordLogs(context.Context, *DeleteSensitiveWordLogsReq) (*DeleteSensitiveWordLogsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteSensitiveWordLogs not implemented") } func (UnimplementedChatServer) GetUserLoginRecords(context.Context, *GetUserLoginRecordsReq) (*GetUserLoginRecordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserLoginRecords not implemented") } func (UnimplementedChatServer) GetSensitiveWordStats(context.Context, *GetSensitiveWordStatsReq) (*GetSensitiveWordStatsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWordStats not implemented") } func (UnimplementedChatServer) GetSensitiveWordLogStats(context.Context, *GetSensitiveWordLogStatsReq) (*GetSensitiveWordLogStatsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSensitiveWordLogStats not implemented") } func (UnimplementedChatServer) GetAppSystemConfigs(context.Context, *GetAppSystemConfigsReq) (*GetAppSystemConfigsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAppSystemConfigs not implemented") } func (UnimplementedChatServer) GetWalletBalance(context.Context, *GetWalletBalanceReq) (*GetWalletBalanceResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWalletBalance not implemented") } func (UnimplementedChatServer) GetWalletInfo(context.Context, *GetWalletInfoReq) (*GetWalletInfoResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWalletInfo not implemented") } func (UnimplementedChatServer) GetWalletBalanceRecords(context.Context, *GetWalletBalanceRecordsReq) (*GetWalletBalanceRecordsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWalletBalanceRecords not implemented") } func (UnimplementedChatServer) SetPaymentPassword(context.Context, *SetPaymentPasswordReq) (*SetPaymentPasswordResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SetPaymentPassword not implemented") } func (UnimplementedChatServer) SetWithdrawAccount(context.Context, *SetWithdrawAccountReq) (*SetWithdrawAccountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SetWithdrawAccount not implemented") } func (UnimplementedChatServer) CreateWithdrawApplication(context.Context, *CreateWithdrawApplicationReq) (*CreateWithdrawApplicationResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateWithdrawApplication not implemented") } func (UnimplementedChatServer) GetWithdrawApplications(context.Context, *GetWithdrawApplicationsReq) (*GetWithdrawApplicationsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetWithdrawApplications not implemented") } func (UnimplementedChatServer) RealNameAuth(context.Context, *RealNameAuthReq) (*RealNameAuthResp, error) { return nil, status.Errorf(codes.Unimplemented, "method RealNameAuth not implemented") } func (UnimplementedChatServer) CreateFavorite(context.Context, *CreateFavoriteReq) (*CreateFavoriteResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateFavorite not implemented") } func (UnimplementedChatServer) GetFavorite(context.Context, *GetFavoriteReq) (*GetFavoriteResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFavorite not implemented") } func (UnimplementedChatServer) GetFavorites(context.Context, *GetFavoritesReq) (*GetFavoritesResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFavorites not implemented") } func (UnimplementedChatServer) SearchFavorites(context.Context, *SearchFavoritesReq) (*SearchFavoritesResp, error) { return nil, status.Errorf(codes.Unimplemented, "method SearchFavorites not implemented") } func (UnimplementedChatServer) UpdateFavorite(context.Context, *UpdateFavoriteReq) (*UpdateFavoriteResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateFavorite not implemented") } func (UnimplementedChatServer) DeleteFavorite(context.Context, *DeleteFavoriteReq) (*DeleteFavoriteResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteFavorite not implemented") } func (UnimplementedChatServer) GetFavoritesByTags(context.Context, *GetFavoritesByTagsReq) (*GetFavoritesByTagsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFavoritesByTags not implemented") } func (UnimplementedChatServer) GetFavoriteCount(context.Context, *GetFavoriteCountReq) (*GetFavoriteCountResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetFavoriteCount not implemented") } func (UnimplementedChatServer) CreateScheduledTask(context.Context, *CreateScheduledTaskReq) (*CreateScheduledTaskResp, error) { return nil, status.Errorf(codes.Unimplemented, "method CreateScheduledTask not implemented") } func (UnimplementedChatServer) GetScheduledTask(context.Context, *GetScheduledTaskReq) (*GetScheduledTaskResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTask not implemented") } func (UnimplementedChatServer) GetScheduledTasks(context.Context, *GetScheduledTasksReq) (*GetScheduledTasksResp, error) { return nil, status.Errorf(codes.Unimplemented, "method GetScheduledTasks not implemented") } func (UnimplementedChatServer) UpdateScheduledTask(context.Context, *UpdateScheduledTaskReq) (*UpdateScheduledTaskResp, error) { return nil, status.Errorf(codes.Unimplemented, "method UpdateScheduledTask not implemented") } func (UnimplementedChatServer) DeleteScheduledTask(context.Context, *DeleteScheduledTaskReq) (*DeleteScheduledTaskResp, error) { return nil, status.Errorf(codes.Unimplemented, "method DeleteScheduledTask not implemented") } func (UnimplementedChatServer) mustEmbedUnimplementedChatServer() {} func (UnimplementedChatServer) testEmbeddedByValue() {} // UnsafeChatServer may be embedded to opt out of forward compatibility for this service. // Use of this interface is not recommended, as added methods to ChatServer will // result in compilation errors. type UnsafeChatServer interface { mustEmbedUnimplementedChatServer() } func RegisterChatServer(s grpc.ServiceRegistrar, srv ChatServer) { // If the following call pancis, it indicates UnimplementedChatServer was // embedded by pointer and is nil. This will cause panics if an // unimplemented method is ever invoked, so we test this at initialization // time to prevent it from happening at runtime later due to I/O. if t, ok := srv.(interface{ testEmbeddedByValue() }); ok { t.testEmbeddedByValue() } s.RegisterService(&Chat_ServiceDesc, srv) } func _Chat_AddFriend_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddFriendReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).AddFriend(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_AddFriend_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).AddFriend(ctx, req.(*AddFriendReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateUserInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateUserInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateUserInfo(ctx, req.(*UpdateUserInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_AddUserAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddUserAccountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).AddUserAccount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_AddUserAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).AddUserAccount(ctx, req.(*AddUserAccountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SearchUserPublicInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchUserPublicInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SearchUserPublicInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SearchUserPublicInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SearchUserPublicInfo(ctx, req.(*SearchUserPublicInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_FindUserPublicInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindUserPublicInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).FindUserPublicInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_FindUserPublicInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).FindUserPublicInfo(ctx, req.(*FindUserPublicInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SearchUserFullInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchUserFullInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SearchUserFullInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SearchUserFullInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SearchUserFullInfo(ctx, req.(*SearchUserFullInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_FindUserFullInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindUserFullInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).FindUserFullInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_FindUserFullInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).FindUserFullInfo(ctx, req.(*FindUserFullInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SendVerifyCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SendVerifyCodeReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SendVerifyCode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SendVerifyCode_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SendVerifyCode(ctx, req.(*SendVerifyCodeReq)) } return interceptor(ctx, in, info, handler) } func _Chat_VerifyCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(VerifyCodeReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).VerifyCode(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_VerifyCode_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).VerifyCode(ctx, req.(*VerifyCodeReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetCaptchaImage_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetCaptchaImageReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetCaptchaImage(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetCaptchaImage_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetCaptchaImage(ctx, req.(*GetCaptchaImageReq)) } return interceptor(ctx, in, info, handler) } func _Chat_RegisterUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RegisterUserReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).RegisterUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_RegisterUser_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).RegisterUser(ctx, req.(*RegisterUserReq)) } return interceptor(ctx, in, info, handler) } func _Chat_Login_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(LoginReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).Login(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_Login_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).Login(ctx, req.(*LoginReq)) } return interceptor(ctx, in, info, handler) } func _Chat_ResetPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ResetPasswordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).ResetPassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_ResetPassword_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).ResetPassword(ctx, req.(*ResetPasswordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_ChangePassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(ChangePasswordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).ChangePassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_ChangePassword_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).ChangePassword(ctx, req.(*ChangePasswordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_CheckUserExist_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CheckUserExistReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).CheckUserExist(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_CheckUserExist_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).CheckUserExist(ctx, req.(*CheckUserExistReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DelUserAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DelUserAccountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DelUserAccount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DelUserAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DelUserAccount(ctx, req.(*DelUserAccountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_FindUserAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindUserAccountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).FindUserAccount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_FindUserAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).FindUserAccount(ctx, req.(*FindUserAccountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_FindAccountUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(FindAccountUserReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).FindAccountUser(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_FindAccountUser_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).FindAccountUser(ctx, req.(*FindAccountUserReq)) } return interceptor(ctx, in, info, handler) } func _Chat_OpenIMCallback_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(OpenIMCallbackReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).OpenIMCallback(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_OpenIMCallback_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).OpenIMCallback(ctx, req.(*OpenIMCallbackReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UserLoginCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UserLoginCountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UserLoginCount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UserLoginCount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UserLoginCount(ctx, req.(*UserLoginCountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SearchUserInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchUserInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SearchUserInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SearchUserInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SearchUserInfo(ctx, req.(*SearchUserInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetTokenForVideoMeeting_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetTokenForVideoMeetingReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetTokenForVideoMeeting(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetTokenForVideoMeeting_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetTokenForVideoMeeting(ctx, req.(*GetTokenForVideoMeetingReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SetAllowRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetAllowRegisterReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SetAllowRegister(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SetAllowRegister_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SetAllowRegister(ctx, req.(*SetAllowRegisterReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetAllowRegister_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAllowRegisterReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetAllowRegister(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetAllowRegister_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetAllowRegister(ctx, req.(*GetAllowRegisterReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWords(ctx, req.(*GetSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_CheckSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CheckSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).CheckSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_CheckSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).CheckSensitiveWords(ctx, req.(*CheckSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_AddSensitiveWord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddSensitiveWordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).AddSensitiveWord(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_AddSensitiveWord_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).AddSensitiveWord(ctx, req.(*AddSensitiveWordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateSensitiveWord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSensitiveWordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateSensitiveWord(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateSensitiveWord_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateSensitiveWord(ctx, req.(*UpdateSensitiveWordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DeleteSensitiveWord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteSensitiveWordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DeleteSensitiveWord(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DeleteSensitiveWord_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DeleteSensitiveWord(ctx, req.(*DeleteSensitiveWordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWord_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWord(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWord_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWord(ctx, req.(*GetSensitiveWordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SearchSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SearchSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SearchSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SearchSensitiveWords(ctx, req.(*SearchSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_BatchAddSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchAddSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).BatchAddSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_BatchAddSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).BatchAddSensitiveWords(ctx, req.(*BatchAddSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_BatchUpdateSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchUpdateSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).BatchUpdateSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_BatchUpdateSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).BatchUpdateSensitiveWords(ctx, req.(*BatchUpdateSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_BatchDeleteSensitiveWords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(BatchDeleteSensitiveWordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).BatchDeleteSensitiveWords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_BatchDeleteSensitiveWords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).BatchDeleteSensitiveWords(ctx, req.(*BatchDeleteSensitiveWordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_AddSensitiveWordGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(AddSensitiveWordGroupReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).AddSensitiveWordGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_AddSensitiveWordGroup_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).AddSensitiveWordGroup(ctx, req.(*AddSensitiveWordGroupReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateSensitiveWordGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSensitiveWordGroupReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateSensitiveWordGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateSensitiveWordGroup_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateSensitiveWordGroup(ctx, req.(*UpdateSensitiveWordGroupReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DeleteSensitiveWordGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteSensitiveWordGroupReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DeleteSensitiveWordGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DeleteSensitiveWordGroup_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DeleteSensitiveWordGroup(ctx, req.(*DeleteSensitiveWordGroupReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWordGroup_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordGroupReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWordGroup(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWordGroup_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWordGroup(ctx, req.(*GetSensitiveWordGroupReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetAllSensitiveWordGroups_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAllSensitiveWordGroupsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetAllSensitiveWordGroups(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetAllSensitiveWordGroups_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetAllSensitiveWordGroups(ctx, req.(*GetAllSensitiveWordGroupsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWordConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordConfigReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWordConfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWordConfig_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWordConfig(ctx, req.(*GetSensitiveWordConfigReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateSensitiveWordConfig_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateSensitiveWordConfigReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateSensitiveWordConfig(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateSensitiveWordConfig_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateSensitiveWordConfig(ctx, req.(*UpdateSensitiveWordConfigReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWordLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordLogsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWordLogs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWordLogs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWordLogs(ctx, req.(*GetSensitiveWordLogsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DeleteSensitiveWordLogs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteSensitiveWordLogsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DeleteSensitiveWordLogs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DeleteSensitiveWordLogs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DeleteSensitiveWordLogs(ctx, req.(*DeleteSensitiveWordLogsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetUserLoginRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetUserLoginRecordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetUserLoginRecords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetUserLoginRecords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetUserLoginRecords(ctx, req.(*GetUserLoginRecordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWordStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordStatsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWordStats(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWordStats_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWordStats(ctx, req.(*GetSensitiveWordStatsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetSensitiveWordLogStats_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSensitiveWordLogStatsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetSensitiveWordLogStats(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetSensitiveWordLogStats_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetSensitiveWordLogStats(ctx, req.(*GetSensitiveWordLogStatsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetAppSystemConfigs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetAppSystemConfigsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetAppSystemConfigs(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetAppSystemConfigs_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetAppSystemConfigs(ctx, req.(*GetAppSystemConfigsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetWalletBalance_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetWalletBalanceReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetWalletBalance(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetWalletBalance_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetWalletBalance(ctx, req.(*GetWalletBalanceReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetWalletInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetWalletInfoReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetWalletInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetWalletInfo_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetWalletInfo(ctx, req.(*GetWalletInfoReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetWalletBalanceRecords_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetWalletBalanceRecordsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetWalletBalanceRecords(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetWalletBalanceRecords_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetWalletBalanceRecords(ctx, req.(*GetWalletBalanceRecordsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SetPaymentPassword_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetPaymentPasswordReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SetPaymentPassword(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SetPaymentPassword_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SetPaymentPassword(ctx, req.(*SetPaymentPasswordReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SetWithdrawAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SetWithdrawAccountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SetWithdrawAccount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SetWithdrawAccount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SetWithdrawAccount(ctx, req.(*SetWithdrawAccountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_CreateWithdrawApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateWithdrawApplicationReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).CreateWithdrawApplication(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_CreateWithdrawApplication_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).CreateWithdrawApplication(ctx, req.(*CreateWithdrawApplicationReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetWithdrawApplications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetWithdrawApplicationsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetWithdrawApplications(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetWithdrawApplications_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetWithdrawApplications(ctx, req.(*GetWithdrawApplicationsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_RealNameAuth_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(RealNameAuthReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).RealNameAuth(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_RealNameAuth_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).RealNameAuth(ctx, req.(*RealNameAuthReq)) } return interceptor(ctx, in, info, handler) } func _Chat_CreateFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateFavoriteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).CreateFavorite(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_CreateFavorite_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).CreateFavorite(ctx, req.(*CreateFavoriteReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetFavoriteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetFavorite(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetFavorite_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetFavorite(ctx, req.(*GetFavoriteReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetFavorites_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetFavoritesReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetFavorites(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetFavorites_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetFavorites(ctx, req.(*GetFavoritesReq)) } return interceptor(ctx, in, info, handler) } func _Chat_SearchFavorites_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(SearchFavoritesReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).SearchFavorites(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_SearchFavorites_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).SearchFavorites(ctx, req.(*SearchFavoritesReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateFavoriteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateFavorite(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateFavorite_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateFavorite(ctx, req.(*UpdateFavoriteReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DeleteFavorite_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteFavoriteReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DeleteFavorite(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DeleteFavorite_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DeleteFavorite(ctx, req.(*DeleteFavoriteReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetFavoritesByTags_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetFavoritesByTagsReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetFavoritesByTags(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetFavoritesByTags_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetFavoritesByTags(ctx, req.(*GetFavoritesByTagsReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetFavoriteCount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetFavoriteCountReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetFavoriteCount(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetFavoriteCount_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetFavoriteCount(ctx, req.(*GetFavoriteCountReq)) } return interceptor(ctx, in, info, handler) } func _Chat_CreateScheduledTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(CreateScheduledTaskReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).CreateScheduledTask(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_CreateScheduledTask_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).CreateScheduledTask(ctx, req.(*CreateScheduledTaskReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetScheduledTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetScheduledTaskReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetScheduledTask(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetScheduledTask_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetScheduledTask(ctx, req.(*GetScheduledTaskReq)) } return interceptor(ctx, in, info, handler) } func _Chat_GetScheduledTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetScheduledTasksReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).GetScheduledTasks(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_GetScheduledTasks_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).GetScheduledTasks(ctx, req.(*GetScheduledTasksReq)) } return interceptor(ctx, in, info, handler) } func _Chat_UpdateScheduledTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(UpdateScheduledTaskReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).UpdateScheduledTask(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_UpdateScheduledTask_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).UpdateScheduledTask(ctx, req.(*UpdateScheduledTaskReq)) } return interceptor(ctx, in, info, handler) } func _Chat_DeleteScheduledTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(DeleteScheduledTaskReq) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(ChatServer).DeleteScheduledTask(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: Chat_DeleteScheduledTask_FullMethodName, } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(ChatServer).DeleteScheduledTask(ctx, req.(*DeleteScheduledTaskReq)) } return interceptor(ctx, in, info, handler) } // Chat_ServiceDesc is the grpc.ServiceDesc for Chat service. // It's only intended for direct use with grpc.RegisterService, // and not to be introspected or modified (even as a copy) var Chat_ServiceDesc = grpc.ServiceDesc{ ServiceName: "openim.chat.chat", HandlerType: (*ChatServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "AddFriend", Handler: _Chat_AddFriend_Handler, }, { MethodName: "UpdateUserInfo", Handler: _Chat_UpdateUserInfo_Handler, }, { MethodName: "AddUserAccount", Handler: _Chat_AddUserAccount_Handler, }, { MethodName: "SearchUserPublicInfo", Handler: _Chat_SearchUserPublicInfo_Handler, }, { MethodName: "FindUserPublicInfo", Handler: _Chat_FindUserPublicInfo_Handler, }, { MethodName: "SearchUserFullInfo", Handler: _Chat_SearchUserFullInfo_Handler, }, { MethodName: "FindUserFullInfo", Handler: _Chat_FindUserFullInfo_Handler, }, { MethodName: "SendVerifyCode", Handler: _Chat_SendVerifyCode_Handler, }, { MethodName: "VerifyCode", Handler: _Chat_VerifyCode_Handler, }, { MethodName: "GetCaptchaImage", Handler: _Chat_GetCaptchaImage_Handler, }, { MethodName: "RegisterUser", Handler: _Chat_RegisterUser_Handler, }, { MethodName: "Login", Handler: _Chat_Login_Handler, }, { MethodName: "ResetPassword", Handler: _Chat_ResetPassword_Handler, }, { MethodName: "ChangePassword", Handler: _Chat_ChangePassword_Handler, }, { MethodName: "CheckUserExist", Handler: _Chat_CheckUserExist_Handler, }, { MethodName: "DelUserAccount", Handler: _Chat_DelUserAccount_Handler, }, { MethodName: "FindUserAccount", Handler: _Chat_FindUserAccount_Handler, }, { MethodName: "FindAccountUser", Handler: _Chat_FindAccountUser_Handler, }, { MethodName: "OpenIMCallback", Handler: _Chat_OpenIMCallback_Handler, }, { MethodName: "UserLoginCount", Handler: _Chat_UserLoginCount_Handler, }, { MethodName: "SearchUserInfo", Handler: _Chat_SearchUserInfo_Handler, }, { MethodName: "GetTokenForVideoMeeting", Handler: _Chat_GetTokenForVideoMeeting_Handler, }, { MethodName: "SetAllowRegister", Handler: _Chat_SetAllowRegister_Handler, }, { MethodName: "GetAllowRegister", Handler: _Chat_GetAllowRegister_Handler, }, { MethodName: "GetSensitiveWords", Handler: _Chat_GetSensitiveWords_Handler, }, { MethodName: "CheckSensitiveWords", Handler: _Chat_CheckSensitiveWords_Handler, }, { MethodName: "AddSensitiveWord", Handler: _Chat_AddSensitiveWord_Handler, }, { MethodName: "UpdateSensitiveWord", Handler: _Chat_UpdateSensitiveWord_Handler, }, { MethodName: "DeleteSensitiveWord", Handler: _Chat_DeleteSensitiveWord_Handler, }, { MethodName: "GetSensitiveWord", Handler: _Chat_GetSensitiveWord_Handler, }, { MethodName: "SearchSensitiveWords", Handler: _Chat_SearchSensitiveWords_Handler, }, { MethodName: "BatchAddSensitiveWords", Handler: _Chat_BatchAddSensitiveWords_Handler, }, { MethodName: "BatchUpdateSensitiveWords", Handler: _Chat_BatchUpdateSensitiveWords_Handler, }, { MethodName: "BatchDeleteSensitiveWords", Handler: _Chat_BatchDeleteSensitiveWords_Handler, }, { MethodName: "AddSensitiveWordGroup", Handler: _Chat_AddSensitiveWordGroup_Handler, }, { MethodName: "UpdateSensitiveWordGroup", Handler: _Chat_UpdateSensitiveWordGroup_Handler, }, { MethodName: "DeleteSensitiveWordGroup", Handler: _Chat_DeleteSensitiveWordGroup_Handler, }, { MethodName: "GetSensitiveWordGroup", Handler: _Chat_GetSensitiveWordGroup_Handler, }, { MethodName: "GetAllSensitiveWordGroups", Handler: _Chat_GetAllSensitiveWordGroups_Handler, }, { MethodName: "GetSensitiveWordConfig", Handler: _Chat_GetSensitiveWordConfig_Handler, }, { MethodName: "UpdateSensitiveWordConfig", Handler: _Chat_UpdateSensitiveWordConfig_Handler, }, { MethodName: "GetSensitiveWordLogs", Handler: _Chat_GetSensitiveWordLogs_Handler, }, { MethodName: "DeleteSensitiveWordLogs", Handler: _Chat_DeleteSensitiveWordLogs_Handler, }, { MethodName: "GetUserLoginRecords", Handler: _Chat_GetUserLoginRecords_Handler, }, { MethodName: "GetSensitiveWordStats", Handler: _Chat_GetSensitiveWordStats_Handler, }, { MethodName: "GetSensitiveWordLogStats", Handler: _Chat_GetSensitiveWordLogStats_Handler, }, { MethodName: "GetAppSystemConfigs", Handler: _Chat_GetAppSystemConfigs_Handler, }, { MethodName: "GetWalletBalance", Handler: _Chat_GetWalletBalance_Handler, }, { MethodName: "GetWalletInfo", Handler: _Chat_GetWalletInfo_Handler, }, { MethodName: "GetWalletBalanceRecords", Handler: _Chat_GetWalletBalanceRecords_Handler, }, { MethodName: "SetPaymentPassword", Handler: _Chat_SetPaymentPassword_Handler, }, { MethodName: "SetWithdrawAccount", Handler: _Chat_SetWithdrawAccount_Handler, }, { MethodName: "CreateWithdrawApplication", Handler: _Chat_CreateWithdrawApplication_Handler, }, { MethodName: "GetWithdrawApplications", Handler: _Chat_GetWithdrawApplications_Handler, }, { MethodName: "RealNameAuth", Handler: _Chat_RealNameAuth_Handler, }, { MethodName: "CreateFavorite", Handler: _Chat_CreateFavorite_Handler, }, { MethodName: "GetFavorite", Handler: _Chat_GetFavorite_Handler, }, { MethodName: "GetFavorites", Handler: _Chat_GetFavorites_Handler, }, { MethodName: "SearchFavorites", Handler: _Chat_SearchFavorites_Handler, }, { MethodName: "UpdateFavorite", Handler: _Chat_UpdateFavorite_Handler, }, { MethodName: "DeleteFavorite", Handler: _Chat_DeleteFavorite_Handler, }, { MethodName: "GetFavoritesByTags", Handler: _Chat_GetFavoritesByTags_Handler, }, { MethodName: "GetFavoriteCount", Handler: _Chat_GetFavoriteCount_Handler, }, { MethodName: "CreateScheduledTask", Handler: _Chat_CreateScheduledTask_Handler, }, { MethodName: "GetScheduledTask", Handler: _Chat_GetScheduledTask_Handler, }, { MethodName: "GetScheduledTasks", Handler: _Chat_GetScheduledTasks_Handler, }, { MethodName: "UpdateScheduledTask", Handler: _Chat_UpdateScheduledTask_Handler, }, { MethodName: "DeleteScheduledTask", Handler: _Chat_DeleteScheduledTask_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "chat/chat.proto", }