settings

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dbpath types.Dbpath
View Source
var Workdir string

Functions

func LoadEnv

func LoadEnv(envs *enverant.Enverant)

func NewDBPath

func NewDBPath(dbname string) types.Dbpath

Types

type DarkbotEnv

type DarkbotEnv struct {
	utils_settings.UtilsEnvs

	DarkstatApiUrl       string
	ScrappyPlayerUrl     string
	ScrappyBaseAttackUrl string

	DiscorderBotToken string

	ConfiguratorDbname string

	ConsolerPrefix   string
	ProfilingEnabled bool

	ScrappyLoopDelay int
	ViewerLoopDelay  int
	DevEnvMockApi    bool

	DarkstatHost string
	DarkstatPort int

	PlayerViewDeprecated bool

	PrometheuserOn bool
}
var Env DarkbotEnv

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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