package
0.0.0-20240512124903-7d8de2a46146
Repository: https://github.com/cutereimu/tfcc-bot-go.git
Documentation: pkg.go.dev
# Functions
CommonLogin 普通账号密码登录.
GenRandomDevice 生成随机设备信息.
GetModule - 获取一个已注册的 Module 的 ModuleInfo.
Init 快速初始化 使用 config.GlobalConfig 初始化账号 使用 ./device.json 初始化设备信息.
InitBot 使用 account password 进行初始化账号.
No description provided by the author
No description provided by the author
No description provided by the author
Login 登录.
No description provided by the author
QrcodeLogin 扫码登陆.
RefreshList 刷新联系人.
RegisterModule - 向全局添加 Module.
SaveToken 会话缓存.
StartService 启动服务 根据 Module 生命周期 此过程应在Login前调用 请勿重复调用.
Stop 停止所有服务 调用此函数并不会使Bot离线.
UseDevice 使用 device 进行初始化设备信息.
UseProtocol 使用协议 不同协议会有部分功能无法使用 默认为 AndroidPad.
# Constants
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
# Structs
Bot 全局 Bot.
No description provided by the author
No description provided by the author
ModuleInfo 模块信息.
# Interfaces
Module MiraiGo 中的模块 用于进行模块化设计.
# Type aliases
No description provided by the author
ModuleID 模块ID 请使用 小写 并用 _ 代替空格 Example: - logiase.autoreply.