worldconfig

package
v1.1.47 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BACKEND_SQLITE3  = "sqlite3"
	BACKEND_FILES    = "files"
	BACKEND_POSTGRES = "postgresql"
)
View Source
const (
	CONFIG_MAP_BACKEND                 = "backend"
	CONFIG_AUTH_BACKEND                = "auth_backend"
	CONFIG_STORAGE_BACKEND             = "mod_storage_backend"
	CONFIG_PLAYER_BACKEND              = "player_backend"
	CONFIG_MOD_STORAGE_BACKEND         = "mod_storage_backend"
	CONFIG_PSQL_PLAYER_CONNECTION      = "pgsql_player_connection"
	CONFIG_PSQL_MAP_CONNECTION         = "pgsql_connection"
	CONFIG_PSQL_AUTH_CONNECTION        = "pgsql_auth_connection"
	CONFIG_PSQL_MOD_STORAGE_CONNECTION = "pgsql_mod_storage_connection"
)
View Source
const DEFAULT_CONFIG = `
mod_storage_backend = sqlite3
auth_backend = sqlite3
player_backend = sqlite3
backend = sqlite3
`

Variables

This section is empty.

Functions

func Parse

func Parse(filename string) (map[string]string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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