package
0.0.0-20211220033439-cf17eb632315
Repository: https://github.com/hduhelp/wechat-template.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
GetModule - 获取一个已注册的 Module 的 ModuleInfo.
Init 快速初始化.
NewModuleID 构造函数,统一生成 ModuleID,避免非法模块名的存在.
NewMsgEngine 创建一个 MsgEngine 对象.
RegisterModule - 向全局添加 Module.
Run 正式开启服务.
StartService 启动服务 根据 Module 生命周期 此过程应在Login前调用 请勿重复调用.
Stop 停止所有服务 调用此函数并不会使服务器关闭.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BasicHandle 包含消息路由必备的内容.
BasicKeyHandle 包含消息路由必备的内容和Key.
Message 最初只是为了加两个方法上去 现在作为上下文.
ModuleInfo 模块信息.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

IRoutes 定义所有的路由处理接口.
No description provided by the author
ModuleID 模块ID 请使用 小写 并用 _ 代替空格 Example: - atom.pong.

# Type aliases

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
No description provided by the author
No description provided by the author
No description provided by the author