package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Aug 5, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Init 使用 ./application.toml 初始化全局配置
func InitWithContent(configTOMLContent []byte)
InitWithContent 从字节数组中读取配置内容
type BotConfig struct {
Account uint32 `toml:"account"`
Password string `toml:"password"`
}
BotConfig 代表TOML文件中的bot部分
Source Files
¶
Click to show internal directories.
Click to hide internal directories.