friend

package
v0.0.0-...-13b6049 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 24, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Friend

type Friend struct {
	// contains filtered or unexported fields
}

func NewFriend

func NewFriend(loginUserID string, db db_interface.DataBase, user *user.User, p *ws.PostApi, conversationCh chan common.Cmd2Value) *Friend

func (*Friend) AcceptFriendApplication

func (f *Friend) AcceptFriendApplication(callback open_im_sdk_callback.Base, userIDHandleMsg string, operationID string)

func (*Friend) AddBlack

func (f *Friend) AddBlack(callback open_im_sdk_callback.Base, blackUserID, operationID string)

func (*Friend) AddFriend

func (f *Friend) AddFriend(callback open_im_sdk_callback.Base, userIDReqMsg string, operationID string)

func (*Friend) CheckFriend

func (f *Friend) CheckFriend(callback open_im_sdk_callback.Base, friendUserIDList string, operationID string)

func (*Friend) Db

func (f *Friend) Db() db_interface.DataBase

func (*Friend) DeleteFriend

func (f *Friend) DeleteFriend(callback open_im_sdk_callback.Base, friendUserID string, operationID string)

func (*Friend) DoNotification

func (f *Friend) DoNotification(msg *api.MsgData, conversationCh chan common.Cmd2Value)

func (*Friend) GetBlackList

func (f *Friend) GetBlackList(callback open_im_sdk_callback.Base, operationID string)

func (*Friend) GetDesignatedBlackListInfo

func (f *Friend) GetDesignatedBlackListInfo(callback open_im_sdk_callback.Base, blackIDList []string, operationID string) []*model_struct.LocalBlack

func (*Friend) GetDesignatedFriendListInfo

func (f *Friend) GetDesignatedFriendListInfo(callback open_im_sdk_callback.Base, friendUserIDList []string, operationID string) []*model_struct.LocalFriend

func (*Friend) GetDesignatedFriendsInfo

func (f *Friend) GetDesignatedFriendsInfo(callback open_im_sdk_callback.Base, friendUserIDList string, operationID string)

f

func (*Friend) GetFriendList

func (f *Friend) GetFriendList(callback open_im_sdk_callback.Base, operationID string)

f

func (*Friend) GetRecvFriendApplicationList

func (f *Friend) GetRecvFriendApplicationList(callback open_im_sdk_callback.Base, operationID string)

func (*Friend) GetSendFriendApplicationList

func (f *Friend) GetSendFriendApplicationList(callback open_im_sdk_callback.Base, operationID string)

func (*Friend) GetUserNameAndFaceUrlByUid

func (f *Friend) GetUserNameAndFaceUrlByUid(friendUserID, operationID string) (faceUrl, name string, err error, isFromSvr bool)

func (*Friend) LoginTime

func (f *Friend) LoginTime() int64

func (*Friend) RefuseFriendApplication

func (f *Friend) RefuseFriendApplication(callback open_im_sdk_callback.Base, userIDHandleMsg string, operationID string)

func (*Friend) RemoveBlack

func (f *Friend) RemoveBlack(callback open_im_sdk_callback.Base, blackUserID, operationID string)

func (*Friend) SearchFriends

func (f *Friend) SearchFriends(callback open_im_sdk_callback.Base, searchParam, operationID string)

func (*Friend) SetFriendListener

func (f *Friend) SetFriendListener(listener open_im_sdk_callback.OnFriendshipListener)

func (*Friend) SetFriendRemark

func (f *Friend) SetFriendRemark(callback open_im_sdk_callback.Base, userIDRemark string, operationID string)

func (*Friend) SetListener

func (f *Friend) SetListener(listener open_im_sdk_callback.OnFriendshipListener)

func (*Friend) SetListenerForService

func (f *Friend) SetListenerForService(listener open_im_sdk_callback.OnListenerForService)

func (*Friend) SetLoginTime

func (f *Friend) SetLoginTime(loginTime int64)

func (*Friend) SyncBlackList

func (f *Friend) SyncBlackList(operationID string)

func (*Friend) SyncFriendApplication

func (f *Friend) SyncFriendApplication(operationID string)

recv

func (*Friend) SyncFriendList

func (f *Friend) SyncFriendList(operationID string)

func (*Friend) SyncSelfFriendApplication

func (f *Friend) SyncSelfFriendApplication(operationID string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL