package
0.0.0-20230111040848-41468e1d571e
Repository: https://github.com/dodo-open/dodo-open-go.git
Documentation: pkg.go.dev
# Functions
New a WebSocket instance.
ParseData parse message data.
RegisterHandlers Register global level event message handlers.
WithMessageHandlers Customize message handlers.
WithMessageQueueSize Customize message channel queue size.
# Constants
业务数据.
帖子评论回复事件.
帖子发布事件.
频道消息事件.
成员加入语音频道事件.
成员退出语音频道事件.
赠礼成功事件.
心跳.
成员退出事件.
成员加入事件.
成员退出事件.
消息反应事件.
个人消息事件.
# Variables
DefaultHandlers default handlers to manage all supported message.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EventData 事件业务数据.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MessageHandlers instance message handlers.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WSBeatData 心跳类型数据.
WSEventMessage 事件主体内容.
# Type aliases
ChannelArticleCommentHandler 帖子评论回复事件.
ChannelArticleHandler 帖子发布事件.
ChannelMessageEventHandler 频道消息事件 handler.
ChannelVoiceMemberJoinHandler 成员加入语音频道事件.
ChannelVoiceMemberLeaveHandler 成员退出语音频道事件.
ErrorHandler error handler.
EventType event type code.
GiftSendHandler 赠礼成功事件.
MemberInviteEventHandler 成员邀请事件 handler.
MemberJoinEventHandler 成员加入事件 handler.
MemberLeaveEventHandler 成员退出事件 handler.
MessageReactionEventHandler 消息反应事件 handler.
No description provided by the author
PersonalMessageEventHandler 个人消息事件 handler.
PlainTextHandler plain text message handler.
TypeCode data type code.