diff options
author | Julien Dessaux | 2020-12-23 12:01:05 +0100 |
---|---|---|
committer | Julien Dessaux | 2020-12-23 12:01:05 +0100 |
commit | 484734ab36b06a9e6d35348e357312d99522302c (patch) | |
tree | cb8e57bd56316b1a111ab7a3f13444344deeca2f /config/game.go | |
parent | Initial import (diff) | |
download | shell-game-launcher-484734ab36b06a9e6d35348e357312d99522302c.tar.gz shell-game-launcher-484734ab36b06a9e6d35348e357312d99522302c.tar.bz2 shell-game-launcher-484734ab36b06a9e6d35348e357312d99522302c.zip |
Implemented the configuration file format
Diffstat (limited to '')
-rw-r--r-- | config/game.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/game.go b/config/game.go new file mode 100644 index 0000000..0eea917 --- /dev/null +++ b/config/game.go @@ -0,0 +1,11 @@ +package config + +// Game struct containers the configuration for a game +type Game struct { + // ChrootPath is the chroot path for the game + ChrootPath string `yaml:"ChrootPath"` + // FileMode is the file mode to use when copying files + FileMode string `yaml:"FileMode"` + // Commands is the command list + Commands []string `yaml:"Commands"` +} |