configs

package
v0.0.0-...-fb8d844 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	CommitID string // CommitID 提交的短ID

)

Functions

func ReadConfigs

func ReadConfigs() (err error)

ReadConfigs 读取配置

Types

type Conf

type Conf struct {
	QQID        uint64 `yaml:"QQID"`        // QQID QQ 帐号
	QQPassword  string `yaml:"QQPassword"`  // QQPassword QQ 密码
	DatabaseUrl string `yaml:"DatabaseUrl"` // DatabaseUrl 数据库地址
}

Conf 配置

func GetAllConf

func GetAllConf() *Conf

GetAllConf 获取所有配置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL