conf

package
v0.0.0-...-312110e Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// Conf config struct
	Conf = &Config{}
)

Functions

func Init

func Init() error

Init init conf

Types

type AppConfig

type AppConfig struct {
	Snare    snare.Config //随机祸害
	Gag      gag.Config
	Setutime setutime.Config
	Thunder  thunder.Config
	Manager  manager.Config
	EEAsst   EEAsst.Config
	Study    study.Config
}

type Config

type Config struct {
	DB      dbManager.OrmConfig
	Zerobot ZerobotConfig
	App     AppConfig
}

type ZerobotConfig

type ZerobotConfig struct {
	NickName  []string
	Url       string
	Token     string
	SuperUser []string
	Prefix    string
}

Jump to

Keyboard shortcuts

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