setting

package
v0.1.0-beta Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VERSION                   = "0.1.0-beta"
	SETTINGS_PATH             = "settings.yaml"
	CLIENT_DOWNLOAD_DIRECTORY = "download"
	CLIENT_DOWNLOAD_FILE      = "lanty.zip"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Settings

type Settings struct {
	ServerPort             int    `yaml:"serverport"`
	ServerGracefulShutdown int    `yaml:"-"`
	GameConfigDirectory    string `yaml:"game-config-directory"`
	GameFileDirectory      string `yaml:"game-file-directory"`
	GameIconDirectory      string `yaml:"game-icon-directory"`
}

func LoadSettings

func LoadSettings() (settings Settings, err error)

Jump to

Keyboard shortcuts

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