chat

package
v0.0.0-...-b89eba7 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerSendMsg            = "send_msg"             // 推送消息
	ServerReadMsg            = "read_msg"             // 已读消息
	ServerAccountLogin       = "account_login"        // 账户上线
	ServerAccountLogout      = "account_logout"       // 账户离线
	ServerUpdateAccount      = "update_account"       // 更新账户信息
	ServerApplication        = "application"          // 好友申请
	ServerDeleteRelation     = "delete_relation"      // 删除关系
	ServerUpdateNickName     = "update_nickname"      // 更新昵称
	ServerUpdateSettingState = "update_setting_state" // 更新关系状态
	ServerUpdateEmail        = "update_email"         // 更新邮箱
	ServerUpdateMsgState     = "update_msg_state"     // 更新消息状态
	ServerGroupTransferred   = "group_transferred"    // 群被转让
	ServerGroupDissolved     = "group_dissolved"      // 群被解散
	ServerInviteAccount      = "group_new_account"    // 新人进群
	ServerQuitGroup          = "group_quit_account"   // 新人进群
	ServerCreateNotify       = "create_notify"        // 创建群通知
	ServerUpdateNotify       = "update_notify"        // 更新群通知
	ServerError              = "error"                // 错误
)

服务端推送的事件

View Source
const (
	ClientSendMsg = "send_msg" // 发送消息
	ClientReadMsg = "read_msg" // 已读消息
	ClientTest    = "test"     // 测试
	ClientAuth    = "auth"     // 认证
)

客户端推送的事件

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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