config

package
v0.0.0-...-a30bc99 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig(configFile string)

LoadConfig - load config from file if configFile != ""

Types

type Config

type Config struct {
	WorldDataDirectory string `yaml:"data_dir"`
	WorldSaveDirectory string `yaml:"save_dir"`
	WorldSaveTarget    string `yaml:"save_target"`
	WorldWebDomain     string `yaml:"web_domain"`
}
var Cfg *Config

Jump to

Keyboard shortcuts

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