mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 03:13:15 +08:00 
			
		
		
		
	* update protocol in go mod. * add debug log in writePongMsg. * update log level. * add Warn log in writePongMsg. * add debug log. * feat: update webhookBeforeMemberJoinGroup to batch method. * feat: update version field implement. * update webhook implement contents. * update method field and contents. * update callbackCommand field. * fix: add correct fields. * update struct tags.
		
			
				
	
	
		
			63 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			4.0 KiB
		
	
	
	
		
			Go
		
	
	
	
	
	
// Copyright © 2023 OpenIM. 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.
 | 
						|
 | 
						|
package callbackstruct
 | 
						|
 | 
						|
const (
 | 
						|
	CallbackBeforeInviteJoinGroupCommand    = "callbackBeforeInviteJoinGroupCommand"
 | 
						|
	CallbackAfterJoinGroupCommand           = "callbackAfterJoinGroupCommand"
 | 
						|
	CallbackAfterSetGroupInfoCommand        = "callbackAfterSetGroupInfoCommand"
 | 
						|
	CallbackBeforeSetGroupInfoCommand       = "callbackBeforeSetGroupInfoCommand"
 | 
						|
	CallbackAfterRevokeMsgCommand           = "callbackBeforeAfterMsgCommand"
 | 
						|
	CallbackBeforeAddBlackCommand           = "callbackBeforeAddBlackCommand"
 | 
						|
	CallbackAfterAddFriendCommand           = "callbackAfterAddFriendCommand"
 | 
						|
	CallbackBeforeAddFriendAgreeCommand     = "callbackBeforeAddFriendAgreeCommand"
 | 
						|
	CallbackAfterDeleteFriendCommand        = "callbackAfterDeleteFriendCommand"
 | 
						|
	CallbackBeforeImportFriendsCommand      = "callbackBeforeImportFriendsCommand"
 | 
						|
	CallbackAfterImportFriendsCommand       = "callbackAfterImportFriendsCommand"
 | 
						|
	CallbackAfterRemoveBlackCommand         = "callbackAfterRemoveBlackCommand"
 | 
						|
	CallbackAfterQuitGroupCommand           = "callbackAfterQuitGroupCommand"
 | 
						|
	CallbackAfterKickGroupCommand           = "callbackAfterKickGroupCommand"
 | 
						|
	CallbackAfterDisMissGroupCommand        = "callbackAfterDisMissGroupCommand"
 | 
						|
	CallbackBeforeJoinGroupCommand          = "callbackBeforeJoinGroupCommand"
 | 
						|
	CallbackAfterGroupMsgReadCommand        = "callbackAfterGroupMsgReadCommand"
 | 
						|
	CallbackBeforeMsgModifyCommand          = "callbackBeforeMsgModifyCommand"
 | 
						|
	CallbackAfterUpdateUserInfoCommand      = "callbackAfterUpdateUserInfoCommand"
 | 
						|
	CallbackAfterUpdateUserInfoExCommand    = "callbackAfterUpdateUserInfoExCommand"
 | 
						|
	CallbackBeforeUpdateUserInfoExCommand   = "callbackBeforeUpdateUserInfoExCommand"
 | 
						|
	CallbackBeforeUserRegisterCommand       = "callbackBeforeUserRegisterCommand"
 | 
						|
	CallbackAfterUserRegisterCommand        = "callbackAfterUserRegisterCommand"
 | 
						|
	CallbackAfterTransferGroupOwnerCommand  = "callbackAfterTransferGroupOwnerCommand"
 | 
						|
	CallbackBeforeSetFriendRemarkCommand    = "callbackBeforeSetFriendRemarkCommand"
 | 
						|
	CallbackAfterSetFriendRemarkCommand     = "callbackAfterSetFriendRemarkCommand"
 | 
						|
	CallbackAfterSingleMsgReadCommand       = "callbackAfterSingleMsgReadCommand"
 | 
						|
	CallbackBeforeSendSingleMsgCommand      = "callbackBeforeSendSingleMsgCommand"
 | 
						|
	CallbackAfterSendSingleMsgCommand       = "callbackAfterSendSingleMsgCommand"
 | 
						|
	CallbackBeforeSendGroupMsgCommand       = "callbackBeforeSendGroupMsgCommand"
 | 
						|
	CallbackAfterSendGroupMsgCommand        = "callbackAfterSendGroupMsgCommand"
 | 
						|
	CallbackAfterUserOnlineCommand          = "callbackAfterUserOnlineCommand"
 | 
						|
	CallbackAfterUserOfflineCommand         = "callbackAfterUserOfflineCommand"
 | 
						|
	CallbackAfterUserKickOffCommand         = "callbackAfterUserKickOffCommand"
 | 
						|
	CallbackBeforeOfflinePushCommand        = "callbackBeforeOfflinePushCommand"
 | 
						|
	CallbackBeforeOnlinePushCommand         = "callbackBeforeOnlinePushCommand"
 | 
						|
	CallbackBeforeGroupOnlinePushCommand    = "callbackBeforeGroupOnlinePushCommand"
 | 
						|
	CallbackBeforeAddFriendCommand          = "callbackBeforeAddFriendCommand"
 | 
						|
	CallbackBeforeUpdateUserInfoCommand     = "callbackBeforeUpdateUserInfoCommand"
 | 
						|
	CallbackBeforeCreateGroupCommand        = "callbackBeforeCreateGroupCommand"
 | 
						|
	CallbackAfterCreateGroupCommand         = "callbackAfterCreateGroupCommand"
 | 
						|
	CallbackBeforeMembersJoinGroupCommand   = "callbackBeforeMembersJoinGroupCommand"
 | 
						|
	CallbackBeforeSetGroupMemberInfoCommand = "callbackBeforeSetGroupMemberInfoCommand"
 | 
						|
	CallbackAfterSetGroupMemberInfoCommand  = "callbackAfterSetGroupMemberInfoCommand"
 | 
						|
)
 |