config

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LanguageEnglish            = "English"
	LanguageFrench             = "French"
	LanguageGerman             = "German"
	LanguageSpanish            = "Spanish"
	LanguagePortuguese         = "Portuguese"
	LanguageRussian            = "Russian"
	LanguageThai               = "Thai"
	LanguageJapanese           = "Japanese"
	LanguageKorean             = "Korean"
	LanguageTraditionalChinese = "Traditional Chinese"
	LanguageSimplifiedChinese  = "Simplified Chinese"
)

Supported language constants for Path of Exile

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Patch     string   `mapstructure:"patch"`
	Database  string   `mapstructure:"database"`
	Tables    []string `mapstructure:"tables"`
	Languages []string `mapstructure:"languages"`
	LogLevel  string   `mapstructure:"log_level"`
	LogFormat string   `mapstructure:"log_format"`
}

func Load

func Load(cfgFile string) (*Config, error)

Load initializes and loads configuration from file

Jump to

Keyboard shortcuts

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