cfg

package
v0.0.0-...-1b1ece4 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct {
	BotToken     string
	AIToken      string
	DefaultAdmin int64

	DBHost   string
	DBPort   string
	DBUser   string
	DBPass   string
	DBName   string
	DBSSL    string
	DBPrefix string

	SentryDSN string
	DebugMode bool
}

func LoadConfig

func LoadConfig() Cfg

LoadConfig loads the config from the environment variables

Jump to

Keyboard shortcuts

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