conf

package
v0.0.0-...-d8cc314 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 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
	Setu    setu.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
	ServerPort int
	DebugPort  int
}

Jump to

Keyboard shortcuts

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