diff options
author | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-11-20 03:24:54 -0500 |
---|---|---|
committer | pg9182 <96569817+pg9182@users.noreply.github.com> | 2022-11-20 06:12:13 -0500 |
commit | d02c7b58e7c25c548de413b74592b82fc30322a3 (patch) | |
tree | 7d220061c6846f0150364dac1fd1dd8c88828514 /pkg/atlas/config.go | |
parent | b4aa149e815c271180a69d94a6954ecceebaab8e (diff) | |
download | Atlas-d02c7b58e7c25c548de413b74592b82fc30322a3.tar.gz Atlas-d02c7b58e7c25c548de413b74592b82fc30322a3.zip |
pkg/atlas: Add ATLAS_API0_REGION_MAP config option, use pkg/regionmap by default
Diffstat (limited to 'pkg/atlas/config.go')
-rw-r--r-- | pkg/atlas/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/atlas/config.go b/pkg/atlas/config.go index 4f411bc..149c9ab 100644 --- a/pkg/atlas/config.go +++ b/pkg/atlas/config.go @@ -100,6 +100,10 @@ type Config struct { // allowed. API0_MinimumLauncherVersion string `env:"ATLAS_API0_MINIMUM_LAUNCHER_VERSION"` + // Region mapping to use for server list. If set to an empty string or + // "none", region maps are disabled. Options: none, default. + API0_RegionMap string `env:"ATLAS_API0_REGION_MAP?=default"` + // The time after registration for a gameserver to complete verification by. API0_ServerList_VerifyTime time.Duration `env:"ATLAS_API0_SERVERLIST_VERIFY_TIME=10s"` |