aboutsummaryrefslogtreecommitdiff
path: root/pkg/atlas/config.go
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-11-20 03:24:54 -0500
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-11-20 06:12:13 -0500
commitd02c7b58e7c25c548de413b74592b82fc30322a3 (patch)
tree7d220061c6846f0150364dac1fd1dd8c88828514 /pkg/atlas/config.go
parentb4aa149e815c271180a69d94a6954ecceebaab8e (diff)
downloadAtlas-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.go4
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"`