Documentation ¶
Index ¶
- type IMClient
- func (i *IMClient) CreateTextMessage(userID string) error
- func (i *IMClient) GetALLUserIDList() ([]string, error)
- func (i *IMClient) GetAllConversationList() error
- func (i *IMClient) GetBlackList() error
- func (i *IMClient) GetFriendList() error
- func (i *IMClient) GetJoinedGroupList() error
- func (i *IMClient) GetLoginStatus() error
- func (i *IMClient) GetRecvFriendApplicationList() error
- func (i *IMClient) GetRecvGroupApplicationList() error
- func (i *IMClient) GetSelfUserInfo() error
- func (i *IMClient) GetSendFriendApplicationList() error
- func (i *IMClient) GetSendGroupApplicationList() error
- func (i *IMClient) GetToken() (string, error)
- func (i *IMClient) SendMsg(userID string, msg interface{}) error
- func (i *IMClient) WsLogin() error
- func (i *IMClient) WsLogout() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMClient ¶
type IMClient struct { Token string UserID string ApiURL string JssdkURL string Platform int Conn *websocket.Conn Lock sync.Mutex }
func NewIMClient ¶
func (*IMClient) CreateTextMessage ¶
func (*IMClient) GetALLUserIDList ¶
func (*IMClient) GetAllConversationList ¶
func (*IMClient) GetBlackList ¶
func (*IMClient) GetFriendList ¶
func (*IMClient) GetJoinedGroupList ¶
func (*IMClient) GetLoginStatus ¶
func (*IMClient) GetRecvFriendApplicationList ¶
func (*IMClient) GetRecvGroupApplicationList ¶
func (*IMClient) GetSelfUserInfo ¶
func (*IMClient) GetSendFriendApplicationList ¶
func (*IMClient) GetSendGroupApplicationList ¶
Click to show internal directories.
Click to hide internal directories.