package
Version:
v0.0.0-...-3c2666d
Opens a new window with list of versions in this module.
Published: Dec 20, 2021
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
¶
func ReadConfigs() (err error)
ReadConfigs 读取配置文件
type App struct {
ProxyAddr string `yaml:"proxyAddr"`
TranslationAppID string `yaml:"translationAppid"`
TranslationKey string `yaml:"translationKey"`
}
App 应用配置
type Conf struct {
QQID uint64 `yaml:"qqID"`
QQPassword string `yaml:"qqPassword"`
Databaseurl string `yaml:"databaseURL"`
App App `yaml:"app"`
}
Conf 配置
Source Files
¶
Click to show internal directories.
Click to hide internal directories.